SPEARMAN RANK TREND OSCILLATOR Trading Guide
The Spearman Rank Trend Oscillator measures how cleanly recent prices are ordered from oldest to newest. Values near +100 indicate a smooth rising sequence, values near -100 indicate a smooth falling sequence, and values near zero indicate choppy, poorly ranked movement.
What does the indicator show?
- Rank Trend Line: Fast Spearman rank correlation scaled from -100 to 100.
- Signal EMA: Smoothed rank trend used to judge acceleration or fading momentum.
- Rank Bias: Slower rank trend that defines broader directional context.
- Long, Short, and Weakening Markers: Events for trend starts, pullback rejoins, and trend weakening.
Key Settings
- Fast Rank Length: Main window for short-term rank trend detection.
- Bias Rank Length: Slower window used as a directional filter.
- Signal EMA Length: Smooths the fast rank trend.
- Trend Threshold: Level required before a trend start is considered strong enough.
- Pullback Rejoin Level: Level used to detect pullbacks that rejoin the existing bias.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, this oscillator is useful for trend-start entries and pullback continuation filters.
1. Signal Events
longSignal- Main bullish event from a rank trend start or pullback rejoin.shortSignal- Main bearish event from a rank trend start or pullback rejoin.bullTrendStartandbearTrendStart- Fresh ranked trend starts.bullPullbackandbearPullback- Pullback rejoin events in the direction of bias.bullWeakeningandbearWeakening- Warnings that the current trend is losing rank quality.
Strategy Example: Enter Long when bullPullback is true and bias > 0, which targets continuation after a controlled retracement.
2. Rank Values
rank- Fast Spearman rank trend from -100 to 100.bias- Slower rank trend used as trend direction.signal- EMA of the fast rank trend.histogram- Difference between rank and signal.
Strategy Example: Avoid trend entries when rank is between -20 and 20, because that usually indicates chop rather than clean directional order.