OPEN-SOURCE SCRIPT
Gold Compass Lite

OVERVIEW
Gold Compass Lite is a simplified, fully open-source companion to Gold Compass Pro, giving traders a free, at-a-glance read on Gold (XAUUSD) trend, pullback, momentum, and compression conditions via a compact dashboard.
HOW IT WORKS
These four conditions are combined directly into the dashboard's Trend, Signal, Action, Market State, and Momentum fields — there is no filtering, confirmation, or signal-locking layer between the raw conditions and the display. This is intentionally a simpler, faster read than Pro, not a scaled-down version of Pro's multi-engine logic.
WHY THE SOURCE IS OPEN
The logic above is fully visible in the code below. Gold Compass Lite is meant to demonstrate our approach to trend, pullback, momentum, and compression analysis on gold — feel free to review, learn from, or build on it.
LIMITATIONS
Uses historical and current price data only; it cannot predict future prices. Not a signal generator — it is a context dashboard meant to be read alongside your own analysis, not traded mechanically.
Gold Compass Lite is a simplified, fully open-source companion to Gold Compass Pro, giving traders a free, at-a-glance read on Gold (XAUUSD) trend, pullback, momentum, and compression conditions via a compact dashboard.
HOW IT WORKS
- Trend — derived from price position relative to the 50/100/200 EMA structure.
- Pullback — flagged when price sits on the opposite side of the 21 EMA from the prevailing trend.
- Momentum — a stochastic %K/%D crossover.
- Compression — flagged when recent closing-price standard deviation falls below a fraction of current ATR.
These four conditions are combined directly into the dashboard's Trend, Signal, Action, Market State, and Momentum fields — there is no filtering, confirmation, or signal-locking layer between the raw conditions and the display. This is intentionally a simpler, faster read than Pro, not a scaled-down version of Pro's multi-engine logic.
WHY THE SOURCE IS OPEN
The logic above is fully visible in the code below. Gold Compass Lite is meant to demonstrate our approach to trend, pullback, momentum, and compression analysis on gold — feel free to review, learn from, or build on it.
LIMITATIONS
Uses historical and current price data only; it cannot predict future prices. Not a signal generator — it is a context dashboard meant to be read alongside your own analysis, not traded mechanically.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Creator of Gold Compass | XAUUSD market analysis & trading tools
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Creator of Gold Compass | XAUUSD market analysis & trading tools
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.