StrategyQuant X platform codebase – a place to share coded customizations and extensions – among all users.
Programming documentation is available here: Programming for SQ
Quick links to the main documentation articles and examples:
|How to extend StrategyQuant X:||Building block examples:||Databank columns / metrics:|
Currently implemented for MT4.
Some uses for ER:
– A qualifier for a trend following trade; a trend is considered “persistent” only when RE is above a certain value, e.g. 0.3 or 0.4 .
– A filter to screen out choppy stocks/markets, where breakouts are frequently “fakeouts”.
– In an adaptive trading system, helping to determine whether to apply a trend following algorithm or a mean reversion algorithm.
– It is used in the calculation of Kaufman’s Adaptive Moving Average (KAMA).