Indicator · Pine Script v5 · On the chart

Sniper Algo

by TamTH-Dev· code credited to tamth_

Sniper Algo is a multi-indicator technical analysis suite that plots directly on the main price chart.

View on GitHub

GitHub stars2on the repository
Pine versionv5runs as is
Lines of code687
Settings36inputs
LicenceNone stated
Last update6 weeks ago18 Sep 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

Sniper Algo integrates Ichimoku Kinko Hyo components, automated support and resistance zones, dual exponential moving averages, and optional buy and sell signals. Users can switch between Scalping and Swing presets, toggle individual modules such as reversal zones or smoothed Heikin Ashi, and customize calculation periods and signal sensitivity. The tool serves as an analytical visual aid and does not place automated orders.

Details

Published by

TamTH-Dev on GitHub

Code credit

tamth_, as written in the script's header

Draws

On the price chart

Markets

Any symbol

Timeframes

M1-M5, H4 and above

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
StrategystringScalpingstrategy
ShowbooltrueikhShowed
Tenkan-Sen Lengthint9tenkanLen
Kijun-Sen Lengthint26kijunLen
Senkou-Span B Lengthint52senkouSpanBLen
Chikou-Span Displacementint26chikouSpanDisplacement
Kumo Cloud Displacementint26kumoCloudDisplacement
ShowbooltruesrShowed
Periodint284srPrd
Support Colorcolorcolor.new(AQUA_COLOR, 80)srSupportColor
Resistance Colorcolorcolor.new(LIGHT_GRAY_COLOR, 80)srResistanceColor
Strengthint2srStrength
Show all 36 settings
SettingTypeDefaultVariable
Zone Width In %float1.5srZoneWidthPerc
Value Colorcolorcolor.new(WHITE_COLOR, 20)srValColor
ShowboolfalsebuySellSignalsShowed
Sensitivityfloat2.5sensitivity
ShowboolfalsetrShowed
ShowboolfalserevZonesShowed
Periodint30revZonesPrd
ShowbooltrueemasShowed
Leading EMAint100leadingEmaPrd
Lagging EMAint200laggingEmaPrd
ShowboolfalseshaShowed
Periodint10shaPrd
Smoothed Lengthint10shaSmoothedLen
ShowboolfalsegpShowed
Depthint20gpDepth
Deviationfloat3gpThresholdMult
ColorcolorYELLOW_COLORgpColor
ShowboolfalsevcsShowed
Large Volume Up Candle ColorcolorGREEN_COLORlgVolUpCandleColor
Medium Volume Up Candle ColorcolorYELLOW_COLORmdVolUpCandleColor
Large Volume Down Candle ColorcolorRED_COLORlgVolDnCandleColor
Medium Volume Down Candle ColorcolorPURPLE_COLORmdVolDnCandleColor
Normal Up Candle ColorcolorAQUA_COLORnorUpCandleColor
Normal Down Candle ColorcolorWHITE_COLORnorDnCandleColor
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

Scalping PullBack Tool R1.1

by Ahmed-GoCode
5 stars

This indicator plots a Price Action Channel (PAC) based on high, low, and close moving averages alongside fast, medium, and slow trend EMAs directly on the price chart. It detects regular and Bill Williams fractals to track market structure and identifies pull

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Scalping PullBack Tool R1.1
257 stars

This indicator analyzes short-term price action on index futures and options charts by applying Rational Quadratic kernel smoothing to detect sideways consolidation ranges and potential breakouts. It processes pivot highs and lows over customizable loopback pe

Indicator v5 Support & resistanceTrend Repaints
Updated 7 weeks ago · None stated GitHub repository of SPX 30M - Trading Chart

Ichimoku Cloud

by harryguiacorn
220 stars

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

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of Ichimoku Cloud

MA Envelope (MAE)

by mihakralj
99 stars

The MA Envelope indicator calculates upper and lower channel bands shifted by a user-defined percentage around a baseline moving average. It supports Simple Moving Average, Exponential Moving Average, and Weighted Moving Average calculation types. The script p

Indicator v6 Moving averagesSupport & resistance
Updated 4 weeks ago · Apache-2.0 GitHub repository of MA Envelope (MAE)

More Trend scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers