I would like my Stop loss reverse my position. Is it possible to do? When SL Long go to Short and when SL Short go to Long. I was looking for a solution, but unfortunately I did not find it. Thank You!
strategy.entry('Long', strategy.long, when=long, comment='Long',alert_message = message_long_entry)
strategy.exit( "SL","Long", loss=8700, comment = "SL Long",alert_message = message_long_exit)
strategy.entry('Short', strategy.short, when=short, comment='Short',alert_message = message_short_entry)
strategy.exit( "SL","Short", loss=14700, comment = "SL Short",alert_message = message_short_exit)