Indicator · Pine Script v5 · On the chart

Market Sniper

by kasutu

A combined chart overlay that plots EMAs of 20, 50 and 200 bars with a zone around the middle line, an Ichimoku cloud with 9, 26 and 52 bar settings, and order blocks that can show as mitigated.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code442
Settings23inputs
LicenceNone stated
Last update2 weeks ago12 Oct 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

Market Sniper also marks bullish and bearish break of structure lines, breaker blocks and pivot trend lines. Candle range, block length, pivot period and start date are adjustable, with a blue and red colour scheme. It gives no automated trade rules.

Details

Published by

kasutu on GitHub

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Trend, Moving averages, Support & resistance

Markets

Any symbol

Timeframes

Any timeframe

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
EMA 1 (thin) Lengthint20ema1_length
EMA 2 (mid) Lengthint50ema2_length
EMA 3 (thick) Lengthint200ema3_length
Zone Widthint15zone_width
Show EMA 1booltrueshow_ema1
Conversion Line Lengthint9conversionPeriods
Base Line Lengthint26basePeriods
Leading Span B Lengthint52laggingSpan2Periods
Lagging Spanint26displacement
Candle Rangeint25inputRange
Blocks Lengthint0blocksLength
Bullish Breaker SourcesourceclosebullishBreakerSource
Show all 23 settings
SettingTypeDefaultVariable
Bearish Breaker SourcesourceclosebearishBreakerSource
Show Bearsish BOS LinebooltrueshowBearishBOS
Show Bullish BOS LinebooltrueshowBullishBOS
Show Mitigated BlocksbooltrueuseMitigatedBlocks
Start Yearint2020startyear
Start Monthint1startmonth
Start dayint1startday
Pivot Periodint20prd
Number of Pivot Points to checkint3PPnum
BullishcolorCME_COLOR_BULLISH_FILLC_PRIMARY
BearishcolorCME_COLOR_BEARISH_FILLC_SECONDARY
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

HH-LL Buy/Sell + EMA

by vinitpatil519
5 stars

This overlay indicator classifies market structure with an ATR-based ZigZag that marks higher highs, higher lows, lower highs, and lower lows. A state machine plots buy and sell labels on the confirmation bar, not on the earlier pivot, and by default waits for

Indicator v5 TrendSupport & resistance
Updated 2 months ago · None stated GitHub repository of HH-LL Buy/Sell + EMA
4 stars

This indicator computes the Watchtower Axis as a 257-period weighted moving average of closing prices to establish the main trend baseline. It defines volatility gates using the highest high and lowest low over 463 periods, along with a 377-period exponential

Indicator v6 TrendMoving averages
Updated 10 months ago · MIT GitHub repository of Miela Labs | John Dee's Watchtower

This indicator identifies Smart Money Concepts structure alongside a four-line moving average ribbon on the price chart. It detects swing highs and lows across a user-defined lookback period, generating price action labels such as higher highs, lower highs, hi

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of FluidTrades - SMC Lite + Moving Average Ribbon

GODMODE Dashboard

by EricMohlathe
2 stars

This indicator visualises multiple smart money concepts and technical analysis modules directly on the price chart. It plots trend EMAs, VWAP bands with standard deviations, market structure breaks and changes of character, Fair Value Gaps, Order Blocks, suppl

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of GODMODE Dashboard

Apex Trend & Liquidity Master (SMC)

by app-builder-sketch
1 stars

Apex Trend & Liquidity Master (SMC) is an overlay indicator that combines trend-following filters with Smart Money Concepts market structure and liquidity tools. It calculates baseline trend clouds using moving averages such as HMA, EMA, SMA, or RMA alongside

Indicator v6 SMC / ICT / price actionTrend
Updated 10 months ago · GPL-3.0 GitHub repository of Apex Trend & Liquidity Master (SMC)

EMA + Trend + Liquidity

by kvmafthab-pixel
1 stars

This overlay plots a four-length exponential moving average ribbon and classifies trend on the price chart. It marks strong bullish when the 21-period average is above the 50 and 200 with a positive short slope, strong bearish when that stack is reversed, and

Indicator v5 TrendMoving averages
Updated 5 months ago · Custom licence GitHub repository of EMA + Trend + Liquidity

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