Questions from Beginners MQL5 MT5 MetaTrader 5 - page 641
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
The result is:
before 0.0
after 1.0
before 0.0
after 1.0
to 0.0
It turns into 0 with every tick, although it sets 0 only when calling OnInit, which, as you know, is called once at the start of the EA.
What is the problem, tell me!
Hi all! Can I get some help here? I'm having global variable values reset for some reason. I've written a simple code that shows everything.
The result is:
before 0.0
after 1.0
before 0.0
after 1.0
to 0.0
It turns into 0 with every tick, although it sets 0 only when calling OnInit, which, as you know, is called once at the start of the EA.
What is the problem, tell me!
I checked it on the latest build:
Expert Advisor code:
Result:
No errors detected, code works correctly.
Thanks! Restarting the computer helped! It's a shame, I've been sitting here all morning))
If(mql5 cloud network is switched off and testing takes more than 2-5 hours (for example)) then switch on mql5 cloud network
Hello, could you tell me if it is possible to implement a formula in the code for a tester?
If(mql5 cloud network is disabled and testing takes more than 2-5 hours (for example)) then enable mql5 cloud network
It seems that MQL5 does not yet have functions to control connecting/disconnecting the MQL5 Cloud Network. If you start testing immediately from the command line, you can connect the network.
Yes, I've seen that, I just want to turn on the cloud after some time, not to spend money to pay, but when I'm sure that I've made all the arrangements in the EA and haven't stopped testing it
Then only WinAPI will help.
wrote an owl, but for some reason the trailing stop is not working... What could be the reason?