The Cointegration strategy is to short the outperforming instrument and go long on the underperforming instrument
whenever the temporary correlation weakens which means one instrument going up and another going down.
Here, instead of two different instruments two timeframes of the same instrument are used, lower and higher.
This indicator is designed for use with Profit Trailer's SPREAD strategies.
The user can select either EMA or SMA averages and input their own buy value settings.
It incorporates trailing values, either manual trailing values or automatically calculated values based on volatility.