Here is the code snippet where I perform the test on the same instrument but different time frame. It works ok.
SMA(BarsArray[InstrumentPosition["1-Minute"]], 200)[0] > High[0] + TickSize
I then try to add the same test for a different instrument.
SMA(BarsArray[InstrumentPosition["ES"]], 200)[0] > Highs[2][0] + 12.5
I also tried the following but it didn't work either:
SMA(BarsArray[2], 200)[0] > Highs[2][0] + 1 * 12.5
Everything compiles and runs but I get no matches.
I had to hard code the ES ticksize because I couldn't see anyway to retrieve it.
Comment