TradeBars is not defined

Posted By: Zheka

TradeBars is not defined - 06/16/19 17:13

In Zorro 2.12.2 TradeBars is not defined, though it is described in the manual.
Posted By: Spirit

Re: TradeBars is not defined - 06/17/19 09:57

script?
Posted By: Zheka

Re: TradeBars is not defined - 06/17/19 13:00

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...
© 2024 lite-C Forums