This will enter a trade every user defined number of minutes in a direction based on user definable EMA values. It will also enter the opposite direction trade before the next main trade. It will enter this opposite trade either at 1 minute before the next main trade or if there is an EMA crossover, whichever occurs first
(the EMA timeframes for both the main and opposite trade are seperately user definable)