OPEN-SOURCE SCRIPT
Mis à jour

Larry Williams Qualified Trend Break Signals [tradeviZion]

10 647
Larry Williams Qualified Trend Break Signals - Description

📖 Introduction

Welcome to the Larry Williams Qualified Trend Break Signals [tradeviZion] indicator. This description explains how the indicator works, its settings, and how to use it.

This indicator demonstrates Larry Williams' Qualified Trend Line Break technique - his preferred method for timing precise entries on daily charts when you already have a confirmed market setup.

---

🎯 About This Script

This indicator implements the Qualified Trend Line Break system - an entry technique that qualifies trend line breaks for better timing.

Important: This is NOT a signal generator. It's an entry timing tool for traders who already have a market setup and confirmation. Use it only after establishing weekly bias and daily confirmation.

Why We Made This Indicator:

This indicator demonstrates Larry Williams' favorite entry technique for daily timeframe trading. It's designed to be used as part of his complete methodology:

How To Use It Properly:
  • First, establish your setup: Check weekly chart for overall market bias (bullish/bearish)
  • Then confirm on daily: Look for confirmation signals on daily timeframe
  • Finally, use trend breaks: Enter trades only when trend breaks align with your setup direction


Important Warning: This is NOT a standalone buy/sell signal indicator. Using trend breaks without proper setup and confirmation will likely produce poor results. It's a timing tool for entries, not a signal generator.


---

About The Qualification Rules

The system improves on qualification methodology with these key changes:
For BUY signals (breaking above downtrend lines):
  • Break is usually bad if previous bar closed higher
  • But can still be good if:
    1. Previous bar was inside the prior bar AND that prior bar closed lower
    2. Price gaps above trend line and moves up at least one tick
    3. Previous bar closed below its own opening price


For SELL signals (breaking below uptrend lines):
  • Break is usually bad if previous bar closed lower
  • But can still be good if:
    1. Previous bar was inside the prior bar AND that prior bar closed higher
    2. Price gaps below trend line and moves down at least one tick
    3. Previous bar closed above its own opening price


---

📐 How The Qualification System Works

The trend break system is based on qualification methodology as developed by Larry Williams. It solves the problem where trend line breaks often fail and price goes back.

Trend Line Setup:
  • For BUY signals: Connect the two most recent declining swing highs to make a downtrend line
  • For SELL signals: Connect the two most recent rising swing lows to make an uptrend line

snapshot
Inside Bar Rule:
A key principle: Trend breaks that occur on inside bars are completely ignored. The system only evaluates breaks that occur on regular bars, making signals more reliable.

snapshot
How It Works In The Code

The indicator follows these steps:
  1. Finds swing points: Identifies highs and lows in the price action
  2. Draws trend lines: Connects 2 recent swing points to make trend lines
  3. Checks inside bars: Ignores breaks that happen on inside bars
  4. Qualifies signals: Uses the rules to check if breaks are good or bad
  5. Shows signals: Only displays qualified BUY/SELL signals
  6. Optional feature: Can show disqualified signals


⚙️ Settings

The indicator has 3 groups of settings to customize how it works.
snapshot
---

📊 Signal Settings

Show Signals
Default: ON

  • ON: Displays green/red labels when trend breaks qualify for entry
  • OFF: Hides entry labels (trend lines still show for analysis)
  • Remember: These are entry TIMING signals, not standalone buy/sell signals


Signal Selection
Default: Both | Options: Buy Only, Sell Only, Both

  • Buy Only: Shows only BUY signals
  • Sell Only: Shows only SELL signals
  • Both: Shows both BUY and SELL signals


Break Validation
Default: Close | Options: Break Level, Close

  • Break Level: Signal when price touches the trend line (more signals)
  • Close: Signal when bar closes beyond trend line (fewer signals)
  • Tip: Try "Close" first for better signals


Show Disqualified
Default: OFF | Options: ON/OFF

  • What it does: Shows bad breaks
  • ON: Shows gray ❌ labels with explanations
  • OFF: Hides bad signals

snapshot
👁️ Display Settings

Show Trend Lines
Default: ON

  • What it does: Shows trend lines on the chart
  • Looks like: Dashed blue lines connecting swing points
  • Goes to: Extends into future bars
  • Why: Shows where breakouts are expected


Show Swing Points
Default: ON

  • What it does: Marks highs/lows used for trend lines
  • Looks like: Shape markers at swing locations
  • Shows: How trend lines are constructed


Marker Style
Default: Circle | Options: Circle, Triangle, Square, Diamond, Cross

  • What it does: Choose shape for swing markers
  • Options: Circle, Triangle, Square, Diamond, Cross
  • Best choice: Circle is clear without being busy


Marker Size
Default: 3 | Range: 1-10

  • What it does: Controls marker size
  • Range: 1 (tiny) to 10 (large)


Show Inside Bars
Default: ON

  • What it does: Highlights inside bars
  • Looks like: Light orange background on inside bars
  • Note: These bars are ignored for break qualification
  • Important: Inside bars are ignored for break qualification

snapshot
🎨 Colors

Signal Colors
  • Buy Signal (Default: Green) - Color for good BUY signals
  • Sell Signal (Default: Red) - Color for good SELL signals
  • Disqualified (Default: Gray) - Color for bad signals


Display Colors
  • Trend Line (Default: Blue) - Color for trend lines and markers
  • Inside Bar (Default: Light Orange) - Background for inside bars

snapshot
💡 How To Use It In Larry Williams Methodology

  1. Step 1 - Weekly Setup: Identify market bias on weekly chart (clear bullish/bearish trend)
  2. Step 2 - Daily Confirmation: Find confirmation signals on daily timeframe
  3. Step 3 - Trend Break Entry: Use qualified trend breaks only in setup direction
  4. Important: Never enter based on trend breaks alone - always require setup + confirmation first


⚠️ Important Notice

This indicator implements Larry Williams' trend break entry technique. It should NOT be used as standalone buy/sell signals. Only use trend breaks for entry timing after you have established a proper market setup and confirmation. Poor results will occur if using signals without the complete Larry Williams methodology.

Credits: Based on Larry Williams' trading approach and qualification methodology. Swing detection logic adapted from "Larry Williams: Market Structure" by Smollet.
Notes de version
🆕 V2 Release Notes
snapshot
Alert System - Complete alert functionality added. Choose from individual signal alerts (Qualified BUY, Disqualified BUY, Qualified SELL, Disqualified SELL) or use "Any alert() function call" to receive all signals.

Alert Settings - New "🔔 Alerts" settings group with "Enable Alerts" toggle and "Alert Frequency" dropdown (Once Per Bar Close or Every Bar).

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.