Sorry to bump this old thread again, but I'm having trouble with a syntax issue regarding a secondary series:
I'm using the standard BidAskHistVolume indicator in a Multi-Timeframe & Multi-Instrument strategy.
The two variables from the indicator I'm using are: buy / sell
buy = buys;
sell = sells;
buys = 0;
sells = 0;
In a Single-Timeframe strategy, the following snippet works fine:
if (buy > sell && my conditions here) etc
But in a Multi-Timeframe Strategy, I'm not sure about the correct syntax if I want to use the buys/sells from the secondary series. I've tried
if(buy Closes[1] > sell Closes[1])
but it won't compile.
I would really appreciate it if you could show me the correct syntax of the above snippet.
Thanks a lot.

Comment