when a condition is true then we want to draw a ray. This works of course. Name of Ray is eg "RayX" + CurrentBar.
We can not give names Ray1, Ray2... because they are also plotted historically and we dont know if 5 rays, 15 rays, 50 rays
so when condition is true then plot the ray and add the value to a list.
When price comes back to the ray (maybe this day, in 3 days, in 5 days or whenever) then remove the ray (and remove value in list)
Thats it.
Thank you!
Tony
Comment