The manual says you can use the Draw.HorizontalLine(this, "stoploss", orderSLprice, true, "templatename") construct, but I don't want to use a template.
And in all other overloads there's no 'isGlobal' parameter.
Can I set the isGlobal afterward?
I don't see such a property, so this doesn't work:
NinjaTrader.NinjaScript.DrawingTools.HorizontalLin e line = Draw.HorizontalLine(this, "stoploss", orderSLprice, Brushes.Red, DashStyleHelper.Solid, 3, true);
line.IsGlobal = true;

Comment