Open Long order at (Low(Main chart)[Shift] - (PriceEntryMult * SmallestRange(Main chart, Period)[Shift])) Limit; Open Short order at (High(Main chart)[Shift] + (PriceEntryMult * BiggestRange(Main chart, Period)[Shift])) Limit;
Needless to say that this strategy has a symmetry of 0% in the backtests, because BiggestRange is not the opposite of SmallestRange and doesn´t tell us anything about the market direction. Correctly it should be that SmallestRange is the opposite of SmallestRange and BiggestRange the opposite of BiggestRange.