Also, when I copy the code from the NT8 editor, it inserts large spaces to the left that I then have to delete so that I align the code properly. Is there a way of copying multiple lines of code at once from the NT8 to this page without the spaces?
Thank you
if (State == State.SetDefaults)
{
IsOverlay = true;
DrawOnPricePanel = true;
.....
}
else if (State == State.DataLoaded)
{
DMI1 = DMI(Closes[0], Convert.ToInt32(DmiPeriod));
DMI1.Plots[0].Brush = Brushes.Lime;
AddChartIndicator(DMI1);
DMI1.Panel = 1;
}
else if (State == State.Realtime)
{
Draw.VerticalLine(this, "vline", 0, Brushes.Magenta, DashStyleHelper.Solid, 1, true);
Draw.VerticalLine(this, "vlineDMI", 0, Brushes.Magenta, DashStyleHelper.Solid, 1, false); // This line doesn't show on the DMI panel
}

Comment