@abanob
I dont try the things i upload here , its more fun that way.
https://fxdreema.com/shared/UMnVVyAWc
Here i skipped the stoploss part and used conditions to close the trade , the same thing really exept the broker dont have any clue how and what you are using , and that is a good thing . Because a stoploss is a request to your broker , so if a request is skipped its more likely not to mess up đŸ™‚
As you can see in your buy/sell columns i added the opposite condition for the closing meaning that it dosnt open an order if it already is above / below previos high/low price ( so it dosnt open and closes orders instantly)
See if it works for you đŸ™‚