You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we test the functionality, it seems that it works correctly on the latest version of Metatrader 4.
I would like to ask where the initialize of object utils("EURUSD") happens?
If it is initialized inside the OnTick function, then the message "One Minute Passed!!!" should be printed on every tick because the object is created on every tick.
The initialization of the object utils should be inside OnInit function.
CUtilities utils("EURUSD");
if(utils.IsNewBar(PERIOD_M1)){
Print("One Minute Passed!!!");
}
The function IsNewBar() don't work properly for mql4 MT4 build 1380 x86 Windows 7.
Every tick it's said is new bar.
The text was updated successfully, but these errors were encountered: