It works, but in a funny way. I use two instances of the strategy, having different parameters for long & different for short. I will use an example, when long, it does not close position on opposite if in loss, however, it does close position when in profit and conditions for short are met
One last thing, please, can you include a feature in the strategy dialogue box, where, strategy shall not open any new positions any given day if profit for that day is equal or exceeds x percentage of the equity (x any physical number to be defined by user in strategy's dialogue box)?