how i do that in fxdreema in equity ?
-
hello
my balance 100 $
i want if my profits above 100 $ close all orders
you tell me use condition account equity - balance
you are right but if i use strategy hedge my equity all time will under 0 $
So , its cant do what i say !!
i want if add to my last amount equity ( the first work will be Deposit ) 100 $ then close all orders ,
Ok if all orders close this mean become my equity 200 $
Work again if my currently equity add on it 100 $ close all orders
this mean become 300 And again >>>>>>
how i can do that ?
Note : the 100 Dollar i say it not must happen direct ( i mean if add 10 $ and next add 30 $ and next add 70 $ then happen 100 $ i want then close all ordersthank you
-
@moon
Use a variable to store the previous balance:
https://fxdreema.com/shared/LmbanX11b -
@roar
sorry i add new information look it
Note : the 100 Dollar i say it not must happen direct ( i mean if add 10 $ and next add 30 $ and next add 70 $ then happen 100 $ i want then close all orders
how i can do that with above
thank you -
@moon
We update the PreviousBalance variable at the point when there is no trades.
When there are some trades, compare the current equity to the previous balance. If it is 100 units bigger, close trades -
@roar thanks this mean you projects work with my ask?
thanks -
To make things simple, don't make hedging strategies. As I said so many times, these strategies only make things complicated and it seems that this topic is a proof of that. The whole idea of trading is to make one number bigger - the money you have. There is nothing magical in using opposite trade instead of SL. So it's better to just close the trade and continue with the real strategy.