The title of my post is not exactly accurate. What I'm trying to do is print a dot every time my code is true. Instead I'm getting the most recent occurrence. Can someone look at my code to show me what I need to add? Thanks.
if (RSChannel(9, 1.5, 3, 14, 10).Mid[0] > VMAZones(9, 2, 18).Upper[0] && RValueCharts(Color.Blue, 3, 5).VClose[0] > 4) { DrawDot("Going Up", true, 0, High[0] + .5, Color.DarkGreen); } if (RSChannel(9, 1.5, 3, 14, 10).Mid[0] < VMAZones(9, 2, 18).Lower[0] && RValueCharts(Color.Blue, 3, 5).VClose[0] < -4) { DrawDot("Going Down", true, 0, Low[0] -.5, Color.DarkRed); }
Comment