Check consecutive losses
-

Please Help Me Check 3 losses in a row then enter next entry and restart after one win, time-out mode

-
What do you exactly mean by 'time-out mode'?
-
the entries are order in expiry of 5 minutes, but I would like to check 3 errors in a row to make the entry, after 1 win it goes back all over again, waits for 3 errors again and so on, could you help me?
-
@l-andorrà But anyway it would be a loss, now I wanted to see how to make 3 loss enter the next signal, won 1 time recheck 3 loss
-
@l-andorrà Hello check 3 consecutive losses without having made entries, after that start making entries, after 1 gain it starts all over again

-
Sorry, but I'm a bit confused now. If I understand it correctly you need the EA to find exactly 3 consecutive losses and when that happens, what do you exactly need? You specify new 'entries' can happen. Do you mean new trades?
-
@l-andorrà That's right, when he finds 3 errors in a row, he starts to make an order at the next signal, after 1 victory he returns to check 3 errors again
-
-
@PhiLykia thank you i will try to do that
-
@PhiLykia Hello friend this way ta checking the 3 errors without making the entries,? and entering the next sign,? and resetting after 1 gain? Thanks! The entries of my Robot are computed in 5 minutes expiry
-
@l-andorrà The entry of my robot is not a loss in pips, but in expiry of minutes 5 minutes the order closes winning or losing
-
@PhiLykia Hello Brother Doesn't Work, did I do something wrong? could you please see for me Thanks!
-
Hi, The looses_count variable is zero when the EA is first run. your condition in the first block is not met.

-
it did not work to open position after 3 consecutive errors
-
You need to count the loses through the 'on trade' tab. Then a second bool variable is supposed to control if that number is exactly 3. Then it can change from false to true and be positioned just on top of your launcher structure.
-
@l-andorrà https://fxdreema.com/shared/ed1SR6ssb
Hello andorra could you give more detail, I didn't understand thanks
-
-
@alok said in Check consecutive losses:
@PhiLykia Hello friend this way ta checking the 3 errors >>>>>without making the entries,?<<<<< and entering the next sign,? and resetting after 1 gain? Thanks! The entries of my Robot are computed in 5 minutes expiry
I enter here only for a suggestion: I understand that you want to "simulate" three consecutive losses. I think it can be done like this for example:
1- when buy opening condition is triggered, get the time and the price
2- after 5 minutes (your expiration time) take the current price, if it is lower than the entry price we increase the loss variable +1
3- if the second simulation will be in profit, then reset the loss variable
4- after three consecutive loss increments you open the trade you want and reset the loss variable -
@ambrogio that's exactly it thanks
-


