OPEN-SOURCE SCRIPT
U Table • LITE

A compact, educational version of my workflow that combines trend, momentum, trend strength, and a clean trigger:
Trend: EMA Fast vs EMA Slow (auto-lengths by chart TF)
Momentum: RSI > 50 for longs / < 50 for shorts
Strength: ADX above a user-set threshold (fallback implementation; can be replaced by ta.adx() when available)
Trigger: price crosses the Bollinger basis (center line)
Signals
LONG: crossover(close, BB basis) while EMA Fast > EMA Slow, RSI > 50, ADX > threshold
SHORT: crossunder(close, BB basis) while EMA Fast < EMA Slow, RSI < 50, ADX > threshold
Visuals
EMA Fast / EMA Slow / BB basis
Markers “L” / “S” on triggers
Latest confirmed pivot high/low (broken line style)
Small diagnostics table (ADX, EMA relation, RSI, last pivots) on the last bar
Inputs
Pivot length: pivot confirmation window (default 5)
ADX threshold: minimum trend strength to allow signals (default 20)
Notes
Signals are intended to be evaluated on bar close. Intrabar values may change until the bar closes.
Pivot lines appear after confirmation; they do not repaint once confirmed.
No external data or security() calls are used.
This LITE build focuses on clarity and speed (few calculations, overlay-friendly). It can be used as a stand-alone study or as a scaffold for your own research and risk management.
Trend: EMA Fast vs EMA Slow (auto-lengths by chart TF)
Momentum: RSI > 50 for longs / < 50 for shorts
Strength: ADX above a user-set threshold (fallback implementation; can be replaced by ta.adx() when available)
Trigger: price crosses the Bollinger basis (center line)
Signals
LONG: crossover(close, BB basis) while EMA Fast > EMA Slow, RSI > 50, ADX > threshold
SHORT: crossunder(close, BB basis) while EMA Fast < EMA Slow, RSI < 50, ADX > threshold
Visuals
EMA Fast / EMA Slow / BB basis
Markers “L” / “S” on triggers
Latest confirmed pivot high/low (broken line style)
Small diagnostics table (ADX, EMA relation, RSI, last pivots) on the last bar
Inputs
Pivot length: pivot confirmation window (default 5)
ADX threshold: minimum trend strength to allow signals (default 20)
Notes
Signals are intended to be evaluated on bar close. Intrabar values may change until the bar closes.
Pivot lines appear after confirmation; they do not repaint once confirmed.
No external data or security() calls are used.
This LITE build focuses on clarity and speed (few calculations, overlay-friendly). It can be used as a stand-alone study or as a scaffold for your own research and risk management.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.