Strategy · Pine Script v6 · On the chart

Qtus SMC-Sniper AutoTrader v2

by qtu11

Qtus SMC-Sniper AutoTrader v2 is an automated trading strategy plotted on the price chart that combines Smart Money Concepts (SMC), ICT frameworks, price action patterns, and technical indicators into a multi-factor scoring engine.

View on GitHub

GitHub stars2on the repository
Pine versionv6current
Lines of code618
Settings40inputs
LicenceCustom licence
Last update2 months ago14 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 strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

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

Qtus SMC-Sniper AutoTrader v2 enters long or short positions when the cumulative confluence score exceeds a configurable threshold, with optional filters for fair value gaps, order blocks, liquidity sweeps, ADX momentum, and killzone sessions. The strategy manages risk with an ATR-based stop loss, break-even adjustments, a trailing stop, and multi-tier take-profit levels with partial position closing.

Details

Published by

qtu11 on GitHub

Type

Strategy, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Trend, Breakout, Support & resistance

Markets

Gold

Timeframes

M1-M5, M15-H1, 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
Enable Auto TradingbooltrueenableAutoTrade
Min Combined Score to Enterint7minScoreToTrade
Require ALL Filter AgreementboolfalserequireAllFilters
Require HTF Bias ConfluencebooltruehtfConfluenceReq
Risk Per Trade %float1.0riskPerTrade
Stop Loss ATR Multiplierfloat1.5atrMultiplierSL
TP1 Risk Multiplier (R)float0.5tp1Percent
TP2 Risk Multiplier (R)float1.0tp2Percent
TP3 Risk Multiplier (R)float2.0tp3Percent
TP4 Risk Multiplier (R)float3.0tp4Percent
TP5 Risk Multiplier (R)float5.0tp5Percent
Partial TP at TP1 (%)float0.25partialTP1Percent
Show all 40 settings
SettingTypeDefaultVariable
Partial TP at TP2 (%)float0.25partialTP2Percent
Trailing Start (R)float2.0trailingStart
Trailing Distance (R)float1.0trailingDistance
Require FVG ConfirmationboolfalserequireFVG
Require Order Block ConfirmationboolfalserequireOB
Require Liquidity SweepboolfalserequireLiqSweep
Require Price Action PatternbooltruerequirePattern
Require BOS/CHoCH BreakboolfalserequireMSBreak
Require ADX > 25booltruerequireADX
Require Above-Average VolumebooltruerequireVolume
Trade Only in KillzonesboolfalsekillzoneOnly
Wait for OTE Retracement (62-79%)boolfalseuseOTEEntry
OTE Min Retracement %float0.62oteMinPerc
OTE Max Retracement %float0.79oteMaxPerc
Bars to Wait for OTE (0=immediate)int3waitOTE
Move SL to Break-Even at TP1booltruemoveSLToBE
BE Move Offset (%)float0.0slToBEPercent
Close on Reverse SignalbooltruecloseOnReverse
Max Concurrent Tradesint2maxOpenTrades
Max Daily Loss %float3.0maxDailyLoss
Max Consecutive Losses Before Stopint3maxConsecLoss
Enable Webhook Alerts for AutoTradebooltrueenableWebhook
Webhook URL (for broker)stringwebhookURL
Alert on EntrybooltruealertOnEntry
Alert on ExitbooltruealertOnExit
Alert on Stop LossbooltruealertOnSL
Alert on Take ProfitbooltruealertOnTP
Alert on Partial TPbooltruealertOnPartialTP
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

PF IES probe 06 - pivot sweep

by pineforge-4pass
1 stars

This Pine Script strategy detects pivot liquidity sweeps on the price chart. It identifies swing highs and lows using ta.pivothigh and ta.pivotlow with user-defined left and right bar counts. The script maintains state for the last confirmed pivot and flags a

Strategy v6 SMC / ICT / price actionSupport & resistance
Updated 5 days ago · Apache-2.0 GitHub repository of PF IES probe 06 - pivot sweep

This trend-following strategy executes a classic Donchian channel breakout system designed to cross-validate backtest results against external framework benchmarks. It triggers a long entry when the closing price breaks above the highest high of the prior entr

Strategy v6 BreakoutTrend
Updated today · AGPL-3.0 GitHub repository of Forven S01509 - Simple Donchian 20/10 Breakout
257 stars

This strategy plots running pivot highs as red R circles and pivot lows as blue S circles directly on the price chart. It computes an EMA 3 and a Cto trend line from close prices, then generates long signals on upward EMA-Cto crossovers combined with price pos

Strategy v6 TrendMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Best Chart 1m Strategy Candle Bar
106 stars

Calculates multi-period logarithmic regression trend channels and deviation bands across up to twenty selectable lookback lengths directly on the price chart. It evaluates channel slopes and Pearson's correlation coefficient to detect market trends and generat

Strategy v5 TrendSupport & resistance Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Advanced Trend Detection Strategy

This trend breakout strategy plots Donchian Channels consisting of upper, lower, and middle bands directly on the main price chart. Long positions enter when price touches the upper channel and pulls back to or below the middle band, placing a stop loss at the

Strategy v6 TrendBreakout
Updated 2 months ago · MPL-2.0 GitHub repository of Donchian Strategy - Dynamic TP, Fixed SL, 1% Risk, Daily Target

More strategys

Trade Your Charts With a Regulated Broker

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

Compare brokers