Hello. I am drawing a horizontal line when set 1 is met. what I want is to erase a line when the price hits it but keeping the others until the price touches them. can you help me? thanks!
// Set 1 if (NBarsUp1[0] == 1) { Draw.HorizontalLine(this, @"MyCustomStrategy2 Horizontal Line_1 " + Convert.ToString(CurrentBars[0]), false, Low[3], Brushes.CornflowerBlue, DashStyleHelper.Solid, 2); }
Comment