Discussion of article "How to Secure Your Expert Advisor While Trading on the Moscow Exchange" - page 8

 
Andrey Khatimlianskii #:

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.

 
Vasiliy Sokolov #:

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.

 
Not claiming that a consensus system will work in all cases. Just an exchange of views.
 
JRandomTrader #:

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.
 
Andrey Miguzov #:

The levy has been cancelled.

Ahhh - well, at least a spoonful of honey in the barrel ...

Now we'll live.!!!! )

 
mktr8591 #:

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.

[Deleted]  
Best article ever