Structure Break Model

Supported Assets & Timeframe
This indicator is specifically designed and calibrated for 30 USDT trading pairs on the H4 timeframe, all of which have been actively traded for over 1,000 days, including:
BTCUSDT, ETHUSDT, XRPUSDT, BNBUSDT, SOLUSDT, TRXUSDT, DOGEUSDT, ADAUSDT, XLMUSDT, BCHUSDT,
ZECUSDT, LINKUSDT, HBARUSDT, UNIUSDT, LTCUSDT, AVAXUSDT, SHIBUSDT, DOTUSDT, AAVEUSDT, NEARUSDT,
ETCUSDT, ICPUSDT, FILUSDT, APTUSDT, ENSUSDT, ATOMUSDT, VETUSDT, QNTUSDT, CRVUSDT, INJUSDT
Using the script on other pairs or timeframes will trigger an automatic warning to prevent incorrect usage.
1. Structural Weakening Model (Core Logic)
At the heart of the system lies the Structural Weakening Model (SWM) — a multi-layered market-structure engine that identifies momentum exhaustion and confirms genuine reversals using pivot-based swing architecture.
Pivot Structure Mapping
The indicator continuously analyzes Pivot Highs and Pivot Lows (length = 5) to establish clean, stable swing structure.
Weakening Pattern Detection
The model evaluates directional fatigue by detecting pivot sequences:
2–6 Higher Lows → Weakening buyers → Potential SELL setup
2–6 Lower Highs → Weakening sellers → Potential BUY setup
This mechanism identifies “compression zones” where market pressure fades before a structural shift.
Breakout Confirmation Layer
A signal is only triggered when price breaks the final structural anchor of the pivot chain.
This ensures:
Optional Trend Filter (MA Alignment)
Users may select EMA, SMA, WMA, HMA and more.
Price above MA → BUY-only mode
Price below MA → SELL-only mode
This keeps signals aligned with broader market flow.
Visual Example – SELL Signal (TP Hit)
2. Signal Conditions (How the System Works)
SELL Setups
Triggered when:
Price forms 2–6 higher lows, signaling weakening buyers
Price breaks below the structural pivot anchor
(Optional) Price is below the MA filter
BUY Setups
Triggered when:
Price forms 2–6 lower highs, signaling weakening sellers
Price breaks above the structural pivot anchor
(Optional) Price is above the MA filter
Visual Example – SELL Signal (SL Hit)
3. Automatic Capital Management
The script integrates full risk-management utilities:
Starting capital (default 10,000 USDT)
Risk % per trade
Leverage (x10 → x100)
Automatic position sizing
Margin requirements
Real-time TP/SL calculations
This turns the indicator into not just a signal tool, but a complete trading assistant.
4. Flexible Stop-Loss System
Users may choose:
Swing-based SL (nearest structural pivot)
Fixed SL %
Custom TP based on R:R (1:1.5 → 1:5)
Default R:R = 1:2
SL/TP levels update instantly whenever settings change.
Input Settings Menu
5. Visual Interface
The chart displays:
Entry, TP, SL (extended 20 candles)
BUY/SELL labels
Real-time TP/SL hit status
Full info panel:
Latest signal
Entry price
TP/SL
Leverage
Risk %
Required margin
Win/loss & R statistics
Days on chart: The total number of trading days calculated from your chart’s visible data
All signals follow the exact same logic in historical and real-time charts.
Zero repainting.
6. Internal Backtest Engine (Not Official TradingView Backtesting)
The script includes an internal backtest calculator that evaluates:
SL methods
TP R:R settings
Signal quality
Aggregate R performance
⚠ This is an internal calculation tool, not the official TradingView Strategy Tester.
Its purpose is to help users understand how different settings behave when applied to past data.
7. 1-Day Free Trial
Users may message the author on TradingView to request:
1-day trial access
Ability to test signals in real-time
Compare different SL/RR settings
Verify that the indicator does not repaint
Inspect how the engine behaves on the supported 30-coin dataset
This allows users to evaluate the tool transparently before subscribing.
8. Market Coverage & Deep Backtest Basis This indicator is calibrated on the 30 largest USDT pairs, providing a deep historical dataset with stable liquidity and clearer structural swings. The long backtest range and high signal density help reduce noise and ensure more consistent behavior across different market conditions.
⚠ Disclaimer
This indicator is a quantitative analysis tool created for educational purposes only.
All “optimal settings” are derived from historical market behavior and do not guarantee future performance.
Market conditions change, and every trader must apply independent risk management.
Trading involves risk.
Use responsibly.
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ tohungmc โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้งานที่ผู้เขียนอนุมัตเท่านั้นจึงจะสามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องขอและได้รับอนุญาตก่อนใช้งาน ซึ่งโดยทั่วไปจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม โปรดทำตามคำแนะนำของผู้เขียนด้านล่าง หรือติดต่อ tohungmc โดยตรง
TradingView ไม่แนะนำให้จ่ายเงินหรือใช้สคริปต์ เว้นแต่คุณจะเชื่อถือผู้เขียนและเข้าใจวิธีการทำงานของสคริปต์นั้นอย่างถ่องแท้ คุณยังสามารถหาทางเลือกแบบโอเพนซอร์สฟรีได้ใน สคริปต์ชุมชนของเรา