Hello
How can I keep on the chart trendlines that are drawn with an indicator.
I lost them whenever I change the scale and the indicator recalculated.
Martin
Keeping Trendline drawn by indicator
- TJ
- Posts: 7742
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Keeping Trendline drawn by indicator
Hello
How can I keep on the chart trendlines that are drawn with an indicator.
I lost them whenever I change the scale and the indicator recalculated.
Martin
The TL should stay on the chart even when you change the scale or recalculate.
Unless...
your code logic is transient.
ie. after your recalc, the condition no longer applies.
Sorry, can't tell you more without specific code.
Re: Keeping Trendline drawn by indicator
OK, I will revisit my code.Hello
How can I keep on the chart trendlines that are drawn with an indicator.
I lost them whenever I change the scale and the indicator recalculated.
Martin
The TL should stay on the chart even when you change the scale or recalculate.
Unless...
your code logic is transient.
ie. after your recalc, the condition no longer applies.
Sorry, can't tell you more without specific code.
Martin