I am new to Ninja and NinjaScript, and I have checked in the 6.5 documentation but could not so far find an answer or example for the task I want to do:
My simple MA crossover strategy places drawing tools over the chart when a signal is produced, for example:
protected override void OnBarUpdate() { if (CrossAbove(EMA(Fast), EMA(Slow), 1)) { DrawVerticalLine("My Line" + CurrentBar, 0, Color.Gainsboro, DashStyle.Solid, 5); ............ .......etc
Is there a way that I could make the line "un-clickable" i.e. to prevent it from being accidentally dragged?
Also, the lines are drawn over the bars, and completely cover them, which is not quite acceptable. How to overcome this?
If these tasks can not be achieved by placing drawing objects could anyone point me to example(I have some programming skills) where I can draw directly on chart's background?
Any help is really very much appreciated!
chris
Comment