OPEN-SOURCE SCRIPT
Tori x Larry Market Structure Lines

**Tori & Larry Williams Strategy V6**
A breakout indicator combining Larry Williams' 60 years of research with Tori Trades' practical techniques.
**Key Lines & Their Meanings**
- **Horizontal Solid Line**: Connects recent significant Pivot Highs/Lows
→ Larry Williams calls this “the single most useful tool” from his 60-year career
→ Break above = end of short-term downtrend → strong buy signal
- **Diagonal Dotted Line (Green)**: Connects the two most recent major highs or lows
→ **Safety Line** from Tori Trades → acts as dynamic trend line & trailing stop guide
→ Move your stop-loss along this line as price moves in your favor
- **Background Colors** (only first 2 hours of each session):
Asia: Blue (00:00–02:00 UTC)
Europe: Yellow (08:00–10:00 UTC)
US: Red (13:00–15:00 UTC)
→ Highlights high-volatility windows based on the “Krak Krak” rule
**Tips to Reduce Chart Clutter**
• Increase `pivotLookback` (try 10–20) → ignores minor swings, shows only major levels
• In settings, turn off either Trend Lines or Horizontal Lines to focus better
**Entry & Exit Rules**
• **Entry**: Strong breakout above the Horizontal Resistance Line → Enter LONG
• **Stop Loss**: Place just below/above the opposite Green Safety Line
• **Exit**:
1. Take profit when price reaches higher timeframe (1H) resistance
2. Exit immediately if price breaks below the Safety Line (trend reversal)
**Core Philosophy**
“Understanding trend principles is far more important than memorizing complex patterns.”
This tool automatically structures price highs/lows for clear, intuitive trading.
Adjust settings to fit your style and enjoy!
Feedback always welcome.
A breakout indicator combining Larry Williams' 60 years of research with Tori Trades' practical techniques.
**Key Lines & Their Meanings**
- **Horizontal Solid Line**: Connects recent significant Pivot Highs/Lows
→ Larry Williams calls this “the single most useful tool” from his 60-year career
→ Break above = end of short-term downtrend → strong buy signal
- **Diagonal Dotted Line (Green)**: Connects the two most recent major highs or lows
→ **Safety Line** from Tori Trades → acts as dynamic trend line & trailing stop guide
→ Move your stop-loss along this line as price moves in your favor
- **Background Colors** (only first 2 hours of each session):
Asia: Blue (00:00–02:00 UTC)
Europe: Yellow (08:00–10:00 UTC)
US: Red (13:00–15:00 UTC)
→ Highlights high-volatility windows based on the “Krak Krak” rule
**Tips to Reduce Chart Clutter**
• Increase `pivotLookback` (try 10–20) → ignores minor swings, shows only major levels
• In settings, turn off either Trend Lines or Horizontal Lines to focus better
**Entry & Exit Rules**
• **Entry**: Strong breakout above the Horizontal Resistance Line → Enter LONG
• **Stop Loss**: Place just below/above the opposite Green Safety Line
• **Exit**:
1. Take profit when price reaches higher timeframe (1H) resistance
2. Exit immediately if price breaks below the Safety Line (trend reversal)
**Core Philosophy**
“Understanding trend principles is far more important than memorizing complex patterns.”
This tool automatically structures price highs/lows for clear, intuitive trading.
Adjust settings to fit your style and enjoy!
Feedback always welcome.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.