Currently when a ray(s) are drawn from within custom indicator, they are displayed on chart, in real time. The rays stay on chart unit I close NT and restart, or until I reapply the same indicator after changing a user accessible parameter. The indicator itself is not coded to remove any rays.
Thanks,
note: I use standard lib call to draw ray:
DrawRay("name"+(CurrentBar-1), false, 1, High[0], 0, High[0], Color.Green, DashStyle.Dash, 1);
Comment