My issue is that when applied the chart only draws the dot for the last instance for each instead of all instances. Once the set of conditions becomes true again the previous dot is erased and a new dot is drawn. How do I leave all dots?
Here's an example of what I have.
if ( SMA(5)[0] > SMA(5)[1] && SMA(5)[1] < SMA(5)[2] && Rising(SMA(5)) && Rising(SMA(20)) && Rising(SMA(40)) ) DrawDot("Trade Alert Buy", true, 0, High[0] + 5, Color.LawnGreen); if ( SMA(5)[0] < SMA(5)[1] && SMA(5)[1] > SMA(5)[2] && Falling(SMA(5)) && Falling(SMA(20)) && Falling(SMA(40)) ) DrawDot("Trade Alert Sell", true, 0, Low[0] - 5, Color.Red);
Comment