Indicator · Pine Script v6 · On the chart

Moon Dev Lunar Sniper

by moondevonyt

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.

View on GitHub

Repaints

GitHub stars92on the repository
Pine versionv6current
Lines of code431
Settings22inputs
LicenceCustom licence
Last update8 weeks ago30 Aug 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

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.

Details

Published by

moondevonyt on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Trend, Oscillators & momentum, Volatility & bands, Support & resistance

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

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

SettingTypeDefaultVariable
Fast EMAint9emaFastLen
Slow EMAint21emaSlowLen
Trend EMAint55emaTrendLen
RSI Lengthint14rsiLen
Min Confluenceint6minScore
HTF Bias Timeframetimeframe60htfTf
ATR Lengthint14atrLen
SL = ATR xfloat1.5slMult
TP1 R:Rfloat1.0tp1R
TP2 R:Rfloat2.0tp2R
TP3 R:Rfloat3.0tp3R
BB Lengthint20bbLen
Show all 22 settings
SettingTypeDefaultVariable
BB StdDevfloat2.0bbMult
Squeeze Lookbackint50sqzLookback
Cosmic Background TintbooltrueshowBg
Show Moon Phase SignalsbooltrueshowSignals
Show Squeeze BombsbooltrueshowSqueeze
Show TP/SL LinesbooltrueshowTPSL
Show DashboardbooltrueshowDash
Show EMA RibbonbooltrueshowRibbon
Show VWAPbooltrueshowVwap
Label Offset (bars)int22labelOffset
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

14 stars

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

Indicator v6 TrendVolatility & bands
Updated 2 weeks ago · MIT GitHub repository of Self-Aware Trend System [WillyAlgoTrader]

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

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup

[RS]Donchian Fans

by ricardosantos79
261 stars

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

Indicator v4 Support & resistanceTrend
Updated 4 years ago · None stated GitHub repository of [RS]Donchian Fans
257 stars

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

Indicator v5 TrendVolatility & bands
Updated 6 weeks ago · None stated GitHub repository of SuperTrend ATR + RSI

Dynamic Linear Regression

by TradersPost
218 stars

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

Indicator v6 TrendSupport & resistance
Updated 3 months ago · None stated GitHub repository of Dynamic Linear Regression

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