I've built a strategy using strategy builder and tested successfully with fixed target and stop.
I'd like to add an exit condition as per the below logic. Any idea how do I add to the existing code? Appreciate the help
Close Buy: If 3 POSITIVE MACD histogram bars close. One closes, then the next closes
lower, then the next closes lower.
Close Sell: If 3 NEGATIVE MACD histogram bars close. One closes, then the next closes
higher, then the next closes higher
Comment