PROTECTED SOURCE SCRIPT
Cập nhật

Supertrend Clean Pro + Discord Alert

60
📈 Supertrend Clean Pro with Discord Alert: Strategy Guide

1. Indicator Overview

The Supertrend Clean Pro with Discord Alert is a trend-following indicator that combines price action and volatility (ATR) to identify market direction.

Green Line: Bullish trend; focus on Long entries.
Red Line: Bearish trend; focus on Short entries.
Start Dots: High-visibility markers that appear exactly when a trend flips.

2. Dashboard Metrics

STATUS: Real-time trend direction.
MARKET: Uses the Volatility Filter. If "FLAT," the ATR is below its moving average, suggesting low-volume consolidation—typically a bad time to enter.
STOP GAP: The distance between current price and the Supertrend line (suggested Risk).
TREND GAIN: Tracks how many pips the current trend has moved since the last flip.

3. Best Execution Strategy

To maximize win rates, follow these rules based on the script logic:

A. The "Flat Line" Rule (Avoid Sideways Markets)

When the Supertrend line becomes flat or horizontal, the market is in a range.

Avoid: Taking new signals when the line has been flat for several candles.
Prefer: Signals where the Supertrend line has a clear **diagonal slope**, indicating strong momentum.

B. The Volatility Filter

The script includes an
Pine Script®
isVolatile
check. Only take signals when the Dashboard shows "ACTIVE 🔥". This ensures you aren't entering a trade during a "dead" market where price just "bleeds" through your stop loss without moving.

C. Risk Management

The indicator automatically calculates a 2.0 Risk-Reward Ratio (RRR). Use the Discord alert or the dashboard "Stop Gap" to set your position size.

---

⚙️ Optimized ATR Settings (2H Timeframe)

Settings are optimized for the 2-hour chart to balance noise reduction with trend sensitivity.

| Symbol | ATR Period | Multiplier | Notes |
| --- | --- | --- | --- |
| XAUUSD (Gold) | 10 | 3.5 | Wider multiplier to handle gold’s "whipsaws." |
| XAGUSD (Silver) | 12 | 3.0 | Silver requires a slightly longer period for stability. |
| EURUSD | 10 | 2.5 | Lower multiplier for tight-ranging FX pairs. |
| GBPUSD | 10 | 3.0 | Standard setting for the "Cable's" volatility. |
| USDCAD | 14 | 3.0 | Slightly slower period to filter CAD oil-related noise. |
| AUDJPY | 10 | 2.8 | Captures yen-carry trade trends effectively. |
| GBPJPY | 12 | 4.0 | High volatility requires a much wider multiplier. |
| BTCUSD | 10 | 4.0 | Wide multiplier to avoid being stopped out by BTC spikes. |

Disclaimer: Trading foreign exchange is highly speculative and carries a substantial risk of loss. Past performance does not guarantee or predict future results. The publisher, and any associated software, automated trading systems ("bots"), or indicators, are not responsible for any financial losses or damages resulting from their use. You alone assume all risk.
Phát hành các Ghi chú
📘 Indicator User Guide

1. Visual Components

Trend Lines: Green indicates a Bullish trend; Red indicates a Bearish trend.
Start Dots: Large circles that mark the exact candle where a trend reversal was confirmed.
52-Week Lines: Horizontal dashed lines representing the highest and lowest prices of the last 252 trading days.
The Dashboard: A real-time data hub showing your Win Rate, Volatility Status, and current Trend Gain in pips.

2. Strategy Logic & Dashboard Metrics

Win Rate %: Based on a historical backtest of your current settings. It tracks if the price hits a 2.0 Risk-Reward target before hitting the Supertrend stop loss.
Market Status: ACTIVE 🔥: High volatility; ideal for trend-following.
FLAT ↔️: Low volatility; price is likely to chop. Avoid new entries.

Trend Gain: Real-time pip tracking from the start of the current trend flip.

3. The "Flat Line" Filter (Pro Tip)

A key rule for this indicator is to observe the slope of the Supertrend line:

Diagonal Slope: Indicates strong momentum. High probability of reaching Take Profit.
Flat/Horizontal Line: Indicates price is consolidating or "basing."
Action: Avoid opening new trades when the line is flat.
Reason: Flat lines act as magnets for price; the market is likely to oscillate around the line, triggering your stop loss before a move happens.


⚙️ Optimized Settings (2H Timeframe)

*Settings are calibrated to balance the 2.0 RRR target with the specific volatility profiles of each asset.*

| Asset | ATR Period | Multiplier | Strategy Note |
| --- | --- | --- | --- |
| XAUUSD (Gold) | 10 | 3.5 | Wider for gold's aggressive "stop hunts." |
| XAGUSD (Silver) | 12 | 3.0 | Smoothes out silver's erratic price spikes. |
| EURUSD | 10 | 2.5 | Lower multiplier for steady, tight FX trends. |
| GBPUSD | 10 | 3.0 | Standard setting for "The Cable's" 2H swings. |
| USDCAD | 14 | 3.0 | Higher period to filter out oil-related noise. |
| AUDJPY | 10 | 2.8 | Tightened for sensitive JPY carry-trade moves. |
| GBPJPY | 12 | 4.0 | Maximum width needed for the "Dragon's" volatility. |
| BTCUSD | 10 | 4.0 | High multiplier to survive 2H crypto volatility. |

