How do I add DashStyle and Width to a plot in a ninjascript. For example, if I want to add a plot, can it be done like this:
Add(new Plot(Color.FromKnownColor(KnownColor.Red),DashStle .Dot, PlotStyle.Line, Width.2,"Line" ));
I want to add it in the ninjascript itself,so that I need not adjust the dash style and width when I load the indicator on a chart.
Thanks
Commodity_trader
Comment