Sorry, my 'include' folder redirection (set up via mklink) was incorrect, so I was compiling against the much older version of the variables.h, etc.

IT is recognized now, all fine.

Question:
would it make more sense to set TradeBarClose to the number of the current bar (rather than 0) while the trade is still open? Consistent with how TradePriceClose is set to the current price during the lifetime of the trade...

Last edited by Zheka; 06/17/19 13:06.