I have a custom indicator that draws rays between the closing prices of bars. After awhile too many rays get drawn and bog down the program. I only need to see the rays that are within a certain distance from the current closing price of the current bar. Is there a way to tell the value of a ray that was made many bars ago at the current bar and remove it if it is outside of a certain range?
Thanks for any help
Comment