when I want to do the following the dots are not plotted on the chart:
if (Low[0]<Low[1] && Low[1]<Low[2])
DrawDot("tag1" +CurrentBar, true, 0, High[0] + 2*TickSize, Color.Blue);
The following code works but as soon as I add the line above to the code I have no drawing
if (Low[0] < PriorDayOHLC().PriorLow[0]
&& Close[0] > PriorDayOHLC().PriorLow[0])
DrawDot("tag1" +CurrentBar, true, 0, Low[0] - 2*TickSize, Color.Red);
Thank you in advance for any information about possible reasons.
Best regards
Tony
Comment