I have been learning C# and am now learning NinjaScript.
I created a Parabolic SAR Strategy with an audio alert, and the audio alert does work, but the Strategy will not draw the line that I wanted it to draw. So I created a second Parabolic SAR Strategy, but that doesn't draw a line either.
I added the following code as shown in the screenshots.
Draw.Line(this, "tag1", false, 10, 1000, 0, 1001, Brushes.Coral, DashStyleHelper.Dot, 2);
I also tried to add that line to an indicator I am playing around with, but it also does not draw a line.
One more thing I cannot figure out, is how to have it rearm the audio alert after x seconds or minutes. The audio alert goes off about a hundred times a minute as it is now.
What code would I add for the rearm period?
Screenshots attached.
Thanks,
Comment