Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?
-
Is there a way to configure the EA to wait for 3 consecutive losses and then enter orders?
Thanks in advance!
-
This is what this block is made for:

-
I see, any idea where and how I should connect that block?
-
I just signed up to the subscription if that makes any difference. Hope someone can help me figure this out @fxdreema
-
Well, it depends on how your project is configured. Can you please share it here? I will help you to use it.
-
Hi, I'm new to this so just in a basic setup like this if you could demonstrate it, I would be grateful: https://fxdreema.com/shared/lO7c5qKW
I just need it to:
Not trade/Wait -> for 3 consecutive losses to happen without trading -> then enter a trade one time -> Repeat -
@rafaels919
You mean the EA to know in advance if the trade will end up loosing? And skip? You mean three consecutive trades... ? -
No, EA can't know in advance.
Quote: "Not trade/Wait -> for 3 consecutive losses to happen without trading -> then enter a trade one time -> Repeat"EA needs to wait for a condition: lose 3 trades consecutively under the configuration - then start trading
-
@rafaels919 Maybe you could skip 3 trades after 1, 2 win, (depends)... as it is seen in the strategy tester - as 2 consecutive wins, 3 consecutive losses on average. So statistically, you could estimate, and have the EA skip 3 entry signals after 2 wins.
OR you want to make 2 configurations of EA's in one... for example trend and counter trend, and after 3 losses as counter, clearly it's a trend, so switch. This is what you mean?
In this case, search for "flags" and "toggle on off condition blocks".
-
I just simply need it to do as I described above, nothing more.
"Not trade/Wait -> for 3 consecutive losses to happen -> then enter a trade one time -> Repeat" -
@cpxiom I appreciate the response though. If you know how to do what I quoted, please let me know.
-
@rafaels919 Do you want to calculate for past results on EA start or do you want to wait until 3 losses occured?
Just for the logical part I'd do the following:- condition for a possible entry is met
- get SL and TP or other exit condition
3.a) if SL / TP is your exit, calculate distance from "fictive" entry and see what's happening first. If SL increase a counter
3.b) if other exit conditions was met, check if fictive open price was higher or lower the fictive exit price. If it was a loss, incrase counter - If counter equals 3, enable a trade execution blocks (eg. buy block) that opens an order once an entry condition is met again. After that disable the trade execution again.
Is that's the way you want the EA to behave?
-
@cpxiom @trader.philipps I found this loss counting method in Condition block, but I guess you can't use that in this configuration?
https://fxdreema.com/shared/14k2TZwde

-
@trader-philipps I want to wait until 3 losses occurred.
-
@rafaels919 Do you have an exit condition besides SL / TP?
-
No, trades stop only at SL/TP.
-
@rafaels919 The trade statistic block only works if you traded that trades and the losses occured. I f I understood you right, that's not what you want to do. You want to have fictive trades (not executed ones) and those have to produce 3 losses, right? Do those losses have to occur consecutively - which means 3 in a row and not loss, loss, win, loss ?!?
-
@trader-philipps Yes, that's exactly right - fictive trades and 3 losses consecutively in a row (loss,loss,loss)
-
So is there any way to create this with blocks or no? @fxdreema
-
@rafaels919 one of my students also use such a strategy. His solution - trade with the smallest lot size which is possible e.g. 0.01 lot and add it to the 3rd trade to get the losses back plus the win of the 3rd trade. There is in MM Strategy a MM where you can say that after 2 loses he should multiply the lotsize by factor x = what you need. Hope it helps.