I am trying to plot a line once using the below codes:
if (true)
{
int barIdx = CurrentBar;
if (CurrentBar == barIdx)
Draw.Line(this, "tag" /*+ CurrentBar*/, false, CurrentBar - barIdx, Low[barIdx] - (10 * TickSize), (CurrentBar - barIdx) + 15, Low[barIdx] - (10* TickSize), EntryQueLineColor, DashStyleHelper.Solid, 2);
}
but for some reason, it is only taking the low price of the bar first time in the past when the condition was true, after that it is not changing the plot line. Can you advise?

Comment