Virtual trading + net position synchronisation with the account.
But it will turn out to be about the same as storing the data of each system in a file or database.
Here the task is to do everything that would not store data about the state of the strategy. A simple example: we trade the crossing of two mashes. We can store the entry level and direction at the moment of crossing of two mashes, or we can watch the indicator and give a sign like if(FastSma > SlowSma) return 1 else return -1. It is clear that there are more complicated strategies, but in fact, for example, you can pack a lot of useful states into the same indicators. Of course, they will look strange, but they will reliably do a lot of work.
The challenge here is to do whatever it takes to avoid storing data on the state of the strategy.
If half of our strategy is a tricky non-linear trail, we can't do without storing at least its state. And this state should be picked up after reloading the Expert Advisor, MT5, or the computer.
If half of our strategy is a tricky non-linear trail, we can't do without storing at least its state. And this state should be picked up after reloading the Expert Advisor, MT5, or the computer.
+1!
In a file you can write data that is available only at the moment of a trade or difficult to calculate afterwards.
In addition, the parameters of the cloud of variants or various tools that will be processed by this logic can be written to the file.
And all this is easily readable as a file. And easily corrected on the fly or not.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Virtual trading + net position synchronisation with the account.
But it will turn out to be about the same as storing the data of each system in a file or database.
Here the task is to do everything that would not store data about the state of the strategy. A simple example: we trade the crossing of two mashes. We can store the entry level and direction at the moment of crossing of two mashes, or we can watch the indicator and give a sign like if(FastSma > SlowSma) return 1 else return -1. It is clear that there are more complicated strategies, but in fact, for example, you can pack a lot of useful states into the same indicators. Of course, they will look strange, but they will reliably do a lot of work.
The challenge here is to do whatever it takes to avoid storing data on the state of the strategy.
If half of our strategy is a tricky non-linear trail, we can't do without storing at least its state. And this state should be picked up after reloading the Expert Advisor, MT5, or the computer.
If half of our strategy is a tricky non-linear trail, we can't do without storing at least its state. And this state should be picked up after reloading the Expert Advisor, MT5, or the computer.
The levy has been cancelled.
Ahhh - well, at least a spoonful of honey in the barrel ...
Now we'll live.!!!! )
AAA - well, at least there's a spoonful of honey in the barrel ...
Now we'll live.!!!! )
Yep, and now we'll pay triple for marquees/filling existing liquidity. A spoonful of... you know what.