Hello!
I am in need of help for the following. I have two rules that has to be met before a trade. Lets say first a crossover of EMA and then an engulfing candle. The only problem is that I can only code this to happen at the exact same time for an order to be triggered. In the exampel above I want that my first rule (EMA crossover) to be met and then there should be a time space (lets say within 10 candles) where next trigger can be formed (engulfing candle in this example).
How do I code a triggered rule to be valid for a x time forward?