I'm trying to draw a diamond below the current bar when :
The low of the current bar is lower than the low of the previous bar
and
The price closes in the top half of the current bar.
In the condition builder I designed that in the Set1 :
Low[0]<Low[1]
Close[0]>Median[0]
Do the following:
DrawDiamond("My diamond" + CurrentBar, false, 0, 0, Color.Lime)
No diamond appear on the chart... What is the mystake ?
Thank you for your help !
J.


Comment