I am really not of the mathematical sophistication to steer this but I know that this article is the right place to start:
https://www.quantstart.com/articles/Basics-of-Statistical-Mean-Reversion-Testing
https://www.quantst.com/archives/146
https://www.forexfactory.com/showthread.php?t=363198
https://www.forexfactory.com/showthread.php?t=262827
https://www.forexfactory.com/showthread.php?t=260422
The implementation of this should not use indicator blocks at all. Instead, strategies should trade based on when the spread price of multiple combined assets moves a certain deviation away from the mean.
SQ would need entirely new calculations in order to determine:
This is purely statistical arbitrage and would definitely be great to have, especially for those using SQX for stocks, however there are cointegrated FX pairs as well.
For an overview of what cointegration pairs trading is:
https://www.youtube.com/watch?v=g-qvFjvyqcs
Subject changed from Request: Mean reversion functionality to Request: Mean reversion functionality - Pair trading