OPEN-SOURCE SCRIPT
Güncellendi Pullback Sniper Method [trade_w_samet]

🎯 Pullback Sniper Method [trade_w_samet]
Pullback Sniper Method [trade_w_samet] is a free open-source pullback, breakout, and trade-visualization indicator designed to help traders analyze structured trend-continuation setups directly on the price chart.
This script combines:
📈 EMA-based trend context
🚀 breakout detection
🎯 pullback confirmation logic
✅ Fast / Balanced / Strict confirmation modes
🧠 optional McGinley and RSI filters
📦 ATR-based TP/SL projection boxes
🎯 TP1 / TP2 / TP3 tracking
🛑 SL tracking
🏷️ result labels
⭐ signal quality tooltip information
📊 statistics table
💎 premium-style dashboard
🎨 multiple visual themes
🚨 alert conditions
The goal of Pullback Sniper Method is not to predict the future or provide guaranteed buy/sell instructions.
Its purpose is to help users visually study:
⚡ trend continuation behavior
🎯 pullback quality
📈 breakout-following structure
🧠 confirmation strength
📦 projected risk/reward zones
📊 historical visual outcomes
💎 dashboard-based system feedback
🚨 alert-based monitoring
Pullback Sniper Method should be treated as a structured chart-analysis and educational decision-support tool, not as financial advice, not as an automated trading system, and not as a guarantee of profitable results.
━━━━━━━━━━━━━━━━━━━━━━
🔓 OPEN-SOURCE PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published as an open-source educational and visual market-analysis tool.
The source code is visible so users can inspect, review, understand, and learn from the logic.
The description is intentionally detailed because many users do not inspect every part of the Pine Script code line by line.
The purpose of this page is to explain:
✅ what the script does
✅ how the main logic works
✅ how signals are created
✅ what the trend engine checks
✅ how pullbacks are validated
✅ how confirmation modes differ
✅ how TP/SL projections are drawn
✅ how historical trade visuals are managed
✅ what the statistics table means
✅ what the premium dashboard means
✅ what the quality score tooltip represents
✅ what the limitations are
✅ how the indicator should and should not be used
Pullback Sniper Method is designed to support structured analysis.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It does not place broker orders.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing trend, breakout, pullback, confirmation, and projected risk/reward behavior.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pullback Sniper Method does the following:
📈 Calculates a trend engine using Fast EMA, Slow EMA, and EMA slope.
🚀 Detects breakout conditions after trend alignment.
🎯 Waits for price to pull back toward the Pullback EMA.
✅ Confirms entries using Fast, Balanced, or Strict confirmation logic.
🧠 Applies optional McGinley Dynamic distance filtering.
📊 Applies optional RSI directional filtering.
🧊 Uses a cooldown system to reduce signal clustering.
📦 Draws ATR-based TP/SL projection boxes.
🎯 Tracks TP1, TP2, TP3, and SL visually.
🏷️ Displays active TP labels and final result labels.
🗂️ Keeps historical TP/SL visuals on the chart.
⭐ Displays a Quality Score only inside the STRONG label tooltip.
📊 Builds a statistics table for TP1, TP2, TP3, SL, Total, and Win Rate.
💎 Builds a premium dashboard with deeper internal performance metrics.
🎨 Includes three visual themes.
🚨 Includes alert conditions for strong signals and trade outcomes.
This makes the script more than a simple signal label tool.
It is a complete pullback-analysis framework built around trend context, breakout confirmation, pullback behavior, ATR-based visual planning, and historical result review.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind Pullback Sniper Method is simple:
A trend continuation setup should not be judged from one isolated candle.
A single breakout, one EMA touch, one candle close, or one label is usually not enough by itself.
Market context matters.
For that reason, Pullback Sniper Method combines several layers:
📈 trend alignment
🚀 breakout structure
🎯 pullback location
✅ confirmation candle behavior
📏 ATR-based distance filtering
🧠 optional McGinley distance filtering
📊 optional RSI direction filtering
📦 projected TP/SL structure
📊 visual statistics
💎 dashboard feedback
The indicator does not attempt to mark every possible move.
Instead, it attempts to make pullback-based trend continuation conditions easier to read, compare, and review.
The purpose is not to create more signals.
The purpose is to make signal conditions more structured and understandable.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method is not intended to behave like a simple “buy here / sell here” script.
It is built as a structured workflow:
Trend Engine
→ Breakout Detection
→ Pullback Wait
→ Confirmation Mode
→ Optional Filters
→ STRONG Signal Label
→ Quality Tooltip
→ TP/SL Projection
→ Active Trade Visualization
→ Result Tracking
→ Statistics Review
→ Dashboard Review
→ Alerts
Each part has a specific role.
📈 The Trend Engine defines directional context.
🚀 The Breakout Engine identifies fresh movement beyond recent highs or lows.
🎯 The Pullback Engine waits for price to return toward the pullback EMA.
✅ The Confirmation Engine decides whether the reaction is strong enough.
🧠 The optional filters reduce signals that do not meet additional conditions.
⭐ The Quality Score tooltip gives extra signal context without changing the signal.
📦 The TP/SL boxes provide projected visual structure.
📊 The statistics table summarizes historical visual outcomes.
💎 The dashboard gives a broader state and performance-style overview.
🚨 The alert system helps monitor the script without constantly watching the chart.
This makes the script a full review environment, not a one-condition signal tool.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
📈 TREND ENGINE
The Trend Engine is based on three key components:
⚡ Fast EMA
🐢 Slow EMA
📐 Fast EMA slope
The default structure uses:
Fast EMA = 50
Slow EMA = 200
Pullback EMA = 21
Slope Lookback = 5
For bullish context, the script checks whether:
🟢 Fast EMA is above Slow EMA
🟢 Price is above Slow EMA
🟢 Fast EMA is rising compared to previous bars
For bearish context, the script checks whether:
🔴 Fast EMA is below Slow EMA
🔴 Price is below Slow EMA
🔴 Fast EMA is falling compared to previous bars
This helps the script avoid treating every price move as a valid pullback opportunity.
The trend engine creates the directional foundation for the rest of the logic.
━━━━━━━━━━━━━━━━━━━━━━
🚀 BREAKOUT ENGINE
━━━━━━━━━━━━━━━━━━━━━━
After trend alignment is detected, the script looks for a breakout.
For bullish setups, price must close above the recent breakout high.
For bearish setups, price must close below the recent breakout low.
The breakout engine uses:
🚀 Breakout Lookback
🛑 Invalidation Lookback
🔥 Minimum Breakout Body / ATR
The breakout candle must also have enough body size relative to ATR.
This is important because very small breakouts can create low-quality setup conditions.
The breakout does not immediately create a STRONG label.
Instead, it activates a setup state.
After that, the script waits for a pullback.
━━━━━━━━━━━━━━━━━━━━━━
🎯 PULLBACK SETUP ENGINE
━━━━━━━━━━━━━━━━━━━━━━
Once a breakout setup is active, the script waits for price to return toward the Pullback EMA.
For a bullish setup:
🟢 Price must pull back toward the Pullback EMA.
🟢 The setup must not be invalidated.
🟢 Enough bars must have passed after breakout.
For a bearish setup:
🔴 Price must pull back toward the Pullback EMA from the opposite direction.
🔴 The setup must not be invalidated.
🔴 Enough bars must have passed after breakout.
The script also includes a maximum number of bars to find the pullback.
If no valid pullback appears within that window, the setup expires.
This prevents old breakout conditions from staying active forever.
━━━━━━━━━━━━━━━━━━━━━━
✅ CONFIRMATION ENGINE
━━━━━━━━━━━━━━━━━━━━━━
After a valid pullback touch, the script waits for confirmation.
There are three confirmation modes:
⚡ Fast
⚖️ Balanced
🛡️ Strict
⚡ Fast Mode
Fast mode is the earliest and simplest confirmation style.
It checks whether price closes back in the expected direction relative to the Pullback EMA.
This mode can react faster but may produce more noise.
Useful for:
• faster review
• active chart monitoring
• lower-timeframe analysis
• users who prefer earlier signals
⚖️ Balanced Mode
Balanced mode is the default middle-ground profile.
It requires directional candle behavior and also considers either a break of the previous candle level or wick/rejection behavior.
This helps the signal feel more structured than a basic close-based trigger.
Useful for:
• general chart review
• balanced signal frequency
• intraday analysis
• users who want neither too many nor too few signals
🛡️ Strict Mode
Strict mode is the most selective confirmation profile.
It requires stronger candle body behavior and a more decisive close.
This can reduce signal frequency.
Useful for:
• cleaner setups
• fewer signals
• higher selectivity
• users who prefer stricter confirmation
Important note:
A stricter mode does not guarantee better future outcomes.
It only applies stricter internal confirmation logic.
━━━━━━━━━━━━━━━━━━━━━━
📏 ATR-BASED DISTANCE FILTERING
━━━━━━━━━━━━━━━━━━━━━━
ATR is used in several areas of the script.
The script uses ATR to evaluate:
📌 breakout body strength
📌 confirmation candle body strength
📌 entry distance from Pullback EMA
📌 stop-loss projection distance
📌 TP/SL visual structure
The Max Entry Distance / ATR setting helps block entries that are too far away from the Pullback EMA.
This is important because a pullback system generally works best when the signal appears close enough to the pullback reference area.
If price runs too far away before confirmation, the setup may become less efficient from a risk/reward perspective.
━━━━━━━━━━━━━━━━━━━━━━
🧠 MCGINLEY DYNAMIC FILTER
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes an optional McGinley Dynamic filter.
The purpose of this filter is to avoid signals that appear too close to the McGinley Dynamic line.
This distance is measured using ATR.
When enabled, the script checks whether price has enough distance from the McGinley line.
This can help reduce low-quality signals in crowded or compressed areas.
The McGinley filter is optional.
Users can turn it off if they prefer to use only the main trend/pullback logic.
━━━━━━━━━━━━━━━━━━━━━━
📊 RSI DIRECTION FILTER
━━━━━━━━━━━━━━━━━━━━━━
The script also includes an optional RSI direction filter.
When enabled:
🟢 Long signals require RSI to be above the selected long threshold.
🔴 Short signals require RSI to be below the selected short threshold.
By default, the RSI filter is turned off.
This keeps the base system cleaner and allows users to decide whether they want additional oscillator-style directional filtering.
The RSI filter should be treated as context, not as a guarantee.
━━━━━━━━━━━━━━━━━━━━━━
🧊 SIGNAL COOLDOWN SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes a cooldown system to prevent signals from appearing too close to each other.
After a signal appears, the script waits for the selected number of bars before allowing another signal.
This helps reduce visual clutter and prevents the chart from printing too many labels in a short period.
The cooldown system is especially useful on lower timeframes or volatile assets.
━━━━━━━━━━━━━━━━━━━━━━
💪 STRONG SIGNAL LABELS
━━━━━━━━━━━━━━━━━━━━━━
When all required conditions align, the script can display a STRONG label on the chart.
A STRONG label appears only after the script detects:
📈 valid trend context
🚀 valid breakout setup
🎯 valid pullback touch
✅ valid confirmation
🧠 optional filter approval
🧊 cooldown approval
📦 no active trade conflict
The STRONG label does not mean the future outcome is guaranteed.
It simply means the script’s internal conditions aligned at that point.
━━━━━━━━━━━━━━━━━━━━━━
⭐ QUALITY SCORE TOOLTIP
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes a Quality Score tooltip on the STRONG label.
This score does not filter signals.
It does not change entries.
It does not block or approve trades.
It is only informational.
To view it, hover your mouse over the STRONG label.
The tooltip can show:
⭐ Quality Score
🌟 Star rating
📌 Direction
📈 Trend alignment
🔥 Body / ATR ratio
📍 EMA Distance / ATR
Example tooltip:
Quality Score: 82/100 ⭐⭐⭐⭐ | Quality: HIGH | Direction: LONG | Trend: Bullish | Body/ATR: 0.48 | EMA Distance/ATR: 0.32
Star guide:
⭐⭐⭐⭐⭐ = very strong internal quality
⭐⭐⭐⭐ = high internal quality
⭐⭐⭐ = good internal quality
⭐⭐ = medium internal quality
⭐ = lower internal quality
Important note:
A score of 82 does not mean there is an 82% chance of winning.
The score only summarizes internal signal quality according to the script’s own visual model.
━━━━━━━━━━━━━━━━━━━━━━
📦 TP / SL PROJECTION SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes an ATR-based TP/SL projection system.
When a STRONG signal appears, the script can draw:
📦 TP box
📦 SL box
🎯 TP1 line
🎯 TP2 line
🎯 TP3 line
🏷️ TP price labels
🏁 final result label
The system uses ATR-based risk.
Default structure:
🛡️ SL ATR Multiplier = 2.0
🎯 TP3 Reward R = 2.0R
🥉 TP1 = 25% of TP3 distance
🥈 TP2 = 50% of TP3 distance
🏆 TP3 = final target distance
This creates a clean visual projection of the potential trade structure.
The boxes are not broker orders.
They are visual projections based on the script’s internal logic.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TP1 / TP2 / TP3 / SL TRACKING
━━━━━━━━━━━━━━━━━━━━━━
The script tracks projected trade progress visually.
Possible outcome states include:
🥉 TP1 reached
🥈 TP2 reached
🏆 TP3 reached
🛑 SL reached
If price reaches TP3, the result is marked as TP3.
If price hits SL before reaching any TP level, the result is marked as SL.
If price reaches TP1 and later returns to SL, the result can be treated as a TP1-style protected outcome.
If price reaches TP2 and later returns to SL, the result can be treated as a TP2-style protected outcome.
This allows the visual projection to remember the best target reached before the trade closes.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-CANDLE TP/SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If TP and SL are both touched on the same candle, there is ambiguity.
The script cannot know the true intrabar sequence from standard OHLC data.
For that reason, Pullback Sniper Method uses a conservative rule:
🔴 If TP and SL are both touched on the same candle, the script treats it as SL.
This avoids overly optimistic visual outcomes when the true intrabar order is unknown.
This conservative approach is useful when reviewing historical visual performance.
━━━━━━━━━━━━━━━━━━━━━━
🙈 EARLY SL HIDING LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The script includes an early SL hiding feature.
If a projected trade hits SL within the first selected number of bars, the visual trade can be hidden and excluded from statistics.
Default:
🙈 Hide Early SL Bars = 3
This feature is designed to reduce extremely fast failed projections from cluttering the visual history.
Users should understand that this affects the visual/statistical display of the script.
It is not a broker-side execution rule.
━━━━━━━━━━━━━━━━━━━━━━
🗂️ HISTORICAL TRADE VISUALS
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method can keep historical TP/SL visuals on the chart.
This includes:
📦 previous TP boxes
📦 previous SL boxes
🎯 TP1 / TP2 / TP3 lines
🛑 SL lines
🏷️ result labels
🏷️ TP price labels
The script also includes a maximum historical trade limit.
Default:
🧮 Max Historical Trades = 40
This helps prevent TradingView object-limit issues while still allowing users to review past signals visually.
━━━━━━━━━━━━━━━━━━━━━━
📊 STATISTICS TABLE
━━━━━━━━━━━━━━━━━━━━━━
The statistics table summarizes visual trade outcomes.
It can display:
🥉 TP1 count
🥈 TP2 count
🏆 TP3 count
🛑 SL count
📊 Total closed trades
✅ Win Rate
The statistics are calculated internally using the script’s visual TP/SL logic.
They are not broker execution results.
They do not include real slippage, spread, commission, liquidity, partial fills, or order execution issues.
They should be used for visual review and educational analysis only.
━━━━━━━━━━━━━━━━━━━━━━
💎 PREMIUM DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes a premium-style dashboard.
The dashboard can display:
📈 Trend
📡 Current status
📊 Total trades
✅ Win rate
📈 Total R
📉 Average R
🧮 Profit Factor
🎯 Expectancy
🔥 Max win streak
❄️ Max loss streak
🔁 Current streak
⏱️ Average bars in trade
🏆 TP3 rate
🛑 SL rate
🧭 Best direction
🟢 Long win rate
🔴 Short win rate
📌 Active trade state
🧾 Last signal
🎯 Best TP reached
The dashboard is designed to give users a structured overview of the script’s internal visual results.
Important note:
These dashboard values are not official TradingView Strategy Tester results.
They are internally calculated visual-analysis metrics.
They should not be interpreted as guaranteed performance.
━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes three visual themes:
🔵 Neon Pro
🧊 Ice Blue
🟡 Gold Black
The theme system affects:
🎨 STRONG label colors
📦 TP/SL box colors
🎯 TP/SL line colors
🏷️ TP price labels
📊 statistics table colors
💎 premium dashboard colors
🟢 long-side visuals
🟠 short-side visuals
Color settings are handled internally to keep the Inputs tab cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🏷️ TP PRICE LABELS
━━━━━━━━━━━━━━━━━━━━━━
TP labels are displayed next to the TP levels rather than inside the boxes.
This helps keep the projection boxes cleaner.
The labels can show:
TP1 price
TP2 price
TP3 price
Example:
TP1 102450.5
TP2 103120.0
TP3 104300.0
This makes it easier to visually read the projected target levels without opening the settings or manually checking each line.
━━━━━━━━━━━━━━━━━━━━━━
🏁 RESULT LABELS
━━━━━━━━━━━━━━━━━━━━━━
When a projected trade closes, the script can display a result label.
Examples:
🏆 TP3 HIT WIN +2R
🥈 TP2 EXIT WIN +1R
🥉 TP1 EXIT WIN +0.5R
🛑 SL HIT LOSS -1R
The exact value depends on the selected TP/SL structure and the highest TP reached before closure.
These labels are visual summaries only.
They do not represent broker execution.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes alert conditions for:
🟢 Strong Long
🟠 Strong Short
🏆 TP3 Hit
🛑 SL Hit
🎯 Protected TP Exit
Users can create TradingView alerts from these alert conditions.
Alerts can help monitor the chart without constantly watching every candle.
Important note:
Alerts are based on the script’s conditions.
They are not trade execution instructions.
Users are responsible for validating alerts and applying their own risk management.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
Add Pullback Sniper Method [trade_w_samet] to your chart.
Start with the default settings.
Review the overall trend direction.
Wait for a valid breakout setup.
Let the script wait for a pullback toward the Pullback EMA.
Watch for a STRONG label after confirmation.
Hover over the STRONG label to review the Quality Score tooltip.
Review the TP/SL projection box.
Check TP1, TP2, TP3, and SL levels.
Observe whether the projected trade reaches TP levels or SL.
Use the statistics table for visual outcome review.
Use the premium dashboard for deeper internal metrics.
Use alerts if you want automated signal notifications.
Validate the behavior on the exact symbols and timeframes you personally study.
This indicator is best used as a structured review tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
📈 Trend Engine
⚡ Fast EMA Length
Controls the fast trend EMA. Lower values react faster, while higher values are smoother.
🐢 Slow EMA Length
Controls the broader trend EMA used for directional context.
🎯 Pullback EMA Length
Defines the EMA area where price is expected to pull back before confirmation.
📐 Trend Slope Lookback
Checks whether the fast EMA is sloping in the expected trend direction.
━━━━━━━━━━━━━━━━━━━━━━
🎯 Pullback Setup Engine
🚀 Breakout Lookback
Defines how many bars are used to detect a fresh breakout level.
🛑 Invalidation Lookback
Defines the invalidation level for the active pullback setup.
⏳ Min Bars After Breakout
Controls how many bars must pass after breakout before pullback detection begins.
⌛ Max Bars To Find Pullback
If no valid pullback appears within this range, the setup expires.
━━━━━━━━━━━━━━━━━━━━━━
✅ Confirmation Engine
✅ Confirmation Mode
Available modes:
⚡ Fast
⚖️ Balanced
🛡️ Strict
📏 ATR Length
ATR used for body-size and distance filters.
🔥 Min Breakout Body / ATR
Minimum breakout candle body size compared to ATR.
💪 Min Confirm Body / ATR
Minimum confirmation candle body size compared to ATR. Mainly used in Strict mode.
📍 Max Entry Distance / ATR
Blocks entries that are too far away from the Pullback EMA.
🧊 Use Signal Cooldown
Prevents too many signals from appearing too close to each other.
⏱️ Cooldown Bars
Number of bars to wait after a signal before allowing another one.
━━━━━━━━━━━━━━━━━━━━━━
🧠 Optional Filters
🧲 Block Signals Near McGinley
Avoids entries too close to the McGinley Dynamic line.
〽️ McGinley Length
Length used for the McGinley Dynamic filter.
📐 Min McGinley Distance / ATR
Minimum distance required between price and McGinley Dynamic.
📊 Use RSI Direction Filter
Filters long/short signals based on RSI direction.
📈 RSI Length
RSI length used for the optional direction filter.
🟢 RSI Long Minimum
Long signals are allowed only when RSI is above this value.
🔴 RSI Short Maximum
Short signals are allowed only when RSI is below this value.
━━━━━━━━━━━━━━━━━━━━━━
📦 Trade Visual Engine
📏 Show TP / SL Lines
Shows TP1, TP2, TP3, and SL lines.
📦 Show TP / SL Boxes
Shows TP and SL projection zones.
🏷️ Show Active TP Label
Shows the latest touched TP label while the projected trade is active.
🗂️ Show Historical TP / SL Trades
Keeps previous TP/SL boxes, lines, and labels on the chart.
🧮 Max Historical Trades
Limits historical visual trades to help avoid object-limit issues.
🛡️ SL ATR Length
ATR length used for stop-loss calculation.
🛑 SL ATR Multiplier
ATR multiplier used for stop-loss distance.
🎯 TP3 Reward R
Final TP target multiple based on the initial risk distance.
🥉 TP1 % Of TP3
TP1 distance as a percentage of final TP3 distance.
🥈 TP2 % Of TP3
TP2 distance as a percentage of final TP3 distance.
↔️ Initial TP / SL Length
Initial visual length of TP/SL lines and boxes.
🙈 Hide Early SL Bars
If SL is reached within this number of bars, the projection can be hidden and excluded from statistics.
📊 Show Statistics Table
Shows TP1, TP2, TP3, SL, total trades, and win rate.
💎 Show Premium Dashboard
Shows the extended dashboard with deeper internal metrics.
━━━━━━━━━━━━━━━━━━━━━━
🎨 Visual Settings
🎭 Color Theme
Available themes:
🔵 Neon Pro
🧊 Ice Blue
🟡 Gold Black
💪 Show STRONG Labels
Shows the main STRONG labels on the chart.
🔠 Signal Label Size
Controls the size of STRONG signal labels.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method uses familiar concepts such as:
📈 EMA trend context
🚀 breakout detection
🎯 pullback confirmation
🧠 optional technical filters
📦 ATR-based TP/SL projection
📊 dashboard metrics
🚨 alerts
These components are not unique by themselves.
The originality of the script lies in how these components are organized into one workflow:
Trend Engine
→ Breakout Detection
→ Pullback Validation
→ Confirmation Mode
→ Optional Filters
→ STRONG Label
→ Quality Tooltip
→ TP/SL Projection
→ Historical Trade Visualization
→ Statistics Table
→ Premium Dashboard
→ Alerts
This structure is intended to give users a cleaner way to review pullback-based trend continuation setups.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
🎛️ selected confirmation mode
📈 EMA lengths
🎯 pullback EMA length
🚀 breakout lookback
🛑 invalidation lookback
📏 ATR settings
🧠 McGinley filter
📊 RSI filter
🧊 cooldown setting
📦 TP/SL settings
📊 market
⏱️ timeframe
📉 symbol volatility
📚 available historical bars
A configuration that looks cleaner on one market may not behave the same way on another.
The TP/SL boxes are visual projections based on script rules.
They are not broker orders.
They do not account for real execution conditions.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
❌ It does not guarantee profitable trades.
❌ It does not predict future price movement.
❌ It does not replace risk management.
❌ It does not execute trades.
❌ It does not place orders.
❌ It does not include broker slippage.
❌ It does not include commissions.
❌ It does not include spreads.
❌ It uses bar-based chart data.
❌ Same-candle TP/SL order cannot be known from standard OHLC data.
❌ Same-candle TP/SL is handled conservatively as SL.
❌ Quality Score is not a win-rate prediction.
❌ Dashboard statistics are internal visual metrics, not broker results.
❌ ATR-based TP/SL projections are visual analysis tools, not trade instructions.
❌ Strong labels can still fail in choppy or low-quality market conditions.
❌ Historical visual behavior does not ensure future behavior.
For these reasons, Pullback Sniper Method should be used as an educational decision-support tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
✅ study pullback-based trend continuation
✅ want structured breakout/pullback confirmation
✅ want ATR-based TP/SL visualization
✅ want historical visual trade review
✅ want a clean statistics table
✅ want a premium-style dashboard
✅ want signal quality information without changing signal logic
✅ want configurable confirmation strictness
✅ want visual themes
✅ want alert-based monitoring
✅ prefer organized chart-based analysis
✅ want an open-source educational TradingView tool
It may be less suitable for users who:
❌ want guaranteed buy/sell signals
❌ want a fully automated trading bot
❌ do not use technical analysis
❌ do not want chart visuals
❌ expect one setting to work on every market
❌ want an indicator that replaces their own decision-making
❌ expect internal visual statistics to match broker execution results
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
✅ Start with the default settings.
✅ Use Balanced confirmation first.
✅ Test Fast and Strict modes only after understanding the default behavior.
✅ Review STRONG labels together with market structure.
✅ Hover over labels to inspect Quality Score context.
✅ Use TP/SL boxes as visual planning tools, not automatic orders.
✅ Review dashboard metrics as internal script feedback only.
✅ Avoid treating every signal as a trade.
✅ Test the indicator on the symbols and timeframes you actually use.
✅ Combine the tool with independent analysis and risk management.
✅ Keep expectations realistic.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT USAGE
━━━━━━━━━━━━━━━━━━━━━━
The script includes alert conditions for important events.
Available alert types include:
🟢 Strong Long
🟠 Strong Short
🏆 TP3 Hit
🛑 SL Hit
🎯 Protected TP Exit
A practical alert workflow:
Add the indicator to your chart.
Open TradingView’s alert window.
Select Pullback Sniper Method as the condition.
Choose the alert condition you want.
Configure frequency according to your preference.
Use alerts as monitoring tools only.
Confirm all alerts manually with your own analysis.
Alerts do not execute trades.
Alerts are not financial advice.
━━━━━━━━━━━━━━━━━━━━━━
🔓 OPEN-SOURCE NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published open-source for educational review, transparency, and community learning.
Users can inspect how the indicator works, study the logic, modify it for personal learning, and understand the internal conditions behind the visual output.
Please respect TradingView’s House Rules when reusing or republishing open-source code.
The purpose of open-source publication is to support learning and transparent script review.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method [trade_w_samet] is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
The TP/SL boxes, labels, dashboard statistics, Quality Score, and alerts are visual analysis tools only.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability.
Pullback Sniper Method [trade_w_samet] is a free open-source pullback, breakout, and trade-visualization indicator designed to help traders analyze structured trend-continuation setups directly on the price chart.
This script combines:
📈 EMA-based trend context
🚀 breakout detection
🎯 pullback confirmation logic
✅ Fast / Balanced / Strict confirmation modes
🧠 optional McGinley and RSI filters
📦 ATR-based TP/SL projection boxes
🎯 TP1 / TP2 / TP3 tracking
🛑 SL tracking
🏷️ result labels
⭐ signal quality tooltip information
📊 statistics table
💎 premium-style dashboard
🎨 multiple visual themes
🚨 alert conditions
The goal of Pullback Sniper Method is not to predict the future or provide guaranteed buy/sell instructions.
Its purpose is to help users visually study:
⚡ trend continuation behavior
🎯 pullback quality
📈 breakout-following structure
🧠 confirmation strength
📦 projected risk/reward zones
📊 historical visual outcomes
💎 dashboard-based system feedback
🚨 alert-based monitoring
Pullback Sniper Method should be treated as a structured chart-analysis and educational decision-support tool, not as financial advice, not as an automated trading system, and not as a guarantee of profitable results.
━━━━━━━━━━━━━━━━━━━━━━
🔓 OPEN-SOURCE PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published as an open-source educational and visual market-analysis tool.
The source code is visible so users can inspect, review, understand, and learn from the logic.
The description is intentionally detailed because many users do not inspect every part of the Pine Script code line by line.
The purpose of this page is to explain:
✅ what the script does
✅ how the main logic works
✅ how signals are created
✅ what the trend engine checks
✅ how pullbacks are validated
✅ how confirmation modes differ
✅ how TP/SL projections are drawn
✅ how historical trade visuals are managed
✅ what the statistics table means
✅ what the premium dashboard means
✅ what the quality score tooltip represents
✅ what the limitations are
✅ how the indicator should and should not be used
Pullback Sniper Method is designed to support structured analysis.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It does not place broker orders.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing trend, breakout, pullback, confirmation, and projected risk/reward behavior.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pullback Sniper Method does the following:
📈 Calculates a trend engine using Fast EMA, Slow EMA, and EMA slope.
🚀 Detects breakout conditions after trend alignment.
🎯 Waits for price to pull back toward the Pullback EMA.
✅ Confirms entries using Fast, Balanced, or Strict confirmation logic.
🧠 Applies optional McGinley Dynamic distance filtering.
📊 Applies optional RSI directional filtering.
🧊 Uses a cooldown system to reduce signal clustering.
📦 Draws ATR-based TP/SL projection boxes.
🎯 Tracks TP1, TP2, TP3, and SL visually.
🏷️ Displays active TP labels and final result labels.
🗂️ Keeps historical TP/SL visuals on the chart.
⭐ Displays a Quality Score only inside the STRONG label tooltip.
📊 Builds a statistics table for TP1, TP2, TP3, SL, Total, and Win Rate.
💎 Builds a premium dashboard with deeper internal performance metrics.
🎨 Includes three visual themes.
🚨 Includes alert conditions for strong signals and trade outcomes.
This makes the script more than a simple signal label tool.
It is a complete pullback-analysis framework built around trend context, breakout confirmation, pullback behavior, ATR-based visual planning, and historical result review.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind Pullback Sniper Method is simple:
A trend continuation setup should not be judged from one isolated candle.
A single breakout, one EMA touch, one candle close, or one label is usually not enough by itself.
Market context matters.
For that reason, Pullback Sniper Method combines several layers:
📈 trend alignment
🚀 breakout structure
🎯 pullback location
✅ confirmation candle behavior
📏 ATR-based distance filtering
🧠 optional McGinley distance filtering
📊 optional RSI direction filtering
📦 projected TP/SL structure
📊 visual statistics
💎 dashboard feedback
The indicator does not attempt to mark every possible move.
Instead, it attempts to make pullback-based trend continuation conditions easier to read, compare, and review.
The purpose is not to create more signals.
The purpose is to make signal conditions more structured and understandable.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method is not intended to behave like a simple “buy here / sell here” script.
It is built as a structured workflow:
Trend Engine
→ Breakout Detection
→ Pullback Wait
→ Confirmation Mode
→ Optional Filters
→ STRONG Signal Label
→ Quality Tooltip
→ TP/SL Projection
→ Active Trade Visualization
→ Result Tracking
→ Statistics Review
→ Dashboard Review
→ Alerts
Each part has a specific role.
📈 The Trend Engine defines directional context.
🚀 The Breakout Engine identifies fresh movement beyond recent highs or lows.
🎯 The Pullback Engine waits for price to return toward the pullback EMA.
✅ The Confirmation Engine decides whether the reaction is strong enough.
🧠 The optional filters reduce signals that do not meet additional conditions.
⭐ The Quality Score tooltip gives extra signal context without changing the signal.
📦 The TP/SL boxes provide projected visual structure.
📊 The statistics table summarizes historical visual outcomes.
💎 The dashboard gives a broader state and performance-style overview.
🚨 The alert system helps monitor the script without constantly watching the chart.
This makes the script a full review environment, not a one-condition signal tool.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
📈 TREND ENGINE
The Trend Engine is based on three key components:
⚡ Fast EMA
🐢 Slow EMA
📐 Fast EMA slope
The default structure uses:
Fast EMA = 50
Slow EMA = 200
Pullback EMA = 21
Slope Lookback = 5
For bullish context, the script checks whether:
🟢 Fast EMA is above Slow EMA
🟢 Price is above Slow EMA
🟢 Fast EMA is rising compared to previous bars
For bearish context, the script checks whether:
🔴 Fast EMA is below Slow EMA
🔴 Price is below Slow EMA
🔴 Fast EMA is falling compared to previous bars
This helps the script avoid treating every price move as a valid pullback opportunity.
The trend engine creates the directional foundation for the rest of the logic.
━━━━━━━━━━━━━━━━━━━━━━
🚀 BREAKOUT ENGINE
━━━━━━━━━━━━━━━━━━━━━━
After trend alignment is detected, the script looks for a breakout.
For bullish setups, price must close above the recent breakout high.
For bearish setups, price must close below the recent breakout low.
The breakout engine uses:
🚀 Breakout Lookback
🛑 Invalidation Lookback
🔥 Minimum Breakout Body / ATR
The breakout candle must also have enough body size relative to ATR.
This is important because very small breakouts can create low-quality setup conditions.
The breakout does not immediately create a STRONG label.
Instead, it activates a setup state.
After that, the script waits for a pullback.
━━━━━━━━━━━━━━━━━━━━━━
🎯 PULLBACK SETUP ENGINE
━━━━━━━━━━━━━━━━━━━━━━
Once a breakout setup is active, the script waits for price to return toward the Pullback EMA.
For a bullish setup:
🟢 Price must pull back toward the Pullback EMA.
🟢 The setup must not be invalidated.
🟢 Enough bars must have passed after breakout.
For a bearish setup:
🔴 Price must pull back toward the Pullback EMA from the opposite direction.
🔴 The setup must not be invalidated.
🔴 Enough bars must have passed after breakout.
The script also includes a maximum number of bars to find the pullback.
If no valid pullback appears within that window, the setup expires.
This prevents old breakout conditions from staying active forever.
━━━━━━━━━━━━━━━━━━━━━━
✅ CONFIRMATION ENGINE
━━━━━━━━━━━━━━━━━━━━━━
After a valid pullback touch, the script waits for confirmation.
There are three confirmation modes:
⚡ Fast
⚖️ Balanced
🛡️ Strict
⚡ Fast Mode
Fast mode is the earliest and simplest confirmation style.
It checks whether price closes back in the expected direction relative to the Pullback EMA.
This mode can react faster but may produce more noise.
Useful for:
• faster review
• active chart monitoring
• lower-timeframe analysis
• users who prefer earlier signals
⚖️ Balanced Mode
Balanced mode is the default middle-ground profile.
It requires directional candle behavior and also considers either a break of the previous candle level or wick/rejection behavior.
This helps the signal feel more structured than a basic close-based trigger.
Useful for:
• general chart review
• balanced signal frequency
• intraday analysis
• users who want neither too many nor too few signals
🛡️ Strict Mode
Strict mode is the most selective confirmation profile.
It requires stronger candle body behavior and a more decisive close.
This can reduce signal frequency.
Useful for:
• cleaner setups
• fewer signals
• higher selectivity
• users who prefer stricter confirmation
Important note:
A stricter mode does not guarantee better future outcomes.
It only applies stricter internal confirmation logic.
━━━━━━━━━━━━━━━━━━━━━━
📏 ATR-BASED DISTANCE FILTERING
━━━━━━━━━━━━━━━━━━━━━━
ATR is used in several areas of the script.
The script uses ATR to evaluate:
📌 breakout body strength
📌 confirmation candle body strength
📌 entry distance from Pullback EMA
📌 stop-loss projection distance
📌 TP/SL visual structure
The Max Entry Distance / ATR setting helps block entries that are too far away from the Pullback EMA.
This is important because a pullback system generally works best when the signal appears close enough to the pullback reference area.
If price runs too far away before confirmation, the setup may become less efficient from a risk/reward perspective.
━━━━━━━━━━━━━━━━━━━━━━
🧠 MCGINLEY DYNAMIC FILTER
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes an optional McGinley Dynamic filter.
The purpose of this filter is to avoid signals that appear too close to the McGinley Dynamic line.
This distance is measured using ATR.
When enabled, the script checks whether price has enough distance from the McGinley line.
This can help reduce low-quality signals in crowded or compressed areas.
The McGinley filter is optional.
Users can turn it off if they prefer to use only the main trend/pullback logic.
━━━━━━━━━━━━━━━━━━━━━━
📊 RSI DIRECTION FILTER
━━━━━━━━━━━━━━━━━━━━━━
The script also includes an optional RSI direction filter.
When enabled:
🟢 Long signals require RSI to be above the selected long threshold.
🔴 Short signals require RSI to be below the selected short threshold.
By default, the RSI filter is turned off.
This keeps the base system cleaner and allows users to decide whether they want additional oscillator-style directional filtering.
The RSI filter should be treated as context, not as a guarantee.
━━━━━━━━━━━━━━━━━━━━━━
🧊 SIGNAL COOLDOWN SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes a cooldown system to prevent signals from appearing too close to each other.
After a signal appears, the script waits for the selected number of bars before allowing another signal.
This helps reduce visual clutter and prevents the chart from printing too many labels in a short period.
The cooldown system is especially useful on lower timeframes or volatile assets.
━━━━━━━━━━━━━━━━━━━━━━
💪 STRONG SIGNAL LABELS
━━━━━━━━━━━━━━━━━━━━━━
When all required conditions align, the script can display a STRONG label on the chart.
A STRONG label appears only after the script detects:
📈 valid trend context
🚀 valid breakout setup
🎯 valid pullback touch
✅ valid confirmation
🧠 optional filter approval
🧊 cooldown approval
📦 no active trade conflict
The STRONG label does not mean the future outcome is guaranteed.
It simply means the script’s internal conditions aligned at that point.
━━━━━━━━━━━━━━━━━━━━━━
⭐ QUALITY SCORE TOOLTIP
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes a Quality Score tooltip on the STRONG label.
This score does not filter signals.
It does not change entries.
It does not block or approve trades.
It is only informational.
To view it, hover your mouse over the STRONG label.
The tooltip can show:
⭐ Quality Score
🌟 Star rating
📌 Direction
📈 Trend alignment
🔥 Body / ATR ratio
📍 EMA Distance / ATR
Example tooltip:
Quality Score: 82/100 ⭐⭐⭐⭐ | Quality: HIGH | Direction: LONG | Trend: Bullish | Body/ATR: 0.48 | EMA Distance/ATR: 0.32
Star guide:
⭐⭐⭐⭐⭐ = very strong internal quality
⭐⭐⭐⭐ = high internal quality
⭐⭐⭐ = good internal quality
⭐⭐ = medium internal quality
⭐ = lower internal quality
Important note:
A score of 82 does not mean there is an 82% chance of winning.
The score only summarizes internal signal quality according to the script’s own visual model.
━━━━━━━━━━━━━━━━━━━━━━
📦 TP / SL PROJECTION SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes an ATR-based TP/SL projection system.
When a STRONG signal appears, the script can draw:
📦 TP box
📦 SL box
🎯 TP1 line
🎯 TP2 line
🎯 TP3 line
🏷️ TP price labels
🏁 final result label
The system uses ATR-based risk.
Default structure:
🛡️ SL ATR Multiplier = 2.0
🎯 TP3 Reward R = 2.0R
🥉 TP1 = 25% of TP3 distance
🥈 TP2 = 50% of TP3 distance
🏆 TP3 = final target distance
This creates a clean visual projection of the potential trade structure.
The boxes are not broker orders.
They are visual projections based on the script’s internal logic.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TP1 / TP2 / TP3 / SL TRACKING
━━━━━━━━━━━━━━━━━━━━━━
The script tracks projected trade progress visually.
Possible outcome states include:
🥉 TP1 reached
🥈 TP2 reached
🏆 TP3 reached
🛑 SL reached
If price reaches TP3, the result is marked as TP3.
If price hits SL before reaching any TP level, the result is marked as SL.
If price reaches TP1 and later returns to SL, the result can be treated as a TP1-style protected outcome.
If price reaches TP2 and later returns to SL, the result can be treated as a TP2-style protected outcome.
This allows the visual projection to remember the best target reached before the trade closes.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-CANDLE TP/SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If TP and SL are both touched on the same candle, there is ambiguity.
The script cannot know the true intrabar sequence from standard OHLC data.
For that reason, Pullback Sniper Method uses a conservative rule:
🔴 If TP and SL are both touched on the same candle, the script treats it as SL.
This avoids overly optimistic visual outcomes when the true intrabar order is unknown.
This conservative approach is useful when reviewing historical visual performance.
━━━━━━━━━━━━━━━━━━━━━━
🙈 EARLY SL HIDING LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The script includes an early SL hiding feature.
If a projected trade hits SL within the first selected number of bars, the visual trade can be hidden and excluded from statistics.
Default:
🙈 Hide Early SL Bars = 3
This feature is designed to reduce extremely fast failed projections from cluttering the visual history.
Users should understand that this affects the visual/statistical display of the script.
It is not a broker-side execution rule.
━━━━━━━━━━━━━━━━━━━━━━
🗂️ HISTORICAL TRADE VISUALS
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method can keep historical TP/SL visuals on the chart.
This includes:
📦 previous TP boxes
📦 previous SL boxes
🎯 TP1 / TP2 / TP3 lines
🛑 SL lines
🏷️ result labels
🏷️ TP price labels
The script also includes a maximum historical trade limit.
Default:
🧮 Max Historical Trades = 40
This helps prevent TradingView object-limit issues while still allowing users to review past signals visually.
━━━━━━━━━━━━━━━━━━━━━━
📊 STATISTICS TABLE
━━━━━━━━━━━━━━━━━━━━━━
The statistics table summarizes visual trade outcomes.
It can display:
🥉 TP1 count
🥈 TP2 count
🏆 TP3 count
🛑 SL count
📊 Total closed trades
✅ Win Rate
The statistics are calculated internally using the script’s visual TP/SL logic.
They are not broker execution results.
They do not include real slippage, spread, commission, liquidity, partial fills, or order execution issues.
They should be used for visual review and educational analysis only.
━━━━━━━━━━━━━━━━━━━━━━
💎 PREMIUM DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes a premium-style dashboard.
The dashboard can display:
📈 Trend
📡 Current status
📊 Total trades
✅ Win rate
📈 Total R
📉 Average R
🧮 Profit Factor
🎯 Expectancy
🔥 Max win streak
❄️ Max loss streak
🔁 Current streak
⏱️ Average bars in trade
🏆 TP3 rate
🛑 SL rate
🧭 Best direction
🟢 Long win rate
🔴 Short win rate
📌 Active trade state
🧾 Last signal
🎯 Best TP reached
The dashboard is designed to give users a structured overview of the script’s internal visual results.
Important note:
These dashboard values are not official TradingView Strategy Tester results.
They are internally calculated visual-analysis metrics.
They should not be interpreted as guaranteed performance.
━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes three visual themes:
🔵 Neon Pro
🧊 Ice Blue
🟡 Gold Black
The theme system affects:
🎨 STRONG label colors
📦 TP/SL box colors
🎯 TP/SL line colors
🏷️ TP price labels
📊 statistics table colors
💎 premium dashboard colors
🟢 long-side visuals
🟠 short-side visuals
Color settings are handled internally to keep the Inputs tab cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🏷️ TP PRICE LABELS
━━━━━━━━━━━━━━━━━━━━━━
TP labels are displayed next to the TP levels rather than inside the boxes.
This helps keep the projection boxes cleaner.
The labels can show:
TP1 price
TP2 price
TP3 price
Example:
TP1 102450.5
TP2 103120.0
TP3 104300.0
This makes it easier to visually read the projected target levels without opening the settings or manually checking each line.
━━━━━━━━━━━━━━━━━━━━━━
🏁 RESULT LABELS
━━━━━━━━━━━━━━━━━━━━━━
When a projected trade closes, the script can display a result label.
Examples:
🏆 TP3 HIT WIN +2R
🥈 TP2 EXIT WIN +1R
🥉 TP1 EXIT WIN +0.5R
🛑 SL HIT LOSS -1R
The exact value depends on the selected TP/SL structure and the highest TP reached before closure.
These labels are visual summaries only.
They do not represent broker execution.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes alert conditions for:
🟢 Strong Long
🟠 Strong Short
🏆 TP3 Hit
🛑 SL Hit
🎯 Protected TP Exit
Users can create TradingView alerts from these alert conditions.
Alerts can help monitor the chart without constantly watching every candle.
Important note:
Alerts are based on the script’s conditions.
They are not trade execution instructions.
Users are responsible for validating alerts and applying their own risk management.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
Add Pullback Sniper Method [trade_w_samet] to your chart.
Start with the default settings.
Review the overall trend direction.
Wait for a valid breakout setup.
Let the script wait for a pullback toward the Pullback EMA.
Watch for a STRONG label after confirmation.
Hover over the STRONG label to review the Quality Score tooltip.
Review the TP/SL projection box.
Check TP1, TP2, TP3, and SL levels.
Observe whether the projected trade reaches TP levels or SL.
Use the statistics table for visual outcome review.
Use the premium dashboard for deeper internal metrics.
Use alerts if you want automated signal notifications.
Validate the behavior on the exact symbols and timeframes you personally study.
This indicator is best used as a structured review tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
📈 Trend Engine
⚡ Fast EMA Length
Controls the fast trend EMA. Lower values react faster, while higher values are smoother.
🐢 Slow EMA Length
Controls the broader trend EMA used for directional context.
🎯 Pullback EMA Length
Defines the EMA area where price is expected to pull back before confirmation.
📐 Trend Slope Lookback
Checks whether the fast EMA is sloping in the expected trend direction.
━━━━━━━━━━━━━━━━━━━━━━
🎯 Pullback Setup Engine
🚀 Breakout Lookback
Defines how many bars are used to detect a fresh breakout level.
🛑 Invalidation Lookback
Defines the invalidation level for the active pullback setup.
⏳ Min Bars After Breakout
Controls how many bars must pass after breakout before pullback detection begins.
⌛ Max Bars To Find Pullback
If no valid pullback appears within this range, the setup expires.
━━━━━━━━━━━━━━━━━━━━━━
✅ Confirmation Engine
✅ Confirmation Mode
Available modes:
⚡ Fast
⚖️ Balanced
🛡️ Strict
📏 ATR Length
ATR used for body-size and distance filters.
🔥 Min Breakout Body / ATR
Minimum breakout candle body size compared to ATR.
💪 Min Confirm Body / ATR
Minimum confirmation candle body size compared to ATR. Mainly used in Strict mode.
📍 Max Entry Distance / ATR
Blocks entries that are too far away from the Pullback EMA.
🧊 Use Signal Cooldown
Prevents too many signals from appearing too close to each other.
⏱️ Cooldown Bars
Number of bars to wait after a signal before allowing another one.
━━━━━━━━━━━━━━━━━━━━━━
🧠 Optional Filters
🧲 Block Signals Near McGinley
Avoids entries too close to the McGinley Dynamic line.
〽️ McGinley Length
Length used for the McGinley Dynamic filter.
📐 Min McGinley Distance / ATR
Minimum distance required between price and McGinley Dynamic.
📊 Use RSI Direction Filter
Filters long/short signals based on RSI direction.
📈 RSI Length
RSI length used for the optional direction filter.
🟢 RSI Long Minimum
Long signals are allowed only when RSI is above this value.
🔴 RSI Short Maximum
Short signals are allowed only when RSI is below this value.
━━━━━━━━━━━━━━━━━━━━━━
📦 Trade Visual Engine
📏 Show TP / SL Lines
Shows TP1, TP2, TP3, and SL lines.
📦 Show TP / SL Boxes
Shows TP and SL projection zones.
🏷️ Show Active TP Label
Shows the latest touched TP label while the projected trade is active.
🗂️ Show Historical TP / SL Trades
Keeps previous TP/SL boxes, lines, and labels on the chart.
🧮 Max Historical Trades
Limits historical visual trades to help avoid object-limit issues.
🛡️ SL ATR Length
ATR length used for stop-loss calculation.
🛑 SL ATR Multiplier
ATR multiplier used for stop-loss distance.
🎯 TP3 Reward R
Final TP target multiple based on the initial risk distance.
🥉 TP1 % Of TP3
TP1 distance as a percentage of final TP3 distance.
🥈 TP2 % Of TP3
TP2 distance as a percentage of final TP3 distance.
↔️ Initial TP / SL Length
Initial visual length of TP/SL lines and boxes.
🙈 Hide Early SL Bars
If SL is reached within this number of bars, the projection can be hidden and excluded from statistics.
📊 Show Statistics Table
Shows TP1, TP2, TP3, SL, total trades, and win rate.
💎 Show Premium Dashboard
Shows the extended dashboard with deeper internal metrics.
━━━━━━━━━━━━━━━━━━━━━━
🎨 Visual Settings
🎭 Color Theme
Available themes:
🔵 Neon Pro
🧊 Ice Blue
🟡 Gold Black
💪 Show STRONG Labels
Shows the main STRONG labels on the chart.
🔠 Signal Label Size
Controls the size of STRONG signal labels.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method uses familiar concepts such as:
📈 EMA trend context
🚀 breakout detection
🎯 pullback confirmation
🧠 optional technical filters
📦 ATR-based TP/SL projection
📊 dashboard metrics
🚨 alerts
These components are not unique by themselves.
The originality of the script lies in how these components are organized into one workflow:
Trend Engine
→ Breakout Detection
→ Pullback Validation
→ Confirmation Mode
→ Optional Filters
→ STRONG Label
→ Quality Tooltip
→ TP/SL Projection
→ Historical Trade Visualization
→ Statistics Table
→ Premium Dashboard
→ Alerts
This structure is intended to give users a cleaner way to review pullback-based trend continuation setups.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
🎛️ selected confirmation mode
📈 EMA lengths
🎯 pullback EMA length
🚀 breakout lookback
🛑 invalidation lookback
📏 ATR settings
🧠 McGinley filter
📊 RSI filter
🧊 cooldown setting
📦 TP/SL settings
📊 market
⏱️ timeframe
📉 symbol volatility
📚 available historical bars
A configuration that looks cleaner on one market may not behave the same way on another.
The TP/SL boxes are visual projections based on script rules.
They are not broker orders.
They do not account for real execution conditions.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
❌ It does not guarantee profitable trades.
❌ It does not predict future price movement.
❌ It does not replace risk management.
❌ It does not execute trades.
❌ It does not place orders.
❌ It does not include broker slippage.
❌ It does not include commissions.
❌ It does not include spreads.
❌ It uses bar-based chart data.
❌ Same-candle TP/SL order cannot be known from standard OHLC data.
❌ Same-candle TP/SL is handled conservatively as SL.
❌ Quality Score is not a win-rate prediction.
❌ Dashboard statistics are internal visual metrics, not broker results.
❌ ATR-based TP/SL projections are visual analysis tools, not trade instructions.
❌ Strong labels can still fail in choppy or low-quality market conditions.
❌ Historical visual behavior does not ensure future behavior.
For these reasons, Pullback Sniper Method should be used as an educational decision-support tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
✅ study pullback-based trend continuation
✅ want structured breakout/pullback confirmation
✅ want ATR-based TP/SL visualization
✅ want historical visual trade review
✅ want a clean statistics table
✅ want a premium-style dashboard
✅ want signal quality information without changing signal logic
✅ want configurable confirmation strictness
✅ want visual themes
✅ want alert-based monitoring
✅ prefer organized chart-based analysis
✅ want an open-source educational TradingView tool
It may be less suitable for users who:
❌ want guaranteed buy/sell signals
❌ want a fully automated trading bot
❌ do not use technical analysis
❌ do not want chart visuals
❌ expect one setting to work on every market
❌ want an indicator that replaces their own decision-making
❌ expect internal visual statistics to match broker execution results
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
✅ Start with the default settings.
✅ Use Balanced confirmation first.
✅ Test Fast and Strict modes only after understanding the default behavior.
✅ Review STRONG labels together with market structure.
✅ Hover over labels to inspect Quality Score context.
✅ Use TP/SL boxes as visual planning tools, not automatic orders.
✅ Review dashboard metrics as internal script feedback only.
✅ Avoid treating every signal as a trade.
✅ Test the indicator on the symbols and timeframes you actually use.
✅ Combine the tool with independent analysis and risk management.
✅ Keep expectations realistic.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT USAGE
━━━━━━━━━━━━━━━━━━━━━━
The script includes alert conditions for important events.
Available alert types include:
🟢 Strong Long
🟠 Strong Short
🏆 TP3 Hit
🛑 SL Hit
🎯 Protected TP Exit
A practical alert workflow:
Add the indicator to your chart.
Open TradingView’s alert window.
Select Pullback Sniper Method as the condition.
Choose the alert condition you want.
Configure frequency according to your preference.
Use alerts as monitoring tools only.
Confirm all alerts manually with your own analysis.
Alerts do not execute trades.
Alerts are not financial advice.
━━━━━━━━━━━━━━━━━━━━━━
🔓 OPEN-SOURCE NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published open-source for educational review, transparency, and community learning.
Users can inspect how the indicator works, study the logic, modify it for personal learning, and understand the internal conditions behind the visual output.
Please respect TradingView’s House Rules when reusing or republishing open-source code.
The purpose of open-source publication is to support learning and transparent script review.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method [trade_w_samet] is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
The TP/SL boxes, labels, dashboard statistics, Quality Score, and alerts are visual analysis tools only.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability.
Sürüm Notları
━━━━━━━━━━━━━━━━━━━━━━🆕 UPDATE — Pullback Sniper Method [trade_w_samet]
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method [trade_w_samet] has been updated with a cleaner visual theme system, clearer TP/SL zone separation, and a more focused dashboard layout. 🚀
This update keeps the original identity of the indicator while improving chart readability, especially around trade management visuals.
The main goal of this update is simple:
Make the chart cleaner, make TP/SL zones easier to read, and remove unnecessary performance-style metrics from the dashboard.
━━━━━━━━━━━━━━━━━━━━━━
🎨 THEME SYSTEM UPDATED
━━━━━━━━━━━━━━━━━━━━━━
The original themes were preserved:
• Neon Pro
• Ice Blue
• Gold Black
New Ice-Blue-style themes were added on top:
• Aqua Violet
• Frost Glass
• Polar Night
These new themes are designed to feel modern, clean, and premium without replacing the original visual style.
visualTheme = input.string("Neon Pro", "🎭 Color Theme", options = ["Neon Pro", "Ice Blue", "Gold Black", "Aqua Violet", "Frost Glass", "Polar Night"], group = visualGroup, tooltip = "Original themes are preserved. Aqua Violet, Frost Glass and Polar Night are new Ice-Blue-style themes with different TP/SL box colors and more modern dashboard surfaces.", display = display.none)
━━━━━━━━━━━━━━━━━━━━━━
📦 CLEARER TP / SL BOX COLORS
━━━━━━━━━━━━━━━━━━━━━━
TP and SL box colors were adjusted to create stronger visual separation.
TP zones now use clearer aqua / cyan / mint style colors.
SL zones now use stronger red / pink / magenta style colors.
This makes it easier to understand the trade structure at a glance.
The purpose is not to make the chart louder, but to make the risk and reward areas more readable.
tpBoxBgColor =
visualTheme == "Ice Blue" ? color.rgb(0, 80, 118) :
visualTheme == "Gold Black" ? color.rgb(98, 76, 0) :
visualTheme == "Aqua Violet" ? color.rgb(0, 70, 105) :
visualTheme == "Frost Glass" ? color.rgb(188, 248, 232) :
visualTheme == "Polar Night" ? color.rgb(0, 72, 104) :
color.rgb(0, 82, 56)
slBoxBgColor =
visualTheme == "Ice Blue" ? color.rgb(145, 24, 72) :
visualTheme == "Gold Black" ? color.rgb(150, 42, 18) :
visualTheme == "Aqua Violet" ? color.rgb(116, 28, 116) :
visualTheme == "Frost Glass" ? color.rgb(255, 202, 212) :
visualTheme == "Polar Night" ? color.rgb(120, 18, 82) :
color.rgb(150, 20, 42)
━━━━━━━━━━━━━━━━━━━━━━
📊 STATISTICS TABLE CLEANUP
━━━━━━━━━━━━━━━━━━━━━━
The statistics table was simplified.
The Win Rate row was removed from the statistics table to keep the table focused only on trade outcome distribution.
The table now focuses on:
• TP1 count / rate
• TP2 count / rate
• TP3 count / rate
• SL count / rate
• Total closed trades
This keeps the statistics table cleaner and less crowded.
━━━━━━━━━━━━━━━━━━━━━━
💎 PREMIUM DASHBOARD SIMPLIFIED
━━━━━━━━━━━━━━━━━━━━━━
The dashboard was rebuilt into a cleaner status panel.
Removed dashboard metrics:
• Win Rate
• Total R
• Average R
• Profit Factor
• Expectancy
• Current Streak
• Average Bars
• TP3 Rate
• SL Rate
• Long Win Rate
• Short Win Rate
• Best TP
• Max Win Streak
• Max Loss Streak
The dashboard now focuses only on the most important live information:
• Trend
• Status
• Total Trades
• Best Direction
• Active Trade
• Last Signal
This makes the dashboard cleaner and easier to use during live chart reading.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT DID NOT CHANGE
━━━━━━━━━━━━━━━━━━━━━━
The core pullback logic was not changed.
The indicator still uses the same general workflow:
• Trend direction
• Breakout detection
• Pullback confirmation
• ATR-based SL
• TP1 / TP2 / TP3 trade visualization
• Historical trade visuals
• Optional filters
• Signal cooldown
• Quality tooltip logic
This update is mainly focused on visual clarity and dashboard cleanup.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTE
━━━━━━━━━━━━━━━━━━━━━━
This indicator is designed for educational and chart-analysis purposes only.
It does not predict future price movement.
It does not guarantee profitable trades.
It should not be used as financial advice or as a standalone trading system.
Users should always combine this tool with their own analysis, risk management, and backtesting process.
━━━━━━━━━━━━━━━━━━━━━━
✅ UPDATE SUMMARY
━━━━━━━━━━━━━━━━━━━━━━
• Original themes preserved
• New Ice-Blue-style themes added
• TP/SL boxes made more distinguishable
• Statistics table cleaned
• Win Rate removed from stats table
• Dashboard simplified
• Unnecessary performance metrics removed
• Chart readability improved
• Core signal logic preserved
Pullback Sniper Method [trade_w_samet] is now cleaner, more readable, and more focused on practical chart use.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Clean indicators & Systems 💻
Free & PRO+ tools, setup guides & books.➡️
🌐 tradewsamet.com
whop.com/joined/tradewsamet
Free & PRO+ tools, setup guides & books.➡️
🌐 tradewsamet.com
whop.com/joined/tradewsamet
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Clean indicators & Systems 💻
Free & PRO+ tools, setup guides & books.➡️
🌐 tradewsamet.com
whop.com/joined/tradewsamet
Free & PRO+ tools, setup guides & books.➡️
🌐 tradewsamet.com
whop.com/joined/tradewsamet
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.