double marketCount = 0;
The value marketCount gets updated after each bar closes.
I want to access the value of the previous bar's marketCount to compare with the value of the current bar.
How do I access that?
I tried marketCount[1] but I get an error " Cannot apply Indexing with [] to an expression"
Thanks!
Comment