[@btc_charlie] Trader XO Macro Trend Scanner

Published on MillionChart by LimitTrader.

This script combines two tools on one chart: a pair of exponential moving averages (EMAs) for trend direction and a Stochastic RSI for momentum. The default EMA settings follow the ones used by the swing trader Trader XO.

EMAs:
- When the faster EMA crosses above or sits over the slower one, the market is leaning bullish, which favours long setups over shorts. The reverse applies when it falls below.
- Candles are coloured by the cross state by default, so the bias is visible at a glance.
- You can show one EMA or both, and change the lengths freely.
- It is a guide to the trend, not a complete entry or exit system.

Stochastic RSI:
- Readings under 20 count as oversold and over 80 as overbought, which in a strong trend can also mean strong momentum.
- The script highlights crosses of the fast line (K) and its three-period average (D), which can hint that a trend is losing strength. It does not draw divergences itself.

How to use:
- Let the EMAs set the directional bias and the Stochastic RSI show when momentum fades, then watch for a possible shift.
- It was designed for higher timeframes in crypto, where trends tend to persist, but works on lower ones too.

Features:
- Alerts on EMA crosses.
- Alerts on Stochastic RSI crosses of the upper, lower and mid levels, fast against slow.
- Customisable colours and inputs.

No indicator is perfect; combine it with your own reading of price action.