Vik 3001:
Before (Without Array ) :-
It is working one symbol but I saw the MQL5 Forum Website ( https://www.mql5.com/en/forum/5762/page2 )
After (With Array) :-
It doesn't work multi Trade to multiple symbol
Please solve this code 🙏
Is your bar in another symbol closing in millisecond or second (which is not defined in PERIOD_CURRENT )? or Is your broker having time offsets in each symbol?
Why you set prevTime[i] to zero every time?
It's not clear where the loop is. Where the iteration is happening...
Please share your full source code.
I am sorry Sir/Madam..
It is working because I wronged this "prevTime[i]" code 👇
static datetime prevTime[] ; ArrayResize(prevTime,NumOfSymbols); prevTime[i] = 0;

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
Before (Without Array ) :-
It is working one symbol but I saw the MQL5 Forum Website ( https://www.mql5.com/en/forum/5762/page2 )
After (With Array) :-
It doesn't work multi Trade to multiple symbol
Please solve this code 🙏