//for( int i =0; i<=rates_total; i++) for ( int i = 0 ; i<=rates_total- 2 ; i++)
Your program has an "array out of range" error, because maximum size of buffer is rates_total - 1.
Don't recalculate all bars each tick.
How to do your lookbacks correctly.
How to do your lookbacks correctly.
Naguisa Unada:
Thank you so much.
Your program has an "array out of range" error, because maximum size of buffer is rates_total - 1.
Thank you so much.
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
Hello friends,
I wrote a simple mt5 indicator to display arrow/dot, when we get a bullish candle after a bearish/series of bearish candle and vice versa.
It works fine.But the problem is it is not updating in real time.I need to switch time frames or restart mt5 in order to get it updated every time.
Please help me.