@l-andorrà I want the ea to count number of consecutive losses from the time it was attached to the chart and when it gets 3 or more losses according to input info, it will close all the running and pending orders and reset the loss count back to zero.
Posts made by pressium
-
RE: Resetting Consecutive Losses Blockposted in General Discussions
-
RE: Resetting Consecutive Losses Blockposted in General Discussions
@l-andorrà So far I did this: https://fxdreema.com/shared/hLpkXEI8b
please check it and write me whether i did it right or wrong.
Again the goal is to count consecutive losses (for example: 3 losses), and then close open trades, delete pending orders and reset the counter back to zero.
-
RE: Resetting Consecutive Losses Blockposted in General Discussions
@kvng-kr I don't want to add more variables to it. I simply want the EA to reset back to zero after 3 or more consecutive losses, regardless of whether those losses come from historical trades or current running trades. That's all.
-
RE: Resetting Consecutive Losses Blockposted in General Discussions
@l-andorrà In that case, do I need to use the "Check Consecutive Lossess" block on Tick tab?
-
Resetting Consecutive Losses Blockposted in General Discussions
I am trying to build an EA that monitors consecutive losses (e.g., 3 losses in a row) and automatically closes all open and pending orders when this condition is met. However, I am encountering an issue: when I attach the EA to a chart, it immediately closes all newly placed orders, as it mistakenly considers prior losses in the order history.
I want the EA to start counting consecutive losses from the moment it is attached to the chart, without taking into account previous trades. Once the condition is met and EA executes the closing procedure, the loss count should be reset to zero again.
Here is the ea link: https://fxdreema.com/shared/dNfp0dRle
-
RE: I am new to this platform and trying to build an EAposted in General Discussions
By the way, if you want you can skip it. You've already helped me a lot. Thank you so much for taking time to help me during your busy schedule.
-
RE: I am new to this platform and trying to build an EAposted in General Discussions
Changed the settings but still it is not working properly. Will you please go through it? https://fxdreema.com/shared/MDzjcqp8b
-
RE: I am new to this platform and trying to build an EAposted in General Discussions
I am trying to get this "opening a new order on the same open price for a max number of times when it is closed by stoploss".
-
RE: I am new to this platform and trying to build an EAposted in General Discussions
@l-andorrà EA is not working.
Will you please check it? https://fxdreema.com/shared/lCWu0PRQc -
RE: I am new to this platform and trying to build an EAposted in General Discussions
@Ultra525 What is that?
-
RE: I am new to this platform and trying to build an EAposted in General Discussions
Am I walking in the right direction?
https://fxdreema.com/shared/OlT6isZ5c -
RE: I am new to this platform and trying to build an EAposted in General Discussions
Do I need to add formula block?
-
RE: I am new to this platform and trying to build an EAposted in General Discussions
yes, opening a new order on the same open price a max number of times when it is closed by stoploss.
-
RE: I am new to this platform and trying to build an EAposted in General Discussions
@l-andorrà It is working... By the way, is there any way to limit/set the number of times each order will reopen?
-
RE: I am new to this platform and trying to build an EAposted in General Discussions
The EA will monitor all the open & pending orders on the current chart. And only reopens orders which are closed by stoploss. The newly open orders will have the same open price, lot size, stoploss and takeprofit just like the closed ones.
Will this EA be able to do that? https://fxdreema.com/shared/eQPb3Nnlc
