US Swing Entry Planner plans swing trading entries on daily price charts using dual entry models: pullback limit buys near the fast EMA and breakout buy-stop orders above pivot highs.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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 Swing Entry Planner calculates ATR-based stop loss and profit targets along with position sizes based on user-defined portfolio value and risk parameters. An anti-FOMO filter flags extended price moves to prevent late entries, while optional hammer detection adds candle confluence. Plotted directly on the price chart with a heads-up display order ticket, users can adjust EMA lengths, ATR multipliers, and account sizing settings.
Pullback limit buy and breakout buy-stop entry planning
ATR-based stop loss and profit target calculations
Position sizing based on portfolio value and risk percentage
Anti-FOMO filter to detect extended price moves
On-chart order levels and customizable HUD order ticket
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Fast EMA (pullback buy line)
int
10
ema_fast_len
Slow EMA
int
20
ema_slow_len
Anchor EMA (trend floor)
int
50
ema_anc_len
Long EMA (regime)
int
200
ema_long_len
Pullback band above Fast EMA (%)
float
2.0
pull_band_pct
Pivot High Lookback (bars)
int
20
pivot_lookback
Coiling: within % below pivot
float
4.0
near_pivot_pct
Buy-stop buffer above pivot (%)
float
0.3
bo_buffer_pct
Extended if price > N% above Fast EMA
float
6.0
ext_thresh_pct
ATR Period
int
14
atr_len
Stop ATR x
float
2.0
atr_sl_mult
TP1 ATR x
float
3.0
atr_tp1_mult
Show all 22 settings
Setting
Type
Default
Variable
TP2 ATR x
float
6.0
atr_tp2_mult
Portfolio Value (USD)
float
50000.0
portfolio_usd
Risk per Trade %
float
1.0
risk_per_trd
Max Position % of Portfolio
float
8.0
max_pos_pct
Flag hammer on the entry bar
bool
true
use_hammer
Min Lower Wick / Body
float
2.0
hammer_wick_mult
Max Upper Wick / Body
float
0.5
hammer_upper_max
Plot order levels (Buy/Stop/TP)
bool
true
show_lines
HUD Position
string
Top Right
hudPosStr
Text Size
string
Normal
txt_size_in
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.
This technical indicator combines SuperTrend signals, moving average trend clouds, pivot points, and daily range breakout targets directly on the price chart. It generates Buy, Strong Buy, Sell, and Strong Sell labels when price crosses the SuperTrend level in
Calculates short and long Exponential Moving Averages alongside pivot high and low levels to identify breakout signals. The indicator plots a 20 EMA and a 50 EMA on the main price chart. It evaluates trend direction based on EMA crossover alignment, checks for
The Krypton Indicator overlays trend analysis, buy and sell zones, and sentiment tracking directly onto the price chart. It calculates a dual moving average trend filter, renders supply and demand zones, and plots a sentiment line to identify market momentum.
This indicator plots multiple moving averages including SMA10, SMA50, SMA100, SMA200, Ichimoku conversion and lead lines, and 52-week high and low levels on the price chart. It detects breakouts using volume multiplier, optional gaps, and strong candle require
Sideway Zones Live is an overlay indicator that estimates inner and outer sideways bands from recent highs and lows with a rational quadratic kernel. It tracks swing pivots over a loopback period and counts bars that remain between the outer high and low. Afte
This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts