% of open trades in profit
-
Hello friends, I would like to create a tool to help me trade in manual which would allow me to know the % of open trades which are in profit and close if 75% of open trades are in profit
-
my actual project but it doent work
https://fxdreema.com/shared/NFYozZddc -
set variable to 0-In loop check profit, if > 0 add 1 to the variable, do this in another tree to add running trades, divide the winning trades by the running trades and multiply the result by 100, if the result is >75 close all trades: https://fxdreema.com/shared/4G6s5qpKd
-
Thanks for you help but it dont work on my side
i try a lot of things and not working, my last modif: https://fxdreema.com/shared/PblXTGF7d -
I haven't tested this, but all is from tried and tested techniques, reset variables to 0 above the loop, and put the variables into a comment to check the result. When I get a minute I will check
-
This was creating a 0 divide error, works now: https://fxdreema.com/shared/PI2ITn36b
-
Great, it work thanks a lot
-
You are welcome