if (BarsInProgress == 4)
{
if (Highs[4][1] > Highs[4][0]) ...
But this seems to be comparing the two bars before the currently-drawing bar. If I had Calculate on Bar Close = true, would that affect which bar the Highs[4][0] is referencing? Maybe I need to set that to false?
Or, another idea, maybe create a fifth bar series as a 1-tick series and then:
if (BarsInProgress == 5)
{
if (Highs[4][1] > Highs[4][0]) ...
I guess my problem is that I want this Highs[4][0] value to be updated on each tick, but only for the Bars index 4. Hmmm... but would Calculate on Bar Close = false do the same thing? Would it make the indicator extremely slow though because I have 5 bars series on it?
Thanks!
Bryan
Comment