John_70:
I have coded an indicator which draws arrows and lines and it works. The problem is that when I scroll the chart to the outermost left part of the chart the arrows get distorted and appear in incorrect places. When I keep scrolling in that direction the chart timeline extends and older dates as well as older bars appear. - older history is created? I wrote a line which prints me the numer of counted bars (Indicatorcounted) in the terminal. When the above problem occurs the numer of counted bars goes down to zero which forces the indicator to recalculate. Thanks for help |
|
"Problem" solved. it works ok when not downloading history. I reduced max numer of bars on the chart.
I shouldn't have called that a problem.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
I have coded an indicator which draws arrows and lines and it works. The problem is that when I scroll the chart to the outermost left part of the chart the arrows get distorted and appear in incorrect places.
When I keep scrolling in that direction the chart timeline extends and older dates as well as older bars appear. - older history is created?
I wrote a line which prints me the numer of counted bars (Indicatorcounted) in the terminal. When the above problem occurs the numer of counted bars goes down to zero which forces the indicator to
recalculate.
Thanks for help