Hi dear coders,
I created a very simple indicator that displays two moving averages.
As i like to watch the MAs on multiple timeframes and change the timeframes a lot, i thought i would create some buttons and see the higher tf MAs on the current chart. The logic is simple, i created the buttons and added the logic to the code, but i was surprised that the MAs only change on the current candle, the indicator does not change the past values on the chart.
I know it is a bit hard to understand to explain, but I attach a screenshot so you understand my problem.
I was wondering if there would be some kind coder to fix this issue for me.
Thank you very much
Re: Need help on a very simple indicator
2I changed to M15, let it run for a while and changed back to M1 LOL ))