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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.