Indicator · Pine Script v6 · On the chart

Funded Range Gann Sniper

by vedkanani123

A price-chart indicator that looks for fade setups after price raids the edge of a completed session or prior-day range and closes back inside.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code566
Settings36inputs
LicenceNone stated
Last update2 months ago23 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

Funded Range Gann Sniper requires the Gann half-range level to sit at least a set number of R away, sizes the stop beyond the raid using ATR, and tracks outcomes against dashboard targets. Limits include maximum trades per UTC day, a day lock after a miss, session and news-window filters, a higher-timeframe agreement option, and a time stop.

Details

Published by

vedkanani123 on GitHub

Draws

On the price chart

Markets

Gold, Forex

Timeframes

M15-H1

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

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

SettingTypeDefaultVariable
Max trades per UTC dayint2maxTradesDay
Lock day after a 1:2 missbooltruelockAfterLoss
Risk % (display)float1.0riskPct
Minimum scoreint68minScore
Asia end UTCint7asiaEndHour
London AM end UTCint12londonEndHour
NY end UTCint17nyEndHour
Intraday: London + NY onlybooltrueuseSession
Fallback swing rangeint24swingLen
Must still be in outer % of rangefloat0.28nearFrac
Min range width x ATRfloat1.40minRangeAtr
Max range width x ATRfloat8.00maxRangeAtr
Show all 36 settings
SettingTypeDefaultVariable
Min R to Gann half (EQ)float1.80minRrToMid
Stop buffer x ATRfloat0.12slBufAtr
Min stop x ATRfloat0.35minStopAtr
Max stop x ATRfloat2.20maxStopAtr
Dashboard target A (R)float2.0rrTwo
Dashboard target B (R)float3.0rrThree
SL and TP same bar = LOSSbooltruesameBarLoss
Time stop (bars)int36maxHoldBars
Min reject body x ATRfloat0.18minBodyAtr
Min reject body / rangefloat0.38minBodyRatio
HTF must agree with fadebooltrueuseHtf
Auto HTFbooltrueautoHtf
Manual HTFtimeframe60manualHtf
HTF Supertrend factorfloat3.1htfFactor
Skip Monday before 08:00 UTCbooltrueskipMonOpen
Skip Friday from 16:00 UTCbooltrueskipFriLate
Block 12:20–14:10 UTCbooltrueblockNews
Min bars between tradesint8minBarsGap
DashboardbooltrueshowDash
Dashboard positionstringTop RightdashPos
Show range + Gann halfbooltrueshowRange
Show nearest Gann pricebooltrueshowGann
Keep old trade boxesbooltrueshowBoxes
BUY / SELL / WIN / STOPbooltrueshowLabels
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

257 stars

This indicator plots auto trade signals for E-mini S&P 500 futures on the price chart. It computes an EMA200 filter along with day ETH RTH session levels and percentage-based entry zones. Signals trigger CALL or PUT cases when price crosses defined thresholds

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of Auto Trade Futures ES

Golden Bullet Strategy

by TradersPost
228 stars

The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh

Indicator v6 SMC / ICT / price actionSessions & time
Updated 3 months ago · None stated GitHub repository of Golden Bullet Strategy
55 stars

This Pine Script indicator overlays institutional liquidity levels on the price chart. It identifies order block levels using pivot highs and lows, then draws mean reversion lines from the 20 and 50 period simple moving averages, a volatility range midpoint pr

Indicator v6 Support & resistanceSMC / ICT / price action Repaints
Updated 6 months ago · Apache-2.0 GitHub repository of AAPL Institutional Liquidity Grid

This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows. It draws FVG range boxes, midpoint lines, hourl

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

This indicator combines six trading tools into a single chart overlay to optimize indicator limits. It calculates Bollinger Bands, projects weekend price boundaries, plots market structure elements like order blocks, breaker blocks, and MSB lines, marks New Yo

Indicator v6 Support & resistanceSMC / ICT / price action Repaints

More SMC / ICT 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