Long position when breakout of the high previous daily bar.
Short position when breakout of the low previous daily bar.
To validate the breakout 2 simple moving averages are used.
Moving averages: sma21 and sma89
If sma21>sma89 breakout of the high previous daily bar is valid.
If sma21