![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Perhaps someone has heard, there was a blackout in St. Petersburg in August. For two hours there was nothing, no electricity or water, no radio stations, no internet, no TV, no landlines,
Mobile phone service was theoretically available, they had emergency power, but due to slight panic, everyone called everyone. An UPS in such a situation was useless, so was a phone in fact. The only thing that came to mind at the time was to keep
another terminal on the vps, and I do not know how and whether it is possible to do, separate software on the vps should monitor the presence of the Internet on the main computer, and if the "subscriber does not respond" to run the script to close all posts.
But then the light was given ))
And in general by the law of meanness you can certainly lose a lot
Yeah, especially if you open up to the whole depot ))))
What the stops are for.
Even if there are distant stops in the TS, a separate EA on the VPS can keep a duplicate close safety stop order and push it back as the price approaches if the main system confirms it is working.
There is nothing more reliable than stops.
And of course don't open with the whole depo.
What the stops are for.
Even if the TS has distant stops, a separate advisor on the VPS can keep a duplicate close safety stop order and push it back as the price approaches, if the main system confirms it is working.
Emergency stops are another cost issue (loss) . In a "subscriber not responding" situation it seems more logical to me to start closing if the cp cannot be fully delegated to the advisor on the vps
And certainly not to open for the whole depot.
In general, the law of meanness can certainly mean a lot to lose
You need to put a stop :))) and then everything will be OK... The only thing trawl will not work, but on this you will not lose much
A programmer should strive to solve problems in a practical way, including with existing tools, rather than creating new ones through contrivances.
Make a rule of thumb.
Why, for instance, do you need all those OOP stuff when there are simple arrays? :))))))
Well, then there would never have been an MQL5 according to this rule. For example, why go to all this trouble with OOP when there are simple arrays?! :))))))
gip:
If you try to implement everything, it will all start to fall apart. There has to be a middle ground.
You're a bit inadequate.
what about the necessary minimum functions? e.g. IsTerminalReady
There must be something like this. Or don't process the ticks until the terminal is ready.
yes just curious. i wonder why something that seems obvious is not done?
Because it's only obvious to you, and it's not obvious to people with more experience or other knowledge.