100% Free Downloads · No Hidden Costs Trusted software catalog since 2020
All Categories Antivirus & Security Developer Tools Games Internet & Browsers MQL5 Multimedia Office & Productivity Utilities

KS Box Breakout with Supertrend

by MQL5

★★★★★ Trusted download · 0 downloads
  • Version 1.1
  • Works on MT5
  • Free Trial — no cost to download
  • Direct download link, no installer bundling
MQL5 1.0 Mb

Product description

KS BoxBreakout — A volatility/volume-based range breakout detector.
KS Supertrend — A classic ATR-based trend-following system.

The result is a multi-layered indicator that helps traders identify consolidation boxes, high-probability breakouts, and trend direction/strength at the same time.
Core Idea

While the BoxBreakout part detects when price is building energy inside a range (using normalized volatility and volume analysis) and signals explosive breakouts, the Supertrend part confirms the overall trend direction and filters false signals with dynamic ATR bands.

This merged version is especially useful for breakout traders, trend followers, and swing traders who want both structure (boxes) and momentum confirmation (Supertrend) on the same chart.
Key Features
1. BoxBreakout Component

Detects consolidation boxes based on normalized volatility over a lookback period (inp_normLen + inp_boxLen).
Uses a sophisticated volatility calculation (standard deviation of normalized price position) to identify low-volatility "coiling" periods.
breakout filter (inp_strong): Triggers on close or midpoint of candle crossing the box.
Visual elements:
Colored rectangles showing the box (grey body + green/red volatility zones).
Volume analysis inside the box (Volume / Comparison / Delta mode).
Gauge on the current active box showing volume pressure (like a momentum meter).
Automatic breakout arrows (green for upside, red for downside) when price breaks the box.
Options for overlap allowance and history depth (inp_histDays).

2. Supertrend Component

Classic ATR-based Supertrend with two calculation methods:
Wilder’s ATR (smoother, default when ChangeATRMethod = true)
Simple SMA of True Range
Dynamic upper and lower bands that flip with trend changes.
Visuals:
Green line → Uptrend
Red line → Downtrend
Semi-transparent filling between price and the Supertrend line (green/red cloud) when Highlighting = true.
Buy/Sell arrows on trend flips.

3. Combined Power

You get breakout signals from BoxBreakout + trend confirmation from Supertrend.
Clean chart with:
Box rectangles + volume info
Supertrend lines + fill
Buy/Sell arrows from both systems
Built-in alerts (sound + push notifications) for Supertrend flips (configurable).

💬