My strategy is drawing a couple of lines on the spot and deletes them, if no more used.
These lines are automatically placed behind any already existing indicators or bars (i.e. behind a Donchian Channel) and therefore can't be seen.
I'm searching a kind z-order which I'd like to add to the strategy draw.line method:
Draw.Line(NinjaScriptBase owner, string tag, bool isAutoScale, int startBarsAgo, double startY, int endBarsAgo, double endY, Brush brush, DashStyleHelper dashStyle, int width)
http://ninjatrader.com/support/helpG...rt_objects.htm gives me a hint: Drawing Objects originating from a NinjaScript indicator or strategy will all generally share the same z-order as the script. In this case, the z-order of objects must be changed within the code of the indicator or strategy.
Unfortunately, I didn't find the code how to do it.
Comment