---

🚀 Best Way to Trade

1. Check the Dashboard: Ensure the Win Rate is >50% and Market is **ACTIVE 🔥**.
2. Identify the Signal: Wait for a **Start Dot** to appear.
3. Confirm the 52W Context: If a Buy signal occurs near the **52-Week High**, be cautious of a "double top" unless a **52W Breakout** alert follows.
4. Execute: Set your Stop Loss at the `Trailing Stop Loss Start at` value provided in the Discord alert.
5. Exit: Close at the `Take Profit` level or when the Supertrend line flips color.

Phát hành các Ghi chú
📘 SUPERTREND Pro v8.5: Operations Manual

🚀 Key Enhancements (v8.5 vs. Legacy)

The transition from the "Clean Pro + 52W" version to v8.5 focuses on Professional Diagnostics and Risk Transparency.

Logic Diagnostic Engine: The indicator now calculates exactly why a trade was filtered out. This is communicated via the "Rule Violated" field in Discord and the "Alignment" row on the Dashboard.
Institutional Terminology: Technical labels have been updated to match professional trading standards:
Trend Power (formerly ADX)
Momentum (formerly RSI)


Fixed HTF Resolution: You can now lock the 200 EMA Filter to a specific higher timeframe (e.g., Daily or 4H) regardless of your chart timeframe.
Live Stop Gap: A real-time calculation of the pip distance from the current price to the Supertrend line, allowing for instant risk assessment.
Signature Discord Alerts: Fully customized JSON payloads with color-coded sidebars (🟢 Buy, 🔴 Sell, 🟡 Blocked) and professional branding.

⚠️ NOTE: The Dashboard is fully dynamic. It updates in real-time with every price tick. It does not wait for an alert to trigger; it reflects the live market environment and rule alignment as new bars emerge.

---

⚙️ Quick Reference: Settings Guide

| Setting | Function | Strategic Purpose |
| --- | --- | --- |
| ATR Period | Sensitivity | Defines the lookback for volatility. 10-12 is standard. |
| Multiplier | Gap Distance | Higher values (4.0+) reduce noise in volatile assets like BTC. |
| HTF EMA TF | Trend Bias | Set to 240 (4H) or D (Daily) to ensure macro alignment. |
| Trend Power | Strength Filter | Ignores choppy markets. Keep > 25 for high-probability setups. |
| Momentum | Entry Ceiling | Prevents "chasing" overextended moves. |

---

📊 Master Preset Cheat Sheet (M30 & H2)

1. High Volatility (Metals & Crypto)

| Symbol | TF | Supertrend (A/M) | HTF Filter | Power | Momentum (B/S) |
| --- | --- | --- | --- | --- | --- |
| XAUUSD 🟡 | M30 | 12 / 4.5 | D (Daily) | 30 | 70 / 30 |
| XAUUSD 🟡 | H2 | 20 / 5.0 | D (Daily) | 30 | 75 / 25 |
| XAGUSD ⚪ | M30 | 12 / 4.5 | D (Daily) | 30 | 70 / 30 |
| XAGUSD ⚪ | H2 | 20 / 5.0 | D (Daily) | 30 | 75 / 25 |
| BTCUSD 🟠 | M30 | 14 / 6.0 | D (Daily) | 30 | 75 / 25 |
| BTCUSD 🟠 | H2 | 20 / 8.0 | W (Weekly) | 35 | 80 / 20 |

2. Standard Volatility (Forex Majors & Crosses)

| Symbol | TF | Supertrend (A/M) | HTF Filter | Power | Momentum (B/S) |
| --- | --- | --- | --- | --- | --- |
| AUDUSD 🐨 | M30 | 14 / 3.5 | 240 (4H) | 25 | 65 / 35 |
| AUDUSD 🐨 | H2 | 14 / 4.0 | D (Daily) | 25 | 65 / 35 |
| CADJPY 🍁 | M30 | 14 / 3.5 | 240 (4H) | 25 | 65 / 35 |
| CADJPY 🍁 | H2 | 14 / 4.0 | D (Daily) | 25 | 65 / 35 |
| EURUSD 🇪🇺 | M30 | 14 / 3.0 | 240 (4H) | 25 | 60 / 40 |
| EURUSD 🇪🇺 | H2 | 14 / 4.0 | D (Daily) | 25 | 65 / 35 |
| GBPUSD 🇬🇧 | M30 | 14 / 3.0 | 240 (4H) | 25 | 60 / 40 |
| GBPUSD 🇬🇧 | H2 | 14 / 4.0 | D (Daily) | 25 | 65 / 35 |

---

🛠️ Diagnostic Alert Decoder

If you receive a Blocked Alert (Yellow Sidebar), check these rules:

1. HTF EMA ❌: Price is on the "wrong" side of the macro trend.
2. Trend Power ❌: Market is ranging; not enough volume for a breakout.
3. Momentum ❌: RSI is at an extreme; wait for a pullback to avoid "buying the top."

Phát hành các Ghi chú
"In the latest v8.5 update, we've added Directional Intelligence. Your dashboard and Discord alerts will now tell you exactly which side is being blocked (Blocked Buy vs. Blocked Sell). We also added the Live Momentum (RSI) readout directly to the display, so you can see the market's 'energy level' in real-time without extra windows open. It’s all about total transparency on every tick!"

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.