Indicator · Pine Script v5 · On the chart

US Momentum Swing Screener

by kevinesk

US Momentum Swing Screener is a daily chart overlay indicator for US equities and ETFs.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code496
Settings40inputs
LicenceNone stated
Last update4 months ago12 Jun 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

US Momentum Swing Screener plots a composite score based on an EMA ribbon (9/21/50/200), RSI and StochRSI momentum, MACD confluence, volume surge detection, ADX trend strength, Bollinger Band positioning, and ATR-based stop-loss and take-profit levels. The script calculates tiered signals and draws hidden plots and labels for setup quality, with optional VCP COIL detection. Main settings adjust EMA lengths, oscillator thresholds, volume multipliers, and risk parameters. It draws on the price chart with SL/TP lines.

Details

Published by

kevinesk on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

Oscillators & momentum, Moving averages, Volatility & bands, Support & resistance

Markets

Stocks

Timeframes

H4 and above, M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Fast EMAint9ema9_len
Mid EMAint21ema21_len
Slow EMAint50ema50_len
Anchor EMAint200ema200_len
RSI Periodint14rsi_len
RSI Bullish Floorint50rsi_low
RSI Ceiling OBint75rsi_high
Stoch K Smoothint3stoch_k_len
Stoch D Smoothint3stoch_d_len
StochRSI Lengthint14stoch_rsi_l
MACD Fastint12macd_fast
MACD Slowint26macd_slow
Show all 40 settings
SettingTypeDefaultVariable
Signalint9macd_sig
Volume MA Periodint20vol_ma_len
Volume Surge Multiplierfloat1.5vol_surge_x
ADX Lengthint14adx_len
ADX Min Strengthint20adx_threshold
BB Periodint20bb_len
BB StdDevfloat2.0bb_mult
ATR Periodint14atr_len
Stop-Loss ATR xfloat1.5atr_sl_mult
Take-Profit ATR xfloat2.5atr_tp_mult
Stop ModestringMomentum (EMA 20)stop_mode
Trail Buffer Below EMA (%)float1.0trail_buffer
Volume Dry-Up Lookback (days)int20coil_vol_bars
BB Tightness Percentile (0-25)int10coil_bb_pct
Require MCDX Bullish for COILbooltruecoil_mcdx_gate
Detect Hammer Candles (adds 1 score point)booltrueuse_hammer
Min Lower Wick / Body Ratiofloat2.0hammer_wick_mult
Max Upper Wick / Body Ratiofloat0.5hammer_upper_max
Benchmark for True RSsymbolAMEX:SPYidx
Enable True RS Filter vs SPYbooltrueuse_rs
Min Price (USD)float5.0min_price
Min Avg Volume (shares)int500000min_vol
Min Avg $-Volume (millions/day)float5.0min_dollar_vol
Exit: min conditions required (1-4)int3exit_min
Show Dashboardbooltrueshow_dash
Show Locked SL / TP Linesbooltrueshow_levels
Dashboard: Daily Anchor Rowbooltrueshow_daily_row
Dashboard: True RS Rowbooltrueshow_rs_row
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

Datsana V.1

by g-moe
3 stars

This indicator plots RSI divergence lines at resistance and support levels based on 14-period RSI crossing above 70 or below 30 within a search window of 141 bars. It displays dual EMA trend fill between periods 199 and 299, VWAP filter, TKPS tick pattern diam

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of Datsana V.1

Super Algo Setup [Aura]

by IAMATOMIC001
3 stars

This overlay indicator combines SuperTrend, RSI, MACD, and an EMA to mark labeled tops and bottoms on the price chart. Optional filters hide repeating signals and keep only relevant exits, and a Krypton fear-and-greed filter can limit bottoms and tops to overs

Indicator v5 Oscillators & momentumMoving averages
Updated 12 months ago · None stated GitHub repository of Super Algo Setup [Aura]
1 stars

This indicator plots envelope bands based on a moving average or exponential moving average of a chosen price source. It computes RSI with user-set length and source. Signals trigger on crossovers: buy when price crosses the lower envelope band while RSI falls

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · None stated GitHub repository of ENVELOPE - RSI - Buy Sell Signals

Composite Market Bias

by mrme000m
1 stars

Composite Market Bias is a separate-pane indicator that scores bullish and bearish conditions from RSI, fast versus slow EMA, MACD histogram, Bollinger Band position, and price versus a 50-period EMA. It plots the resulting bias score with RSI, EMA trend, MACD

Indicator v5 Oscillators & momentumMoving averages
Updated 6 weeks ago · None stated GitHub repository of Composite Market Bias

This overlay indicator plots a Supertrend from an ATR length and factor, four exponential moving averages, and a selectable VWAP or TWAP taken from a chosen timeframe on the price chart. It also shows MACD and stochastic with adjustable lengths, smoothing, ver

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup: Vijay Thakare Option Buying Scalping Setup

This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre

Indicator v4 Volatility & bandsOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Bollinger Bands Winner IND [Alorse]

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers