My strategy would either go long or go short based on certain conditions:
EnterLong
EnterShort
I found one thing... if I have a position open (profit/stop loss not met), and if the reverse condition is true, it will automatically close my current position and go reverse.
For example, if I long 100 shares at 100 (stop 95, profit 105), and if the short condition is met while the price is at 98, the strategy will close the 100-shares long immediately and enter short.
Is there a way to stop further EnterShort in above case when there is a position open? I don't want any other conditions to close a trade (except the stop & profit target) when there is a position open for this strategy. Please help.
Thanks.

Comment