stop-loss with double the current position
-
can anyone help me? I need to make a loop with stop-loss at twice the current position but do not want to use "pending order". Even managed to do but when triggers the "break even" it loses the loop and unset. I want a loop reversing position when reaching the "stop-loss". For example if I am purchased with 1 lot, to achieve the "stop-loss" sells 2 lots, it closes the buy position and opens a position to "sell" at the same time.
PS: Sorry my English, I am Brazilian and I am using google translator
-
Something like this? https://fxdreema.com/shared/hlB3XAaMb
-
Thank you for your attention but I got a configuration that is working perfectly, even got an alternative way to use "breakeven". Now I am facing difficulty in closing the position when it reaches a certain value on the day (gain of the day). Before was running normal, now he only considers the current position.
-
I'm using the block "check profit (period of time)" but is not working.
https://fxdreema.com/builder/ -
Check profit (period of time) check the profit made from closed positions. To check the profit from currently running position, try Check profit (unrealized)
-
But as I do to get the sum of the closed and open positions? I need you to shut down the EA when the total balance of the day (closed and open positions) reaches a certain amount.
I realized that this issue has been discussed several times in the forum, but I've tried everything and could not. Lack just that to complete the EA.
-
I will add option in this block to also work with the current trades
-
No need to do that. The block already counts the profit of the current trades when Time2 is the current time (or empty) - https://fxdreema.com/shared/AGOKgjvad
-
__I will add option in this block to also work with the current trades[/quote:2upew5tq]
thank you!