EA works only sometimes - page 2

 
Mary Clark:
Does he need to explicitly call RefreshRates() in start ? Aren't they already refreshed by the time start is called ? Maybe with the multiple charts this is causing race conditions.
I check how BID and ASK should be used and on this website (https://docs.mql4.com/predefined/bid) it says U MUST USE RefreshRates() before asking for BID and ASK prices so i used :D
Bid - Predefined Variables - MQL4 Reference
Bid - Predefined Variables - MQL4 Reference
  • docs.mql4.com
Bid - Predefined Variables - MQL4 Reference
Reason: