Clos All Trades when Equity > Balance
-
I want to close all trades when global equity or profit is 5% higher than the current balance.
I tried as in the picture but it doesn't work.If someone can help me I would be very thankful.

-
@citiadvisor you want this:
Equity > Balance * 1.05 -
@roar It works, thank you very much.
-
@roar how can i optmisation that imput... what kind of data in the paramet say free but dont work...
-
@antoniorenar make a constant named factor and then just write that name in the adjust field:
*factorTo optimize from -5% to +20%, for example, use values:
start 0.95
step 0.05
stop 1.20 -
Thank you so much