@fxpim I have done that, but it seems not to be functioning as expected. I want a situation whereby the Loss on trade will be reduced. Here is the project: https://fxdreema.com/shared/W50im4Qae
PLEASE ANYONE TO HELP ME CODE AN EA TO FUNCTION LIKE I EXPLAINED.