I wrote an indicator that draws symbols on the chart once I draw a trendline. I wrote in the OnChartEvent function to run the code every time I drag the trendline. It works finitely many times, and then all of a sudden the symbols on the chart are frozen, no matter how many times I change the trendline. The only way to fix it is to remove the indicator and reattach it to the chart. Does anyone have these problems?
- Drawings showing in the wrong charts.
- ObjectDelete() function not working properly
- How to make an indicator not remove the trendlines I have drawn when I change the time frame of the chart

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register