Your indicator is broken if you have to refresh. See How to do your lookbacks correctly.

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
Hi coder,... Hope all is well
I have made an indicator that uses buffers to display arrow up and down,.. Having complex code around 1200 lines
The problem is that when the indicator loaded to the chart and new data comes from server, and conditions meets on some candle for the up arrow,.. The arrow is not display by the indicator but just when I change the timeframe and then comes back to previous period or reload the indicator then the arrow appear on that candle,.. no matter how much candles previously finished that candle.
The indicator is for MT4,..
So which function can I use to overcome this issue