Moon Dev Lunar Sniper is a multi-indicator overlay that scores confluence across fast and slow EMAs, RSI, MACD, DMI, and BB width to fire signals only when score meets the minimum threshold.
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
Moon Dev Lunar Sniper plots buy and sell signals on the price chart, highlights cosmic background tint, squeeze-bomb regions, EMA ribbon, and VWAP line. It draws dynamic TP/SL lines at multiples of ATR and displays a dashboard with key stats. The main settings adjust EMA lengths, RSI period, BB parameters for squeeze detection, ATR multiplier for stops, and higher-timeframe bias. It repaints on the live bar and contains no explicit exit rules.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Fast EMA
int
9
emaFastLen
Slow EMA
int
21
emaSlowLen
Trend EMA
int
55
emaTrendLen
RSI Length
int
14
rsiLen
Min Confluence
int
6
minScore
HTF Bias Timeframe
timeframe
60
htfTf
ATR Length
int
14
atrLen
SL = ATR x
float
1.5
slMult
TP1 R:R
float
1.0
tp1R
TP2 R:R
float
2.0
tp2R
TP3 R:R
float
3.0
tp3R
BB Length
int
20
bbLen
Show all 22 settings
Setting
Type
Default
Variable
BB StdDev
float
2.0
bbMult
Squeeze Lookback
int
50
sqzLookback
Cosmic Background Tint
bool
true
showBg
Show Moon Phase Signals
bool
true
showSignals
Show Squeeze Bombs
bool
true
showSqueeze
Show TP/SL Lines
bool
true
showTPSL
Show Dashboard
bool
true
showDash
Show EMA Ribbon
bool
true
showRibbon
Show VWAP
bool
true
showVwap
Label Offset (bars)
int
22
labelOffset
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.
Self-Aware Trend System calculates volatility-adaptive ATR trailing bands using a Trend Quality Index engine that evaluates market efficiency, momentum persistence, and structural pivots. It plots adaptive trend bands and character-flip trend signals directly
The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha
This indicator plots Donchian Channel boundary lines along with dynamic fan projections directly on the price chart. It calculates the highest high, lowest low, and median price over a customizable lookback period. Whenever price establishes a new channel high
An overlay indicator that combines an ATR-based SuperTrend trailing stop with an integrated RSI-derived midline calculation on the price chart. The SuperTrend uses an ATR period and factor multiplier to plot dynamic green or red trend lines based on price dire
Dynamic Linear Regression calculates and plots linear regression trendlines and standard deviation channels directly on the price chart over a user-selected time period. Traders can configure static channels locked at the end time, dynamic channels that contin
This indicator overlays trend-following Supertrend bands on the price chart using Average True Range calculations. It plots trailing stop lines, highlights active trend directions, and prints buy or sell shape labels when price closes across band thresholds. I