I have developed an indicator that has two Plots with two colors (red and blue).
So, I have used "ContainsValue" to check the state of my indicator and I can know wich of both colors are active.
But this information is delayed one bar. For example, if the actual bar has my indicator with red color and I check ContainsValue, I get "false", but in the next bar, this value is "true".
Why?
And how can I to check the value of my indicator when I use two plots?
Thanks in advance.
Comment