Discussing the article: "Post-Factum trading analysis: Selecting trailing stops and new stop levels in the strategy tester"

 

Check out the new article: Post-Factum trading analysis: Selecting trailing stops and new stop levels in the strategy tester.

We continue the topic of analyzing completed deals in the strategy tester to improve the quality of trading. Let's see how using different trailing stops can change our existing trading results.

In the previous article, we created an EA that trades in the client terminal's strategy tester based on the results of trading on a real account. We have added the ability to set new StopLoss and TakeProfit sizes to test our trading in the tester with different stop order sizes. The result was unexpected: instead of a loss, we received a profit commensurate with the loss incurred in real trading. This means that if we had used the StopLoss and TakeProfit levels in our trading account that allowed us to make a profit in the tester, then trading on a real account would also be profitable. And this is just a simple change in the stop sizes. I wonder what would happen if we added a trailing StopLoss? How would this change things?

Today we will connect several different trailing stops to the EA and test our trading in the strategy tester. Let's see what result will be obtained.


Author: Artyom Trishkin

 
Thank you very much for the article. It reads in one breath and everything is clear at once.
I will use the code fragments and f -- ii in my bidding robots. Simple trawl also.
One in some robots another trawl in others.
 
TOP article!
 

Трал по VIDYA:

Profit - 283.3 dollars.

Error: Loss - 283.3 dollars.

 
den2008224 #:

Error: Loss- $283.3.

In the article, the negative value of the profit is written.

However, the space after the minus was accidentally added.