Hello all,

If I am running an ema cross-over with stop loss (self.StopMarketOrder) and the stop loss gets hit, is there a way to tell it to wait until the next cross-over occurs instead of opening another order? 

I only know how to re-enter the market after a certian number of days have passed, For example:

# Check that at least 14 days (~2 weeks) have passed since we last hit our limit order if (self.Time - self.stopMarketFillTime).days < 14: return

I would like to be able to re-enter the market on the next ema cross-over. Any ideas?

Thanks for reading.

Author