HMA 34 Dual-Fractal Projections - VdubusVdubus MacD Divergence Trend Break Signal Generator :Here:-
HMA 18 Dual-Fractal Projections
Overview
The HMA 18 Dual-Fractal Projections is a technical analysis tool designed to identify market structure and potential breakout patterns by analyzing the pivots of a Hull Moving Average (HMA).
Unlike standard trendline indicators that struggle to balance "big picture" trends with immediate price action, this indicator utilizes a Dual-Fractal approach. It simultaneously calculates two separate timelines—Macro and Micro—to visualize both the dominant channel and the developing chart patterns (such as wedges or triangles) in real-time.
Visual Guide
The indicator plots three key elements on the main chart:
The HMA Line (Blue): A smooth, fast-acting moving average (default length 34) that serves as the baseline for all calculations.
Macro Structure (Solid, Thick Lines):
Red (Solid): Major Resistance.
Green (Solid): Major Support.
Purpose: Identifies the long-term trend channel. These lines react slowly and filter out noise.
Micro Structure (Dashed, Thin Lines):
Red (Dashed): Immediate Resistance.
Green (Dashed): Immediate Support.
Purpose: Identifies the short-term market structure. These lines react quickly to show forming wedges, triangles, or flags.
How It Works
The indicator applies a "Pivot High/Low" algorithm directly to the HMA data rather than raw price data. This filters out candle wicks and volatility, ensuring lines are drawn based on established momentum shifts.
Layer 1 (Macro): Uses a large "Lookback" period (default 44 bars) to find significant peaks and valleys. It connects the most recent major pivot to the previous one, projecting a line forward to show where the major trend channel lies.
Layer 2 (Micro): Uses a small "Lookback" period (default 10 bars) to find local peaks and valleys. This allows you to see how price is behaving within the larger channel.
Settings & Configuration
HMA Settings
HMA Length: The length of the Hull Moving Average.
Default: 34 (Matches the "visually pleasing" setting from recent testing).
Note: Set to 18 for a faster, more reactive baseline (scalping).
Layer 1: Macro (Big Channel)
Macro Lookback: Determines how many bars must pass before a peak is confirmed.
Default: 44. High values find broad, established channels.
Max Macro Lines: How many historical lines to keep on the chart.
Default: 1 (Keeps the chart clean, showing only the current structure).
Extend Macro Lines: Projects the lines infinitely to the right to predict future support/resistance zones.
Layer 2: Micro (Current Pattern)
Micro Lookback: A lower sensitivity setting to catch immediate structure.
Default: 10. Low values will pinpoint the exact boundaries of small wedges or flags forming right now.
Trading Strategy & Interpretation
1. The "Squeeze" (Wedge Identification) This is the primary use case.
Look for scenarios where the Macro Lines (Solid) are wide/parallel, but the Micro Lines (Dashed) are rapidly converging (pointing towards each other).
This indicates that while the main trend is intact, momentum is compressing. A breakout is imminent where the dashed lines intersect.
2. Trend Channels
When both Solid and Dashed lines are roughly parallel and sloping in the same direction, the trend is healthy and strong. Price is respecting both the short-term and long-term momentum.
3. Divergence / Early Reversal Warning
If the Macro Line is sloping UP, but the Micro Line starts sloping DOWN (crossing inside), it indicates a loss of momentum and a potential reversal before the price actually breaks the major trendline.
===========================================================================
2. Micro/Macro Cross Alert
A new input, Enable Micro/Macro Cross Alert, has been added under the "Alerts & Features" section.
This alert condition is triggered when the momentum of the Micro Structure exceeds the momentum of the Macro Structure, which is a high-probability signal for a breakout:
Bullish Alert: The Micro High (dashed red line) crosses above the Macro High (solid red line).
Bearish Alert: The Micro Low (dashed green line) crosses below the Macro Low (solid green line).
To set up the actual alert on your chart:
Right-click on the chart.
Select "Add alert on HMA 34 Dual-Fractal Projections".
In the Condition dropdown, select the indicator's name.
For the main alert criteria, choose "Any alert()".
Select your preferred alert actions (e.g., notification, email).
Patrones de gráficos
Ben D"s IndicatorIt Auto Draws and Detects, Channels draws buy and sell signals based on over bought, oversold and a few other indicators. It works on all time frames! Enjoy! Leave a comment if you like it.
Simple Price ChannelSimple Price Channel
This indicator plots a basic volatility-based channel around a moving average.
Features:
Midline using Simple Moving Average (SMA)
Upper & lower bands using ATR or true range
Channel fill for easy trend visualisation
This script is designed for educational and analytical purposes only.
It does not provide signals, alerts, or financial advice.
AG Pro Dynamic Channels PremiumAG Pro Dynamic Channels Premium
The Gold Standard in Automated Market Structure.
AG Pro Dynamic Channels Premium is the culmination of advanced algorithmic development, designed specifically for professional traders who refuse to compromise on chart clarity.
While standard indicators flood your screen with noise, this Premium edition employs a proprietary "Smart Filtering Engine" to identify, validate, and project only the most statistically significant support and resistance channels. It transforms chaos into a clear, actionable roadmap.
🏆 Why Go Premium?
This is not just an update; it is a complete overhaul of the trend detection logic.
1. 🧠 Smart Quality Control (Exclusive) The core difference in the Premium version is its ability to "think" before it draws.
Volatility Filtering: The script analyzes the slope of every potential trend. It automatically rejects unsustainable "pump/dump" moves and flat ranges, keeping only tradeable structures.
Wick Exclusion Logic: An advanced algorithm that ignores extreme volatility spikes (wicks), drawing channels based on candle body consolidation for higher precision.
2. 🏷️ Intelligent Labeling System Instant situational awareness. Every channel is auto-labeled (e.g., Mj Ext Up), so you know exactly which market phase (Major or Minor, Internal or External) you are trading in without guessing.
3. ⚡ Zero-Lag Optimization The code has been refactored for maximum efficiency, ensuring faster load times and smoother performance even on lower timeframes.
💎 Key Features
Dual-Layer Architecture: Simultaneously tracks Major Trends (for bias) and Minor Trends (for entries).
Dynamic Support & Resistance: The dotted midline acts as a high-probability reversal zone.
Institutional Grade Alerts: Fully customizable alerts for Breakouts and Reactions, complete with metadata for automated trading systems.
Auto-Tuning: Default settings are optimized for a balance of sensitivity and reliability, but fully customizable for specific assets (Crypto, Forex, Indices).
⚙️ Methodology (How It Works)
To comply with TradingView House Rules, here is the technical logic behind the script:
Pivot Detection: The script scans price action using a highly sensitive lookback period to find raw Pivot Highs and Lows.
Structure Mapping: It processes these points to define the Market Structure (HH, LL, LH, HL).
Validation Layer: Before rendering, the Smart Filter calculates the channel's duration and slope coefficient. If the channel is too short or too steep (violating the user-defined Max Slope threshold), it is discarded as "Market Noise."
Projection: Validated channels are drawn with dynamic extensions and fill zones.
🔒 How to Get Access
This is an Invite-Only script. Access is restricted to authorized users.
To Request Access: Please send me a private message on TradingView or check the links in my profile signature for more information.
Existing Members: If you have active access, the script will load automatically.
Disclaimer: Technical analysis tools are for educational purposes. Past performance does not guarantee future results.
Developed by Ali Gurtuna (AG Pro Series).
Kernel Channel [BackQuant]Kernel Channel
A non-parametric, kernel-weighted trend channel that adapts to local structure, smooths noise without lagging like moving averages, and highlights volatility compressions, expansions, and directional bias through a flexible choice of kernels, band types, and squeeze logic.
What this is
This indicator builds a full trend channel using kernel regression rather than classical averaging. Instead of a simple moving average or exponential weighting, the midline is computed as a kernel-weighted expectation of past values. This allows it to adapt to local shape, give more weight to nearby bars, and reduce distortion from outliers.
You can think of it as a sliding local smoother where you define both the “window” of influence (Window Length) and the “locality strength” (Bandwidth). The result is a flexible midline with optional upper and lower bands derived from kernel-weighted ATR or kernel-weighted standard deviation, letting you visualize volatility in a structurally consistent way.
Three plotting modes help demonstrate this difference:
When the midline is shown alone, you get a smooth, adaptive baseline that behaves almost like a regression moving average, as shown in this view:
When full channels are enabled, you see how standard deviation reacts to local structure with dynamically widening and tightening bands, a mode illustrated here:
When ATR mode is chosen instead of StdDev, band width reflects breadth of movement rather than variance, creating a volatility-aware envelope like the example here:
Why kernels
Classical moving averages allocate fixed weights. Kernels let the user define weighting shape:
Epanechnikov — emphasizes bars near the current bar, fades fast, stable and smooth.
Triangular — linear decay, simple and responsive.
Laplacian — exponential decay from the current point, sharper reactivity.
Cosine — gentle periodic decay, balanced smoothness for trend filters.
Using these in combination with a bandwidth parameter gives fine control over smoothness vs responsiveness. Smaller bandwidths give sharper local sensitivity, larger bandwidths give smoother curvature.
How it works (core logic)
The indicator computes three building blocks:
1) Kernel-weighted midline
For every bar, a sliding window looks back Window Length bars. Each bar in this window receives a kernel weight depending on:
its index distance from the present
the chosen kernel shape
the bandwidth parameter (locality)
Weights form the denominator, weighted values form the numerator, and the resulting ratio is the kernel regression mean. This midline is the central trend.
2) Kernel-based width
You choose one of two band types:
Kernel ATR — ATR values are kernel-averaged, producing a smooth, volatility-based width that is not dependent on variance. Ideal for directional trend channels and regime separation.
Kernel StdDev — local variance around the midline is computed through kernel weighting. This produces a true statistical envelope that narrows in quiet periods and widens in noisy areas.
Width is scaled using Band Multiplier , controlling how far the envelope extends.
3) Upper and lower channels
Provided midline and width exist, the channel edges are:
Upper = midline + bandMult × width
Lower = midline − bandMult × width
These create smooth structures around price that adapt continuously.
Plotting modes
The indicator supports multiple visual styles depending on what you want to emphasize.
When only the midline is displayed, you get a pure kernel trend: a smooth regression-like curve that reacts to local structure while filtering noise, demonstrated here: This provides a clean read on direction and slope.
With full channels enabled, the behavior of the bands becomes visible. Standard deviation mode creates elastic boundaries that tighten during compressions and widen during turbulence, which you can see in the band-focused demonstration: This helps identify expansion events, volatility clusters, and breakouts.
ATR mode shifts interpretation from statistical variance to raw movement amplitude. This makes channels less sensitive to outliers and more consistent across trend phases, as shown in this ATR variation example: This mode is particularly useful for breakout systems and bar-range regimes.
Regime detection and bar coloring
The slope of the midline defines directional bias:
Up-slope → green
Down-slope → red
Flat → gray
A secondary regime filter compares close to the channel:
Trend Up Strong — close above upper band and midline rising.
Trend Down Strong — close below lower band and midline falling.
Trend Up Weak — close between midline and upper band with rising slope.
Trend Down Weak — close between lower band and midline with falling slope.
Compression mode — squeeze conditions.
Bar coloring is optional and can be toggled for cleaner charts.
Squeeze logic
The indicator includes non-standard squeeze detection based on relative width , defined as:
width / |midline|
This gives a dimensionless measure of how “tight” or “loose” the channel is, normalized for trend level.
A rolling window evaluates the percentile rank of current width relative to past behavior. If the width is in the lowest X% of its last N observations, the script flags a squeeze environment. This highlights compression regions that may precede breakouts or regime shifts.
Deviation highlighting
When using Kernel StdDev mode, you may enable deviation flags that highlight bars where price moves outside the channel:
Above upper band → bullish momentum overextension
Below lower band → bearish momentum overextension
This is turned off in ATR mode because ATR widths do not represent distributional variance.
Alerts included
Kernel Channel Long — midline turns up.
Kernel Channel Short — midline turns down.
Price Crossed Midline — crossover or crossunder of the midline.
Price Above Upper — early momentum expansion.
Price Below Lower — downward volatility expansion.
These help automate regime changes and breakout detection.
How to use it
Trend identification
The midline acts as a bias filter. Rising midline means trend strength upward, falling midline means downward behavior. The channel width contextualizes confidence.
Breakout anticipation
Kernel StdDev compressions highlight areas where price is coiling. Breakouts often follow narrow relative width. ATR mode provides structural expansion cues that are smooth and robust.
Mean reversion
StdDev mode is suitable for fade setups. Moves to outer bands during low volatility often revert to the midline.
Continuation logic
If price breaks above the upper band while midline is rising, the indicator flags strong directional expansion. Same logic for breakdowns on the lower band.
Volatility characterization
Kernel ATR maps raw bar movements and is excellent for identifying regime shifts in markets where variance is unstable.
Tuning guidance
For smoother long-term trend tracking
Larger window (150–300).
Moderate bandwidth (1.0–2.0).
Epanechnikov or Cosine kernel.
ATR mode for stable envelopes.
For swing trading / short-term structure
Window length around 50–100.
Bandwidth 0.6–1.2.
Triangular for speed, Laplacian for sharper reactions.
StdDev bands for precise volatility compression.
For breakout systems
Smaller bandwidth for sharp local detection.
ATR mode for stable envelopes.
Enable squeeze highlighting for identifying setups early.
For mean-reversion systems
Use StdDev bands.
Moderate window length.
Highlight deviations to locate overextended bars.
Settings overview
Kernel Settings
Source
Window Length
Bandwidth
Kernel Type (Epanechnikov, Triangular, Laplacian, Cosine)
Channel Width
Band Type (Kernel ATR or Kernel StdDev)
Band Multiplier
Visuals
Show Bands
Color Bars By Regime
Highlight Squeeze Periods
Highlight Deviation
Lookback and Percentile settings
Colors for uptrend, downtrend, squeeze, flat
Trading applications
Trend filtering — trade only in direction of the midline slope.
Breakout confirmation — expansion outside the bands while slope agrees.
Squeeze timing — compression periods often precede the next directional leg.
Volatility-aware stops — ATR mode makes channel edges suitable for adaptive stop placement.
Structural swing mapping — StdDev bands help locate midline pullbacks vs distributional extremes.
Bias rotation — bar coloring highlights when regime shifts occur.
Notes
The Kernel Channel is not a signal generator by itself, but a structural map. It helps classify trend direction, volatility environment, distribution shape, and compression cycles. Combine it with your entry and exit framework, risk parameters, and higher-timeframe confirmation.
It is designed to behave consistently across markets, to avoid the bluntness of classical averages, and to reveal subtle curvature in price that traditional channels miss. Adjust kernel type, bandwidth, and band source to match the noise profile of your instrument, then use squeeze logic and deviation highlighting to guide timing.
Pattern DetectorPattern Detector
Identifies and summarizes common chart patterns on any symbol/timeframe. Shows a compact table of the most recent confirmed patterns (up to 6), optional candle coloring that matches table row colors, and optional targets for context. Designed for analysis support only.
What it detects
Triangles and wedges, flags and pennants, head & shoulders (and inverse), rectangles, channels, broadening formations, double/triple tops & bottoms, cup & handle (and inverse), rounding tops/bottoms, diamonds, bump & run, island reversals, staircase patterns, V patterns, gaps (up/down), pipe/spike patterns, harmonic ABCD, Elliott (simplified), three drives, Quasimodo, dead cat bounce, tower top/bottom, shakeout, and Wolfe waves.
Inputs
Lookback Mode: Auto or Manual (Manual Lookback bars)
Min Confidence to Confirm: threshold for confirmation
Display: Show Pattern Table, Show Pattern Numbers, Color Pattern Candles
Style: table row colors; bullish/bearish direction colors
Notes:
Candle coloring uses the table’s row colors and requires Show Pattern Table to be enabled.
Targets are approximate and for reference only.
Alerts
Pattern Confirmed
Pattern Target Reached
Important
Educational/information tool only; not a signal generator and not financial advice.
No performance guarantees. Use with other analysis and risk management.
Calculations update in real time; confirmations happen on closed bars. Detected patterns can change intrabar; use closed‑bar alerts for greater reliability.
Results may vary by symbol, timeframe, liquidity, and volatility.
Smart Auto Levels Renko Pro $ [ #Algo ] ( Fx, Alt, Crypto ) : Smart Levels is Smart Trades 🏆
"Smart Auto Levels Renko Pro $ ( Fx, Alt, Crypto ) " indicator is specially designed for " Crypto, Altcoins, Forex pairs, and US exchange" . It gives more power to day traders, pull-back / reverse trend traders / scalpers & trend analysts. This indicator plots the key smart levels , which will be automatically drawn at the session's start or during the session, if specific input is selected.
🔶 Usage and Settings :
A :
⇓ ( *refer 📷 image ) ⇓
B :
⇓ ( *refer 📷 images ) ⇓
🔷 Features :
a : automated smart levels with #algo compatibility.
b : plots Trend strength ▲, and current candle strength count value label.
c : ▄▀ RENKO Emulator engine ( plots *Non-repaintable #renko data as a line chart over the standard chart).
d : session 1st candle's High, Low & 50% levels ( irrespective of chart time-frame ).
e : 1-hour High & Low levels of specific candle ( from the drop-down menu ), for any global
market crypto / altcoins / forex or USA exchange symbols.
f : previous Day / Week / Month, chart High & Low.
g : pivot point levels of the Daily, Weekly & Monthly charts.
h : 2 class types of ⏰ alerts ( only signals or #algo execution ).
i : auto RENKO box size (ATR-based) table for 31 symbols (5 Default non-editable symbols,
6 US exchange symbols, 14 Alt-coins, 6 Forex pairs.)
j : auto processes " daylight saving time 🌓" data and plots accordingly.
💠Note: "For key smart levels, it processes data from a customized time frame, which is not available for the *free Trading View subscription users , and requires a premium plan." By this indicator, you have an edge over the paid subscription plan users and can automatically plot the Non-repaintable RENKO emulator for the current chart on the Trading View free Plan for any time-frame ."
⬇ Take a deep dive 👁️🗨️ into the Smart levels trading Basic Demonstration ⬇
▄▀ 1: "RENKO Emulator Engine" ⭐ , plots a noiseless chart for easy Top/Bottom set-up analysis. 11 types of 💼 asset classes options available in the drop-down menu.
LTP is tagged to the current RSI value ➕ volatility color change for instant quick decisions.
⇓ ( *refer 📷 image ) ⇓
🟣 2: "Trend Strength ▲ Label with color condition.
The strength of the trend will be shown as a number label ( for the current candle ), and the ▲ color format represents the strength of the trend. Can be utilized as an Entry or Exit condition.
⇓ ( *refer 📷 image ) ⇓
🟠 3: plots "Session first candle High, low, and 50%" levels ( irrespective of chart time-frame ), which are critical levels for an intraday trader with add-on levels of Previous Day, Week & Month High and Low levels.
⇓ ( *refer 📷 image ) ⇓
🔵 4: plots "Hourly chart candle" High & Low levels for the specific candles, selected from the drop-down menu with Pivot Points levels of Daily, Weekly, Monthly chart.
⇓ ( *refer 📷 image ) ⇓
🔲 5: "Auto RENKO box size" ( ATR based ) : This indicator is specially designed for 'Renko' trading enthusiasts, where the Box size of the ' Renko chart ' for intraday or swing trading ( ATR based ) , automatically calculated for the selected ( editable ) symbols in the table.
⇓ ( *refer 📷 image ) ⇓
*NOTE :
Table symbols (Non-editable) for 2 USA index, XAU, BTC, ETH.
Symbols (editable) for USA index/stocks.
Table Symbols (editable) for alt-coins.
Table Symbols (editable) for Forex pairs.
⏰ 6: "Alert functions."
⇓ ( *refer 📷 image ) ⇓
◻ : Total 7 signal alerts can be possible in a Single alert.
◻ : Total 10 #algo alerts , ( must ✔ tick the Consent check box for algo execution ).
Note: : alert with RSI ( *manual ✍ input value ) condition.
After selecting alert/alerts ( signals 7 / #algo 10 ), an additional RSI condition can also be used as an input to trigger the alert.
ex: alert = { 🟠 𝟭 Hr 🕯 H & L ➕ ✅ RSI✍ } condition, will trigger the alert when both conditions meet simultaneously.
This Indicator will work like a Trading System . It is different from other indicators, which give Signals only. This script is designed to be tailored to your personal trading style by combining user input components to create your own comprehensive strategy . The synergy between the components is key to its usefulness.
🚀 It focuses on the key Smart Levels and gives you an Extra edge over others.
✅ HOW TO GET ACCESS :
You can see the Author's instructions below to get instant access to this indicator & our premium indicator suites. If you like any of my Invite-Only indicators, kindly DM and let me know!
⚠ RISK DISCLAIMER :
All content provided by "@TradeWithKeshhav" is for informational & educational purposes only.
It does not constitute any financial advice or a solicitation to buy or sell any securities of any type. All investments / trading involve risks. Past performance does not guarantee future results / returns.
Regards :
Team @TradeWithKeshhav
Happy trading and investing!
Auto Levels & Smart Money [ #Algo ] Pro : Smart Levels is Smart Trades 🏆
"Auto Levels & Smart Money Pro" indicator is specially designed for day traders, pull-back / reverse trend traders / scalpers & trend analysts. This indicator plots the key smart levels , which will be automatically drawn at the session's start or during the session, if specific input is selected.
🔶 Usage and Settings :
A :
⇓ ( *refer 📷 image ) ⇓
B :
⇓ ( *refer 📷 images ) ⇓
🔷 Features :
a : automated smart levels with #algo compatibility.
b : plots auto SHADOW candle levels Zones ( smart money concept ).
c : ▄▀ RENKO Emulator engine ( plots Non-repaintable #renko data as a line chart ).
d : session 1st candle's High, Low & 50% levels ( irrespective of chart time-frame ).
e : 1-hour High & Low levels of specific candle, ( from the drop-down menu ), for any global market symbols or crypto.
f : previous Day / Week / Month, chart High & Low.
g : pivot point levels of the Daily, Weekly & Monthly charts.
h : 2 class types of ⏰ alerts ( only signals or algo execution ).
i : auto RENKO box size (ATR-based) table for 30 symbols.
j : auto processes " daylight saving time 🌓" data and plots accordingly.
💠Note: "For key smart levels, it processes data from a customized time frame, which is not available for the *free Trading View subscription users , and requires a premium plan." By this indicator, you have an edge over the paid subscription plan users and can automatically plot the shadow candle levels and Non-repaintable RENKO emulator for the current chart on the free Trading View Plan at any time frame .
⬇ Take a deep dive 👁️🗨️ into the Smart levels trading Basic Demonstration ⬇
▄▀ 1: "RENKO Emulator Engine" ⭐ , plots a noiseless chart for easy Top/Bottom set-up analysis. 10 types of 💼 asset classes options available in the drop-down menu.
LTP is tagged to current RSI ➕ volatility color change for instant decisions.
⇓ ( *refer 📷 image ) ⇓
🟣 2: "Shadow Candle Levels and Zones" will be drawn at the start of the session (which will project shadow candle levels of the previous day), and it comes with a zone. which specifies the Supply and Demand Zone area. *Shadow levels can be drawn for the NSE & BSE: Index/Futures/Options/Equity and MCX: Commodity/FNO market only.
⇓ ( *refer 📷 image ) ⇓https://www.tradingview.com/x/SIskBm77/
🟠 3: plots "Session first candle High, low, and 50%" levels ( irrespective of chart time-frame ), which a very important levels for an intraday trader with add-on levels of Previous Day, Week & Month High and Low levels.
⇓ ( *refer 📷 image ) ⇓
🔵 4: plots "Hourly chart candle" High & Low levels for the specific candles, selected from the drop-down menu with Pivot Points levels of Daily, Weekly, Monthly chart.
Note: The drop-down menu gives a manual selection of the hour candles for all "🌐 Crypto / XAU-USD / Forex / USA".
ex: "2nd hr" will give the session's First hour candle "High & Low" level.
⇓ ( *refer 📷 image ) ⇓
🔲 5: "Auto RENKO box size" ( ATR based ) : This indicator is specially designed for 'Renko' trading enthusiasts, where the Box size of the ' Renko chart ' for intraday or swing trading, ( ATR based ) , automatically calculated for the selected ( editable ) symbols in the table.
⇓ ( *refer 📷 image ) ⇓
*NOTE :
Table symbols are for NSE/BSE/USA.
Symbols are Non-editable (fixed).
Table Symbols for MCX only.
Table Symbols for XAU & 🌐CRYTO.
⏰ 6: "Alert functions."
⇓ ( *refer 📷 image ) ⇓
◻ : Total 8 signal alerts can be possible in a Single alert.
◻ : Total 12 #algo alerts , ( must ✔ tick the Consent check box for algo and alerts execution/trigger ).
💹 Modified moving average line. Includes data from both the exponential and simple moving average.
This Indicator will work like a Trading System . It is different from other indicators, which give Signals only. This script is designed to be tailored to your personal trading style by combining components to create your own comprehensive strategy . The synergy between the components is key to its usefulness.
It focuses on the key Smart Levels and gives you an Extra edge over others.
✅ HOW TO GET ACCESS :
You can see the Author's instructions to get instant access to this indicator & our premium suite. If you like any of my Invite-Only indicators, let me know!
⚠ RISK DISCLAIMER :
All content provided by "TradeWithKeshhav" is for informational & educational purposes only.
It does not constitute any financial advice or a solicitation to buy or sell any securities of any type. All investments / trading involve risks. Past performance does not guarantee future results / returns.
Regards :
TradeWithKeshhav & team
Happy trading and investing!
SLefebvre The Trading DeskGUS Stats
Double Top Stats and lines
Open price
Gap info
Double Top bottom alert
MC3 Pro Ultra e10Al-Brooks style MC3/Thrust signals with smart gating: EMA, Wilder ADX/DI, Consolidation, BO+FT, Z-score, Volume, RSI div, HTF EMA, Structure, OR/Blackout, Smart Cooldown. Non-repainting.
Full Description (for the main page)
MC3 Pro Ultra — Invite-Only (Al Brooks–inspired)
A high-discipline entry tool for 3-bar micro-channels (MC3) and optional 1-bar thrusts (MC1). Signals are filtered by a layered “gate” system: EMA side/slope/distance, Wilder ADX/DI, Consolidation (Box, BB<KC, Efficiency Ratio), Breakout+Follow-Through (BO+FT), TR Z-score expansion, Volume (mild/strict), true RSI divergence, HTF EMA (side/slope/strict), Market Structure (HH/HL vs LH/LL with optional BOS), Liquidity sweep guard, Open Range gate, Blackout windows (news) and Smart Cooldown v2.
Everything is non-repainting (evaluated on bar close or using closed higher-TF values).
What it does
MC3 (3-bar micro-channel) & Thrust (MC1) entries in both directions.
Auto regime: dynamically tightens thresholds in chop and relaxes them in trend.
BO+FT confirm: bar-3 must close beyond prior H/L by X points and near the extreme; optional follow-through (no immediate pullback).
Z-Score (TR): requires statistical range expansion (any bar inside the MC3).
EMA filter: side rule (All 3 / Any 2 / Last), slope, and max ATR distance.
Wilder ADX/DI: strength/rend bias; optional DI dominance.
Consolidation filter: Box+ATR (with break confirmation), Squeeze (BB<KC), or ER (Efficiency Ratio).
Volume gate: mild (above SMA×mult) or strict (3-bar rising).
True RSI divergence: pivot-based; blocks when divergence contradicts direction.
HTF EMA (non-repainting): side/slope/strict from a higher timeframe using closed bars.
Market Structure: longs only in HH/HL, shorts only in LH/LL; optional fresh BOS.
Liquidity Sweep guard: block-against or require-with sweep.
Open Range gate: require OR breakout before entries (optional).
Blackout windows: disable signals during macro/news windows.
Smart Cooldown v2: EMA-stretch + clustering penalty to avoid over-trading.
Retest mode (visual): after a signal, watch for a pullback to prev H/L or an EMA±ATR band.
Panel & Debug: status panel (regime, ADX, HTF, CONS, Z/TR, score, gates) + debug reasons for blocked signals.
R overlay: draws entry/stop/targets and an approximate position size.
Non-repainting: uses barstate.isconfirmed and closed HTF values. Signals print on bar close.
Presets
NQ A+ (2m/5m) – fast trend bias. BO+FT & Z-score on, Volume mild, DI dominance on, HTF strict.
NQ Pullback-safe (5m) – more conservative, higher min score & BO/Z thresholds.
ES 5m – balanced default.
(You can also use Custom and tweak only 2–3 knobs at a time.)
Suggested markets/timeframes: CME index futures (NQ/ES), 2m/5m/15m. Works on FX/indices/crypto with sensible retuning.
How to read signals
Green/Red arrows mark confirmed MC3 or Thrust entries (printed after bar closes).
Label shows S=Score and THR if the thrust override triggered.
Panel (top-right) shows: Regime (TREND/CHOP), ADX (prev closed bar optional), HTF (side/slope), Consolidation mode, OR status, current Z/TR vs threshold, Score≥, and quick Gates (✓/✗) for long/short.
Debug (optional, last bar): concatenated reasons why a signal did not pass (e.g., ).
Retest mode places “RT” markers when price pulls back to the chosen retest source.
Key inputs (high-level)
Definition: MC3 (color / close-to-close / micro-channel HL / combo), optional Thrust override.
EMA: side rule, slope, max ATR distance (with soft scoring).
ADX/DI: Wilder ADX len/threshold, optional DI dominance.
Consolidation: Box+ATR (with min breaks & confirm), Squeeze (BB<KC), ER.
BO+FT: min points beyond prior H/L, close% near extreme, “no-pullback” option.
Z-Score: TR Z-score length & min threshold.
Volume: mild (SMA×mult) or strict (3-bar rising).
RSI divergence: pivot L/R, max lookback age.
HTF: timeframe/length, rule (Side only / Slope only / Strict).
Structure gate: pivot L/R, optional BOS with max age.
Sweep guard: Off / BlockAgainst / RequireWith.
Open Range: session window + “require breakout” toggle.
Blackout: one or two session windows (e.g., FOMC/CPI).
Smart Cooldown v2: base cooldown, EMA-stretch bonus, cluster penalty.
Alerts
Comes with alertconditions for Bull/Bear signals.
Optional JSON payload (direction, score, preset, regime, price, est. R, symbol, timeframe) for webhook-based managers (auto-filtering or auto-sizing).
How to set: Add alert on this indicator → choose condition “Bull MC3/Thrust” or “Bear MC3/Thrust” → Once-per-bar-close → webhook (optional).
Best practices
In trend: keep Auto regime ON; you can slightly lower min score / Z / BO.
In chop: raise min score (+1~2), use Volume strict + DI dominance, increase Z and close% thresholds, optionally require OR breakout.
Retest entries: enable “Retest mode” to get better fills (prev H/L or EMA band).
HTF Strict + Structure gate will materially improve selectivity (fewer trades, higher quality).
Avoid trading during Blackout windows (macro releases, roll).
Respect Smart Cooldown to prevent clustering and revenge trades.
Disclaimers
This is not financial advice. Backtest/forward-test before risking capital.
No indicator guarantees win rate or profits; use stops and position sizing.
Invite-Only access at the author’s discretion. Redistribution is prohibited.
Credits
Inspired by Al Brooks methodology (micro-channels, breakouts, trend vs chop context) and classic Wilder ADX/DI.
Market Structure [PRO][keypoems] - 100% rewritten engineMarket Structure — 100% rewritten engine
Successor to my earlier script Supply and Demand Areas Responsible and Origins . This version rebuilds the engine from scratch and adds HTF support, tap tracking, dealing ranges (“expansion legs”), and DB/DT pattern logic.
What it draws
Market‑structure zones built from protected high/low and confirmed BOS/MSS. Zones extend forward and remain on chart until 50% mitigation is wicked. Optional 30/50/70 levels.
Protected High/Low lines and Continuation High/Low levels; BOS and MSS lines are plotted at confirmation.
SNDR (Supply & Demand Responsible) areas for the counter‑trend swing that caused the BOS. The engine auto‑pivots (tries 3‑pivot then 1‑pivot) and extends each SNDR until 100% mitigation. First‑tap and second‑tap states are tracked and visually marked.
Zone Tap detection : when price first enters an unmitigated zone, leaves it, and then violates a continuation level, the script confirms the tap and draws a horizontal TAP line from the tap swing for future retests.
Dealing Ranges (Expansion legs) : created on BOS→MSS flips or opposite‑direction MSS. Each range is anchored at the protected level, tracks the current extreme, and marks 50% mitigation. A diagonal arrow plus a 50% line show live progress. An optional right‑hand visual stacks all unmitigated ranges as compact boxes with their 50% line.
Double Bottom / Double Top patterns : search starts at BOS/MSS events, confirms on neckline break, and draws an ATR‑buffered box and an extending neckline.
Valid pullback labels and candidate confirmation lines help verify swing sequence formation.
HTF support
Choose a higher timeframe in the Timeframe input to compute market structure on HTF while viewing a lower‑timeframe chart. The script uses request.security and only confirms using closed HTF candles, so zones, BOS/MSS, mitigations and taps match the native HTF chart.
How it works (brief)
Builds an alternating sequence of valid swings, tracks protected levels, and creates a zone on BOS; zones close or roll when MSS occurs.
Zone mitigation = wick through the zone’s 50%. SNDR mitigation = full breach (100%).
Tap logic requires: entry into the zone → exit → violation of a relevant continuation level; only then the TAP line is drawn.
Dealing ranges start from the protected level at BOS→MSS (or opposite MSS), track the current extreme, and flag mitigation at 50%.
DB/DT confirms only after a close through the neckline.
Notes
Origins from the prior script have not been ported to this engine yet.
Includes a performance switch (scan all zones vs. a recent subset) and an optional on‑chart debug table.
Visual tool for price‑action study; not a strategy and not financial advice.
Auto Channel [SciQua]Auto Channel
Purpose
Auto Channel finds the single best parallel price channel from recent price action and keeps it updated in real time. It uses ZigZag pivots to build candidate channels, scores each candidate for quality, then plots the winner. When price closes outside the channel, the script flags a breakout and can fire alerts.
How it works
1. ZigZag pivots
The script uses TradingView’s TradingView/ZigZag/7 library to generate a stream of swing highs and lows based on a percentage reversal threshold and a leg depth. These pivots are the only points the channel logic evaluates, which keeps the search fast and focused on structure rather than noise.
2. Channel candidates
From the most recent pivots, the script forms all combinations of two swing highs and two swing lows.
It computes a slope for the high line and a slope for the low line and requires that they be nearly parallel within a user-defined tolerance.
3. Quality scoring and selection
For every valid candidate, the script checks the recent pivot segments against the trial channel and computes:
Inside ratio: fraction of tested pivots that sit fully inside the channel after applying the tolerance buffer.
Violation sum: total magnitude of the breaches for any pivots outside the channel.
Current width: distance between upper and lower lines at the current bar.
The “best” channel is chosen by:
1. highest inside ratio
2. then widest current width
3. then smallest violation sum
4. Plot and projection
The upper and lower lines are anchored to the chosen pivot pairs and extend to the left. The script also projects each line to the current bar to compute the live upper and lower channel prices. Those levels drive the breakout checks and alerts.
5. Breakouts and alerts
A breakout is detected when the bar closes above the projected upper line or closes below the projected lower line, after applying the tolerance buffer. Triangle markers highlight fresh breakouts, and you can enable alert conditions to automate notification or strategy handoff.
Inputs:
ZigZag
Price deviation for reversals (%)
Default 0.2. Larger values produce fewer, larger swings. Smaller values produce more, smaller swings.
Pivot legs
Default 2. Controls the lookback depth ZigZag uses to confirm pivots.
ZigZag Color
Visual only.
Tip: If you are not seeing a stable channel, increase the ZigZag percentage to reduce minor swings.
Channel search
Number of recent pivots to consider
Default 12. Higher values search more history and try more channel combinations. Lower values make the search faster and more reactive.
Max slope difference for parallel
Default 0.0005. Maximum allowed difference between the upper and lower line slopes. Smaller values enforce stricter parallelism.
Max price tolerance outside channel
Default 0.0. A buffer added to the channel boundaries during validation and breakout checks. Use this to ignore tiny wicks that poke the lines.
Minimum inside to outside pivots ratio for valid channel (0.00–1.00)
Default 1.00. Require that at least this fraction of checked pivots lie inside the channel. For a more permissive fit, try 0.60 to 0.85.
Styling
Upper Line Color
Lower Line Color
Breakout Above Color
Breakout Below Color
Plots and visuals
Upper channel line
Lower channel line
Triangle markers on the bar that first confirms a close outside the channel, above or below.
Lines extend left from their pivot anchors. Projection to the current bar is used internally to test for breakouts and to set alerts.
Alerts
The script defines two alert conditions:
Close Above Channel
Triggers when the bar closes above the projected upper line plus tolerance.
Close Below Channel
Triggers when the bar closes below the projected lower line minus tolerance.
Practical usage
Trend channels
In a steady trend, a high inside ratio with a moderate width often highlights the dominant channel. Consider trend entries near the lower line in an uptrend or near the upper line in a downtrend, with exits or stops beyond the opposite boundary.
Breakout trades
Combine the channel breakout alert with volume or a separate momentum filter. The tolerance input helps avoid false triggers from small wicks.
Tuning for timeframe and symbol
• Faster markets or lower timeframes usually benefit from a larger ZigZag percentage and a smaller pivot count.
• Slower markets or higher timeframes can use more pivots and a tighter slope difference to enforce cleaner geometry.
Notes and limitations
Channels are derived from ZigZag pivots. If your ZigZag settings change, the detected channel will also change.
The script plots only the single best channel at any time to keep the chart clean.
Breakout markers appear on confirmed bars. For historical bars, markers appear only where a breakout would have been confirmed at that time.
Lines extend left from their anchors. The script projects the lines internally to the current bar for checks and alerts.
License and attribution
License
Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).
Open source for educational and personal use only. Commercial use requires written permission.
Attribution
© 2025 SciQua — Joshua Danford
Libraries
Uses TradingView/ZigZag/7.
Changelog
v1.0
Initial release. Automatic parallel channel detection from ZigZag pivots, quality scoring, live plotting, and close-based breakout alerts.
FAQ
Why do I not see any channel sometimes?
There may not be a valid pair of highs and lows that pass the slope, inside ratio, and tolerance checks. Loosen the constraints by increasing Max slope difference, lowering Minimum inside ratio, or increasing the ZigZag percentage.
The channel looks too narrow or too wide?
Adjust Number of recent pivots and Minimum inside ratio. A higher inside ratio tends to favor cleaner, sometimes wider channels. A lower ratio may admit narrower, more reactive channels.
How can I reduce false breakout alerts?
Increase Max price tolerance outside channel to ignore small wicks. Add a volume or momentum confirmation in your personal alert workflow.
Thank you for using Auto Channel . Feedback and improvements are welcome.
db/dt [keypoems]Double Top / Double Bottom Marker
This indicator identifies classic double bottom/double top reversal patterns using pivot point analysis and breakout confirmation methodology, it also marks pivot based market structure shifts or flips.
WHAT IT DOES
The indicator detects two primary types of trading patterns:
1. Double Bottom/Top Patterns: Recognizes classic reversal formations where price creates two similar highs or lows before breaking the neckline
2. Market Structure Shifts (Flips): Identifies when price breaks through significant pivot levels indicating a potential trend change
HOW IT WORKS
Double Pattern Detection:
For double bottoms, the system identifies the first pivot low, then tracks the highest point between potential lows to establish the neckline level. It searches for a second pivot low within the specified price tolerance percentage of the first low. The pattern confirms when price breaks above the neckline. Double tops use the same logic but inverted, tracking the lowest point for the neckline and confirming on downward breaks.
Pattern Invalidation:
Double patterns are automatically invalidated if price creates new extremes beyond both pivot points before neckline confirmation occurs.
Flip Detection:
The algorithm uses a three-step process for each direction. For bullish shifts, it first identifies a pivot high using the specified left/right bar length parameters. It then waits for a subsequent pivot low that occurs after the pivot high. Finally, it confirms the shift when price closes above the original pivot high level. The bearish detection works inversely, starting with a pivot low, followed by a pivot high, and confirmed when price closes below the original pivot low.
CONFIGURATION OPTIONS
General Settings:
- Pivot High/Low Length: Controls the number of bars required on each side of a pivot point for validation
- Start Bar Index: Sets how many bars from the beginning of data to start pattern detection
- Time Filter: Optional start time to limit detection to specific periods
Double Pattern Settings:
- Separate pivot length controls for each pattern type
- Price Tolerance: Maximum percentage difference allowed between the two pivot points to qualify as a double pattern (0.1% to 20%)
- Individual start bar settings for each pattern type
Visual Controls:
- Toggle display for bullish flips, bearish flips, double bottoms, and double tops
- Optional text labels for each pattern type
- Sweep/Mitigation classification labels that distinguish between patterns where the second pivot sweeps beyond the first versus those that hold within tolerance
VISUAL PRESENTATION
Market structure shifts display as triangular markers above or below price with connecting lines that extend from the original pivot point to the breakout confirmation bar. Double patterns appear as rectangular boxes that encompass both pivot points with pattern type labels. The boxes automatically size themselves based on the price range and bar spacing of the pattern.
Color coding uses green for bullish signals, red for bearish signals, blue for double bottoms, and orange for double tops. All visual elements can be individually enabled or disabled based on trading preferences.
UNDERLYING CONCEPTS
This indicator applies market structure theory which suggests that trend changes are often preceded by breaks of significant swing points. The double pattern recognition is based on classical technical analysis principles where price creates similar levels twice before reversing direction, indicating exhaustion of the prevailing trend.
The pivot point methodology ensures that only statistically significant highs and lows are considered, filtering out minor fluctuations that might create false signals. The confirmation requirement prevents premature signals during consolidation phases.
PRACTICAL APPLICATION
Market structure shifts help identify potential trend changes early in their development. Double patterns provide high-probability reversal setups with clear entry levels at neckline breaks and logical stop placements beyond the pattern extremes.
The price tolerance setting allows adaptation to different market volatility conditions. Tighter tolerances work better in stable markets while looser tolerances accommodate more volatile instruments.
LIMITATIONS AND CONSIDERATIONS
This indicator works best in trending markets and may produce less reliable signals during extended sideways consolidation periods. The pivot-based approach means signals occur with some delay after actual market turns, as confirmation requires subsequent price action.
Users should be aware that the indicator plots historical patterns and breakout confirmations. Real-time trading decisions should account for the lag inherent in pivot point calculation and pattern completion requirements.
The effectiveness of detected patterns may vary significantly across different timeframes, market conditions, and instrument types. Combining these signals with additional analysis methods and proper risk management is recommended for practical trading applications.
Double pattern detection requires sufficient price history and bar spacing to properly identify and validate formations. Very short timeframes or instruments with limited volatility may not generate frequent pattern signals.
All pattern recognition is based on historical price data and does not guarantee future performance. Market conditions, fundamental factors, and external events can invalidate technical patterns regardless of their historical reliability.
Step Channel Momentum Trend [ChartPrime]OVERVIEW
Step Channel Momentum Trend is a momentum-based price filtering system that adapts to market structure using pivot levels and ATR volatility. It builds a dynamic channel around a stepwise midline derived from swing highs and lows. The system colors price candles based on whether price remains inside this channel (low momentum) or breaks out (strong directional flow). This allows traders to clearly distinguish ranging conditions from trending ones and take action accordingly.
⯁ STRUCTURAL MIDLNE (STEP CHANNEL CORE)
The midline acts as the backbone of the trend system and is based on structure rather than smoothing.
Calculated as the average of the most recent confirmed Pivot High and Pivot Low.
The result is a step-like horizontal line that only updates when new pivot points are confirmed.
This design avoids lag and makes the line "snap" to recent structural shifts.
It reflects the equilibrium level between recent bullish and bearish control.
This unique step logic creates clear regime shifts and prevents noise from distorting trend interpretation.
⯁ DYNAMIC VOLATILITY BANDS (ATR FILTERING)
To detect momentum strength, the script constructs upper and lower bands using the ATR (Average True Range):
The distance from the midline is determined by ATR × multiplier (default: 200-period ATR × 0.6).
These bands adjust dynamically to volatility, expanding in high-ATR environments and contracting in calm markets.
The area between upper and lower bands represents a neutral or ranging market state.
Breakouts outside the bands are treated as significant momentum shifts.
This filtering approach ensures that only meaningful breakouts are visually emphasized — not every candle fluctuation.
⯁ MOMENTUM-BASED CANDLE COLORING
The system visually transforms price candles into momentum indicators:
When price (hl2) is above the upper band, candles are green → bullish momentum.
When price is below the lower band, candles are red → bearish momentum.
When price is between the bands, candles are orange → low or no momentum (range).
The candle body, wick, and border are all colored uniformly for visual clarity.
This gives traders instant feedback on when momentum is expanding or fading — ideal for breakout, pullback, or trend-following strategies.
⯁ PIVOT-BASED SWING ANCHORS
Each confirmed pivot is plotted as a label ⬥ directly on the chart:
They also serve as potential manual entry zones, SL/TP anchors, or confirmation points.
⯁ MOMENTUM STATE LABEL
To reinforce the current market mode, a live label is displayed at the most recent candle:
Displays either:
“ Momentum Up ” when price breaks above the upper band.
“ Momentum Down ” when price breaks below the lower band.
“ Range ” when price remains between the bands.
Label color matches the candle color for quick identification.
Automatically updates on each bar close.
This helps discretionary traders filter trades based on market phase.
USAGE
Use the green/red zones to enter with momentum and ride trending moves.
Use the orange zone to stay out or fade ranges.
The step midline can act as a breakout base, pullback anchor, or bias reference.
Combine with other indicators (e.g., order blocks, divergences, or volume) to build high-confluence systems.
CONCLUSION
Step Channel Momentum Trend gives traders a clean, adaptive framework for identifying trend direction, volatility-based breakouts, and ranging environments — all from structural logic and ATR responsiveness. Its stepwise midline provides clarity, while its dynamic color-coded candles make momentum shifts impossible to miss. Whether you’re scalping intraday momentum or managing swing entries, this tool helps you trade with the market’s rhythm — not against it.
Rolling VWAP Channel [LuxAlgo]The Rolling VWAP Channel indicator creates a channel by analyzing a large number of Volume Weighted Average Prices (VWAPs) and determining a Channel based on percentile linear interpolation throughout the VWAPs.
🔶 USAGE
In this indicator, we have formed a Channel by first calculating multiple VWAPs, each with their respective anchor, then locating prices using "Percentile Linear Interpolation".
Note: Percentile Linear Interpolation locates the price point at which a specified percentage of VWAPs fall below it.
For example, a percentile of 50% would mean that 50% of the VWAP values fall below this price.
This method of analysis is important since the VWAPs are not often evenly distributed; therefore, we are able to draw importance to different levels by analyzing in percentiles.
When visualized, there is typically clustering of the VWAP values, which occurs at any given time, as seen below.
The channel can be tailored to each individual, with full control of each percentile represented in the channel. That being said, a general concept is that these clustered areas are clear results of sideways price action, which would lead us to believe that after interactions at these levels, we should expect to see a directional decision made by the market closely after.
🔶 DETAILS
The Rolling VWAP calculation calculates a user-specified number of VWAPs (up to 500), each anchored to a unique starting point in the chart based on the start of a new timeframe.
Each new timeframe that occurs causes a new VWAP to initialize. When the total number of desired VWAPs is reached, the oldest VWAP is removed and re-initialized, anchored to the current bar. Hence, the name " Rolling " VWAPs
This method allows us to automatically generate and manage large amounts of VWAPs without the need for user interaction.
After we have generated these VWAPs, we are able to run analyses on their returned values, such as the "Percentile Linear Interpolation" mentioned in the section above.
🔶 SETTINGS
Anchor Period: Choose which time period to use as the anchor point to initialize new VWAPs from.
VWAP Source: Choose the source for your VWAPs to calculate.
VWAP Amount: Sets the number of VWAPs to use. After this amount is on the chart, the oldest will be rolled.
🔹 Channel Lines
Toggle: Enable the associated VWAP Channel percentile line.
Percentile: Adjust each line's percentile independently for your needs.
Width: Adjust the width of the associated percentile line.
🔹 Calculation
Calculated Bars: Tells the indicator how many bars to calculate on, for faster calculations with less history, use a lower value. Setting this to 0 will remove the bar constraint.
Double Bottom Strategy (Long Only, ATR Trailing Stop + Alerts)This script implements a long-only breakout strategy based on the recognition of a Double Bottom price pattern, enhanced with a 50 EMA trend filter and a dynamic ATR-based trailing stop. It is suitable for traders looking to capture reversals in trending markets using a structured pattern-based entry system.
🧠 Key Features:
Double Bottom Detection: Identifies double bottom structures using pivot lows with configurable tolerance.
ATR-Based Trailing Stop: Manages exits using a trailing stop calculated from Average True Range (ATR), dynamically adjusting to market volatility.
EMA Filter (Optional): Filters trades to only go long when price is above the 50 EMA (trend confirmation).
Alerts: Real-time alerts on entry and exit, formatted in JSON for webhook compatibility.
Backtest Range Controls: Customize historical testing period with start and end dates.
✅ Recommended Markets:
Gold (XAUUSD)
S&P 500 (SPX, ES)
Nasdaq (NDX, NQ)
Stocks (Equities)
⚠️ Not recommended for Forex due to differing behavior and noise levels in currency markets.
🛠️ User Guidance:
Tune the pivot period, tolerance, and ATR settings for best performance on your chosen asset.
Backtest thoroughly over your selected date range to assess historical effectiveness.
Use small position sizes initially to test viability in live or simulated environments.
TCT - Envelope MatrixTCT - Envelope Matrix
A powerful multi-envelope indicator that creates a comprehensive price channel system with 4 customizable envelopes and multiple intermediate levels for precise price action analysis.
Key Features:
• 4 customizable envelopes with adjustable percentages (0.2%, 0.4%, 0.6%, 0.8% by default)
• Optional EMA or SMA basis calculation
• Color-coded bands for easy visual identification
• Automatic horizontal lines showing current band values
• Midpoint lines between adjacent bands
• Additional 25%, 50%, and 75% levels between each band pair
The indicator provides:
- Clear visual representation of price channels
- Multiple support and resistance levels
- Dynamic price boundaries that adapt to market conditions
- Enhanced precision with intermediate levels between bands
Perfect for:
• Identifying potential support and resistance zones
• Spotting overbought/oversold conditions
• Finding potential reversal points
• Analyzing price volatility and channel width
• Making informed trading decisions based on price position relative to multiple bands
Customization Options:
• Adjustable length for the basis calculation
• Choice between EMA and SMA
• Customizable colors for each envelope
• Flexible percentage settings for each band
• Optional basis line color adjustment
This indicator is particularly useful for traders who want to analyze price action within multiple dynamic channels and identify potential trading opportunities based on price interactions with various support and resistance levels.
Triangle Asc/Descending Patterns [Drobode]█ DESCRIPTION
The script automatically tracks the descending or ascending triangle pattern. The script provides advanced settings, allowing you to adjust the pattern accuracy from high to low depending on your needs and technical analysis style. The main goal of the script is to facilitate the routine work of a trader in identifying certain trading situations (patterns). However, you should understand that the script is not a full-fledged self-sufficient strategy, in case of receiving a signal, it is recommended that you additionally conduct a comprehensive thorough analysis before taking trading actions. The script can be useful for traders of all levels, both beginners and experienced analysts. This variation of the script, in case of identifying a pattern, draws a contour triangle with the background color of the figure. The ascending triangle has a blue color, the descending triangle has a red color. The logic of the script provides that one of the legs (one side) of the triangle is always a horizontal line, simultaneously being a line of resistance or support, other variations of triangle patterns are not tracked. According to generally defined beliefs and observations of pattern formation, a descending and ascending triangle may indicate a possible breakdown of the conditional horizontal level to which the price of the instrument has approached, however, at the same time it is necessary to deeply analyze many other factors at this point, in particular, such as volumes, consolidation, volatility, and so on.
█ SCRIPT SETTINGS
By default, the script was pre-developed and tested on the M15 timeframe with the USDT.P crypto futures instruments.
Alert
The Alert function in the script is enabled by default, you just need to activate the Alert in the TradingView window and select the signal source - Triangle Asc/Descending Patterns .
The notification provides the following information (example):
Triangle_Ascending
Ticker- EGLDUSDT.P
Price-19.754
Timeframe- 15
Period length-160
Periods length
The script allows you to set the period length (number) of bars on which the calculation will be performed. Different periods make it possible to cover more timeframes (in particular, larger timeframes). The calculation is performed simultaneously on all periods, but you can turn off "Period length 3" and "Period length 4" by clicking on the check mark, this can speed up the script. The following period values are set by default: "Period length 1" – 80,
"Period length 2" – 160, "Period length 3" – 300, "Period length 4" – 681.
Percentage deviation of extremes
The next settings are the percentage deviation from the hypotenuse and horizontal leg, which creates the zone in which the extremes of the bars that will form the triangle shape should be. The smaller the deviation, the greater the accuracy and the closer to the hypotenuse and leg the bar extrema should be, however, in this case the number of pattern identifications will be smaller. By default, the deviation zone from the hypotenuse "Deflection zone of tangents to the hypotenuse" is - 0.4%, the deviation zone from the horizontal leg "Tangent deviation zone horizontal leg" is - 0.08%.
The presence of extrema at certain points on the sides of a triangle
The last block of settings are the conditions that increase the accuracy of the proportions of the pattern figure. These settings are aimed at confirming the presence of extrema in certain areas along the hypotenuse and horizontal leg. Thus, enabling "Extrema on the horizontal leg almost along the entire length" means that only those triangles will be tracked in which the horizontal leg zone has extrema almost along the entire length of this leg, this increases the accuracy but reduces the number of detected patterns. "Extremes present on second half of horizontal leg (more than 50%)" assumes that only those triangles will be tracked in which the extrema are present on the second half of the length of the given leg (more than 50%) in the zone of the horizontal leg. "Presence of an extrema in the middle region of the hypotenuse" assumes that only those triangles will be tracked in which the extrema are present on a certain segment of length in the central region of the hypotenuse.
Support and Resistance Power Channel [ChartPrime]The Support and Resistance Power Channel indicator helps traders visualize key support and resistance zones, along with buy and sell power within those zones. By identifying the highest and lowest prices within a defined range, this indicator provides insight into potential price reversals and market strength. It calculates the strength of buy and sell pressure within the zones and includes additional features like midline values and delayed signals to reduce false breakouts.
⯁ KEY FEATURES AND HOW TO USE
⯌ Support and Resistance Zones :
This indicator identifies dynamic support (lower zone) and resistance (upper zone) levels, allowing traders to easily visualize key price levels. These zones are customizable with settings for the length of the channel and how far the zones extend into the future. The zones can be used to predict areas of potential price reversal or consolidation.
⯌ Buy and Sell Power :
Within the upper resistance zone, the indicator calculates Sell Power based on the number of bearish candles, while the lower support zone calculates Buy Power based on bullish candles. This feature helps traders understand the strength of buying or selling activity within each zone.
Example of buy and sell power tracking:
⯌ Highest, Lowest, and Mid Price Levels :
The indicator marks the highest and lowest price levels within the channel with an "X," and displays these values at the end of the channel. Additionally, the midline (average of the high and low) is plotted with a dotted line, showing a key area that the price often retests during trends.
⯌ Delayed Signal Markers :
To prevent false breakouts, the indicator includes a 2-bar delay for signals. These signals are plotted when the price crosses above or below the resistance or support zones, confirming potential reversals or breakouts. Arrows or diamonds are used to mark these signals on the chart.
Example of delayed breakout signals on the chart:
⯌ Extend Zones into the Future :
In the settings, traders can extend the support and resistance zones further into the future, allowing for ongoing analysis even after the initial levels have been identified. This feature can help with forward-looking trade planning.
⯁ USER INPUTS
Length : Defines the number of bars used to calculate the support and resistance zones.
Extend : Sets how far the support and resistance zones should be extended into the future.
Top and Bottom Colors : Allows customization of the colors for the support and resistance zones.
⯁ CONCLUSION
The Support and Resistance Power Channel indicator provides a powerful and visually intuitive way to track key market levels, buy and sell pressure, and potential reversals. With its real-time zone plotting and the calculation of power within each zone, it offers traders essential insights for making more informed trading decisions.
Chart Patterns (PRO) [ActiveQuants]Unlock the full potential of chart pattern trading with Chart Patterns (PRO) ! This advanced indicator goes beyond basic detection, offering a comprehensive suite of tools for serious traders. Automatically identify an extensive range of reversal and continuation patterns, complete with projected price targets , visually appealing pattern fills , and a sophisticated multi-status alert system .
How It Works
The indicator employs a sophisticated multi-stage process:
Precision Pivot Detection: At its heart, the indicator identifies significant swing highs and lows (pivot points) using an optimized internal period. These pivots are the fundamental building blocks for all pattern recognition. ( Users can toggle visibility of these pivots ).
Advanced Pattern Recognition Engine: Sequences of these pivot points are meticulously analyzed against a vast library of predefined geometric conditions to identify chart patterns. This includes checks for relative pivot heights/lows, slope analysis of trendlines, and ATR-based proportionality for patterns like Head & Shoulders.
Dynamic Status Tracking & Invalidation:
- Active: A pattern's initial structure is identified (e.g., two tops of a Double Top, or the converging trendlines of a Pennant). The pattern is developing.
- Confirmed: The pattern completes, and price breaks out/down from a key level (e.g., neckline, trendline) in the expected direction. Price targets are plotted upon confirmation.
- Invalidated: If price breaks out/down in the opposite direction of what's expected for an "Active" pattern, or if a new pivot forms that structurally compromises an "Active" Double Top/Bottom or Head & Shoulders before its confirmation, the pattern is marked "Invalid".
Price Target Projection: For confirmed patterns (excluding simple HH/LL structures), the indicator automatically calculates and plots potential price targets based on common technical analysis principles (e.g., pattern height projected from the breakout point).
█ DETECTED CHART PATTERNS
Chart Patterns (PRO) identifies a comprehensive list of 20 patterns, categorized for clarity:
I. Simple Market Structures:
Lower Low (LL): Indicates bearish pressure, potentially forming part of a larger downtrend.
Lower Low & Lower High (LL & LH): Stronger confirmation of a bearish trend.
Higher High (HH): Signals bullish strength, potentially part of an uptrend.
Higher High & Higher Low (HH & HL): Stronger confirmation of a bullish trend.
II. Reversal Patterns:
These patterns typically signal a potential end of the current trend and the beginning of a new one in the opposite direction.
Double Top (DT): Bearish reversal. Two distinct peaks at similar levels.
Double Bottom (DB): Bullish reversal. Two distinct troughs at similar levels.
Head and Shoulders (H&S): Bearish reversal. A central peak (head) flanked by two smaller peaks (shoulders).
Inverse Head and Shoulders (Inv H&S): Bullish reversal. A central trough (head) flanked by two smaller troughs (shoulders).
Rising Wedge From Uptrend (RW From UT): Bearish reversal. Converging trendlines with an upward slant during an uptrend.
Falling Wedge From Downtrend (FW From DT): Bullish reversal. Converging trendlines with a downward slant during a downtrend.
Bearish Ascending Triangle (Reversal): Bearish reversal. A horizontal resistance line with rising support, typically occurring after a downtrend.
Bullish Descending Triangle (Reversal): Bullish reversal. A horizontal support line with falling resistance, typically occurring after an uptrend.
III. Continuation Patterns:
These patterns typically suggest a temporary pause in the prevailing trend, after which the trend is likely to resume.
Rising Wedge From Downtrend (RW From DT): Bearish continuation. An upward-slanted consolidation during a downtrend.
Falling Wedge From Uptrend (FW From UT): Bullish continuation. A downward-slanted consolidation during an uptrend.
Bearish Pennant: Bearish continuation. A small symmetrical triangle (converging trendlines) after a sharp downward move.
Bullish Pennant: Bullish continuation. A small symmetrical triangle (converging trendlines) after a sharp upward move.
Bearish Flag: Bearish continuation. A short, rectangular consolidation (parallel trendlines, often upward sloping) after a sharp downward move.
Bullish Flag: Bullish continuation. A short, rectangular consolidation (parallel trendlines, often downward sloping) after a sharp upward move.
Bearish Descending Triangle: Bearish continuation. Horizontal support and a descending resistance line during a downtrend.
Bullish Ascending Triangle: Bullish continuation. Horizontal resistance and an ascending support line during an uptrend.
█ KEY FEATURES
- Automatic Price Target Projection:
Once a pattern is "Confirmed," a price target is automatically plotted on the chart.
Targets are calculated based on established technical methods, typically measuring the height of the pattern and projecting it from the breakout point.
Includes a label displaying the target price level. Toggle with Show Price Targets .
- Advanced Multi-Status Alerts:
Never miss an opportunity with highly configurable alerts.
Receive notifications when a pattern is:
- Developing (Active): Get an early heads-up.
- Confirmed: Act on breakout signals.
- Invalidated: Re-assess your strategy quickly.
Alerts automatically include the pattern type and its status (e.g., "Double Top - Confirmed ✅").
Additional contextual information included by default: Ticker Symbol, Chart Timeframe, Current Price, and Projected Target Price (for confirmed patterns).
Enable/disable all alerts via the Enable Alerts setting.
- Comprehensive Pattern Validation & Invalidation:
Patterns like Wedges, Triangles, Pennants, and Flags are monitored for breakouts. A breakout in the expected direction confirms the pattern; a breakout in the opposite direction invalidates it.
Double Tops/Bottoms and Head & Shoulders have pre-confirmation invalidation logic: if a new pivot forms that compromises the pattern's structure before the neckline breaks, the pattern is marked "Invalid". This helps filter out weaker setups.
ATR is used internally for proportional checks in patterns like Head & Shoulders, ensuring more reliable formations.
- Superior Visualizations:
Pattern Fills: Wedges, Triangles, Pennants, and Flags are visually enhanced with a semi-transparent fill between their trendlines, making them easy to spot.
Clear Necklines & Trendlines: Critical lines for patterns are drawn clearly.
Distinct Labels: Each pattern receives a main label (e.g., "H&S", "BullP"). Double Tops/Bottoms and H&S also get individual component labels (Top 1/2, Shoulder 1/Head/Shoulder 2).
Customizable Colors: Set distinct colors for bullish and bearish patterns.
- Pattern Display Control:
Toggle visibility for each of the 20 individual pattern types.
Filter displayed patterns by their status: All , Active , Confirmed , or Invalid .
Control historical depth with Show Last History (Bars) .
- Pivot Point Engine:
The indicator uses an optimized internal lookback period for robust pivot detection.
Optionally display these pivot high and low markers on your chart, with customizable colors.
█ USER INPUTS
Visibility and Common Styling
- Show Last History (Bars):
Number of recent bars the indicator will analyze and plot patterns on.
Default: 3000. Min: 10.
- Patterns (Visibility Filter):
Filters displayed patterns based on their status.
Options: All, Active, Confirmed, Invalid.
Default: All.
- Show Price Targets:
Toggles the display of calculated price targets for confirmed patterns.
Default: Enabled.
- Bearish Color:
Sets the color for bearish patterns and their components.
Default: Red.
- Bullish Color:
Sets the color for bullish patterns and their components.
Default: Green.
Pivot Points
- Show Pivot Highs:
Toggles the visibility of detected pivot high markers.
Default: Enabled.
- Show Pivot Lows:
Toggles the visibility of detected pivot low markers.
Default: Enabled.
- Pivot Highs Color:
Color for pivot high markers.
Default: #ff5252 (Reddish).
- Pivot Lows Color:
Color for pivot low markers.
Default: #089981 (Greenish).
Pattern Toggles (Grouped by Type)
- Simple Structures:
Lower Low (Default: Enabled)
Lower Low & Lower High (Default: Enabled)
Higher High (Default: Enabled)
Higher High & Higher Low (Default: Enabled)
- Reversal Patterns:
Double Tops (Default: Enabled)
Double Bottoms (Default: Enabled)
Head and Shoulders (Default: Enabled)
Inverse Head and Shoulders (Default: Enabled)
Rising Wedges From Uptrend (Default: Enabled)
Falling Wedges From Downtrend (Default: Enabled)
Bearish Ascending Triangles (Reversal context) (Default: Enabled)
Bullish Descending Triangles (Reversal context) (Default: Enabled)
- Continuation Patterns:
Rising Wedges From Downtrend (Default: Enabled)
Falling Wedges From Uptrend (Default: Enabled)
Bearish Pennants (Default: Enabled)
Bullish Pennants (Default: Enabled)
Bearish Flags (Default: Enabled)
Bullish Flags (Default: Enabled)
Bearish Descending Triangles (Continuation context) (Default: Enabled)
Bullish Ascending Triangles (Continuation context) (Default: Enabled)
Alerts
- Enable Alerts:
Master switch to enable or disable all alert notifications from this indicator.
Default: Enabled. ( Alert messages are pre-configured to include Pattern Type, Status, Symbol, Timeframe, Price, and Target Price when applicable and confirmed ).
█ UNDERSTANDING PATTERN INVALIDATION
Trendline Patterns (Wedges, Triangles, Pennants, Flags): An "Active" pattern is invalidated if price breaks its trendlines in the direction opposite to the expected breakout before a confirmation occurs. E.g., an Active Bullish Pennant is invalidated if price breaks below its lower trendline.
Neckline Patterns (Double Tops/Bottoms, H&S): An "Active" pattern can be invalidated before a neckline break if a new pivot point forms that violates the pattern's structural integrity.
Example (Double Top): If Top 1, Neckline (P5), and Top 2 form (Active status), but before price breaks below P5, a new swing low forms at or above P5, the Double Top is invalidated. This indicates a failure to break support and potential renewed strength.
█ ALERTS GUIDE
Add the " Chart Patterns (PRO) " indicator to your chart.
Ensure Enable Alerts is checked in the indicator settings.
In TradingView, click the "Alert" icon (clock) in the right toolbar or press ALT + A .
In the "Create Alert" dialog:
- Condition: Select " Chart Patterns (PRO) ".
- For the condition dropdown below it, choose " Any alert() function call ". This will trigger for any alert generated by the script.
- Interval: Choose whatever interval you want the alert to be triggered.
- Expiration: Choose the expiration date.
Customize your alert notification preferences (popup, email, webhook, etc.) and click " Create ".
You will now receive alerts for pattern status changes (Developing, Confirmed, Invalidated) with detailed information.
█ CONCLUSION
The Chart Patterns (PRO) indicator is an indispensable tool for traders aiming to optimize their workflow. By automatically identifying and drawing classical chart patterns, it eliminates the need for manual chart analysis, thereby enabling users to dedicate substantially less time to chart monitoring. Its comprehensive detection, coupled with actionable insights like price targets and a meticulous status tracking system with alerts, provides a significant analytical edge. Automate your pattern recognition and drawing, and concentrate on making informed trading decisions with enhanced efficiency.
█ IMPORTANT NOTES
⚠ Confirmation is Crucial: While "Active" patterns provide early warnings, always await "Confirmed" status (e.g., neckline/trendline breaks) and consider volume and broader market context.
⚠ Non-Repainting Logic: Pattern detection and status updates are based on confirmed price bars and pivot points. Once a pattern is fully formed and its status set (Active, Confirmed, Invalid), it will not repaint its historical state. Initial drawing of "Active" patterns extends to the current bar and updates dynamically.
⚠ Combine with Other Tools: No indicator is a standalone solution. Use Chart Patterns (PRO) in conjunction with other forms of analysis (e.g., fundamental analysis, other indicators, volume analysis) and robust risk management .
⚠ Historical Data: Ensure sufficient historical data on your chart for patterns to form and be detected accurately. The Show Last History (Bars) setting can manage this.
⚠ Lagging Nature: By their very definition, chart patterns are lagging indicators as they require a sequence of price action and several pivot points to complete their formation.
█ RISK DISCLAIMER
Trading involves substantial risk of loss and is not suitable for all investors. The Chart Patterns (PRO) indicator and its generated information are for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Chart patterns and projected targets indicate potential price movements based on historical tendencies but do not guarantee future results. Always conduct your own due diligence, consider multiple factors, and consult with a qualified financial advisor before making investment decisions. Past performance is not indicative of future results.
📈 Happy trading! 🚀
Chart Patterns [ActiveQuants]The Chart Patterns indicator is a comprehensive tool designed to automatically identify a variety of common chart patterns directly on your price chart. By detecting sequences of pivot highs and lows , this indicator helps traders spot potential trend continuations , reversals , and key market structures such as Double Tops and Double Bottoms . Enhance your technical analysis by quickly recognizing these formations as they emerge.
How It Works
The indicator operates in a two-stage process:
Pivot Point Detection: It first identifies significant swing highs and swing lows (pivot points) based on a user-defined Period . These pivots form the fundamental building blocks for pattern recognition.
Pattern Recognition: Using the sequence of these detected pivot points, the script then applies logical rules to identify the following patterns:
Lower Low (LL)
Lower Low & Lower High (LL & LH)
Higher High (HH)
Higher High & Higher Low (HH & HL)
Double Tops
Double Bottoms
Patterns are drawn on the chart with connecting lines and labeled for easy identification. Double Tops and Double Bottoms also feature a status system: " Active " while forming, " Confirmed " upon neckline breakout, or " Invalid " if specific conditions negate the pattern before confirmation.
█ KEY FEATURES
Comprehensive Pattern Detection: Identifies six distinct types of chart patterns, offering insights into both trend continuation and potential reversals.
Pivot-Based Analysis: Uses a robust method of identifying pivot highs and lows as the foundation for pattern formation.
Pattern Status for Double Tops/Bottoms:
- Active: A Double Top or Double Bottom pattern has formed its two peaks/troughs and the intervening neckline point, but the price has not yet broken beyond the neckline. The pattern is developing .
- Confirmed: The price has decisively closed beyond the neckline (below for Double Top, above for Double Bottom), signaling a potential entry or validation of the pattern.
- Invalid: An " Active " Double Top or Double Bottom pattern can be invalidated if, before a neckline breakout occurs, a new pivot point forms that negates the pattern’s structural integrity. For example, if a new pivot low forms above or at the neckline of an Active Double Top, the pattern is considered invalid because the market failed to break down and instead showed relative strength.
Customizable Visuals: Allows users to define colors for bullish and bearish patterns, line widths, and the visibility of pivot points.
Selective Pattern Display: Users can choose to display all patterns or filter by status (Active, Confirmed, Invalid) for Double Tops/Bottoms. Individual pattern types can also be toggled on or off.
Historical Analysis Control: The Show Last History (Bars) input allows users to specify how far back the indicator should plot patterns, optimizing performance and chart readability.
Clear Labeling: Patterns are clearly labeled on the chart, with Double Tops/Bottoms also showing " Top 1 ," " Top 2 ," or " Bottom 1 ," " Bottom 2 " labels.
█ PATTERNS DETECTED
Lower Low (LL): Indicates a potential bearish continuation or the start of a downtrend. Forms when price makes a lower low during an uptrend.
Lower Low & Lower High (LL & LH): A stronger confirmation of a bearish trend, where the market forms a lower low followed by a lower high .
Higher High (HH): Signals a potential bullish continuation or the start of an uptrend. Forms when price makes a higher high during a downtrend.
Higher High & Higher Low (HH & HL): A stronger confirmation of a bullish trend, where the market forms a higher high followed by a higher low .
Double Top: A bearish reversal pattern characterized by two distinct peaks at roughly the same price level, separated by a trough (neckline). Confirmation occurs when price breaks below the neckline.
Double Bottom: A bullish reversal pattern featuring two distinct troughs at roughly the same price level, separated by a peak (neckline). Confirmation occurs when price breaks above the neckline.
█ EXAMPLE: DOUBLE TOP INVALIDATION
Understanding how a Double Top or Double Bottom can be invalidated is crucial. Here's an example for a Double Top:
Formation: The indicator identifies two peaks (Top 1, Top 2) at a similar price level, with a corrective trough (Neckline Pivot P5) in between. The pattern is labeled " Double Top " and is in an " Active " state. ( Imagine points P4 and P6 are the two tops, and P5 is the low point of the neckline between them ).
Pre-Breakout Condition: The price action continues, but before it breaks decisively below the P5 neckline level, a new significant swing low (a new pivot low) forms.
Invalidation Check: The indicator checks the price level of this new pivot low. If this new pivot low occurs at a price equal to or higher than the P5 neckline level, the " Active " Double Top pattern is re-labeled as " Invalid Double Top ". ( See image below for a visual representation of this scenario )
In this example, the Double Top formed with Top 1 (P4) and Top 2 (P6). The neckline is at P5. Before price broke below P5, a new pivot low formed at the red circle. Since this new pivot low is above the P5 neckline, the Double Top is marked " Invalid ".
The logic is that the market failed to break the neckline support and instead established a higher low (or a low at the support level), suggesting that the immediate bearish pressure has waned, thus invalidating the bearish reversal implication of the Double Top before it could confirm. A similar logic applies to Double Bottoms (a new pivot high forming below or at the neckline before an upside breakout).
█ USER INPUTS
Visibility and Common Styling
- Show Last History (Bars):
Specifies the number of recent bars the indicator will analyze and plot patterns on.
Default: 3000 bars. Min: 10.
- Patterns:
Filters which patterns are displayed based on their status.
Options: All, Active, Confirmed, Invalid.
Default: All.
- Pattern Line Width:
Sets the thickness of the lines used to draw the patterns.
Default: 1. Min: 1, Max: 10.
- Bearish Color:
Color for bearish patterns (LL, LL & LH, Double Tops).
Default: Red.
- Bullish Color:
Color for bullish patterns (HH, HH & HL, Double Bottoms).
Default: Green.
Pivot Points
- Period:
The lookback period on either side of a bar to qualify it as a pivot high or low. Higher values detect more significant pivots.
Default: 10 bars. Min: 2.
- Show Pivot Highs:
Toggles the visibility of detected pivot high markers.
Default: Enabled.
- Show Pivot Lows:
Toggles the visibility of detected pivot low markers.
Default: Enabled.
- Pivot Highs Color:
Color for the pivot high markers.
Default: #ff5252 (Reddish).
- Pivot Lows Color:
Color for the pivot low markers.
Default: #089981 (Greenish).
Patterns (Toggles)
- Lower Low:
Enable/disable detection and display of Lower Low patterns.
Default: Enabled.
- Lower Low & Lower High:
Enable/disable detection and display of Lower Low & Lower High patterns.
Default: Enabled.
- Higher High:
Enable/disable detection and display of Higher High patterns.
Default: Enabled.
- Higher High & Higher Low:
Enable/disable detection and display of Higher High & Higher Low patterns.
Default: Enabled.
- Double Tops:
Enable/disable detection and display of Double Top patterns.
Default: Enabled.
- Double Bottoms:
Enable/disable detection and display of Double Bottom patterns.
Default: Enabled.
█ CONCLUSION
The Chart Patterns indicator is a versatile and powerful assistant for traders who utilize classical chart pattern analysis. By automating the detection of key formations and providing clear visual cues along with status updates for patterns like Double Tops and Bottoms, it allows traders to focus on strategy development and execution. With its customizable settings, it can be adapted to various instruments and timeframes, making it a valuable addition to any technical trader's toolkit.
█ IMPORTANT NOTES
⚠ Pivot Period Sensitivity: The Period setting for pivot detection is crucial. A shorter period will identify more frequent, smaller swings, while a longer period will focus on more significant turning points. Adjust this setting based on the asset's volatility, the timeframe you are trading and your trading style.
⚠ Confirmation is Key: While the indicator identifies patterns, always wait for pattern confirmation (e.g., neckline breaks for Double Tops/Bottoms) and consider other factors like volume and market context before making trading decisions.
⚠ Confirmed Bars for Detection: Patterns are identified based on confirmed pivot points, which means a pivot is recognized period bars after it has formed. Status updates for Double Tops/Bottoms (Active, Confirmed, Invalid) also occur on confirmed bars. This approach enhances reliability and reduces the likelihood of repainting based on intra-bar price fluctuations.
⚠ Not a Standalone System: Chart patterns provide valuable insights, but they should be used in conjunction with other technical analysis tools (e.g., trendlines, moving averages, oscillators) and a sound risk management plan.
⚠ Lagging Nature: By their very definition, chart patterns are lagging indicators as they require a sequence of price action and several pivot points to complete their formation.
█ RISK DISCLAIMER
Trading involves a substantial risk of loss and is not suitable for every investor. The information provided by the Chart Patterns indicator is for educational and informational purposes only. It should not be considered as financial advice or a recommendation to buy or sell any security. Chart patterns indicate potential price movements but do not guarantee future results. Always perform your own due diligence and consult with a qualified financial advisor before making any investment decisions. Past performance is not indicative of future results.
📈 Happy trading! 🚀
NR4 & NR7 with Breakouts [LuxAlgo]NR4 & NR7 with Breakouts is a simple indicator that utilizes the NR4 and NR7 candle patterns to display candle ranges and signals from range breakouts.
🔶 USAGE
The Narrow Range Patterns are candle formations determined by the last candle having a narrower (high-low) range than the previous number. This indicator showcases the 2 most recognized Narrow Range Patterns, which are the 4 and 7 bar variants (NR4 and NR7).
These patterns, introduced by Toby Crabel, are thought to provide insight for potential market breakouts by identifying periods of low volatility indicated by a candle with a small range. This is due to the idea that markets often move from periods of low volatility (contraction) to high volatility (expansion), and the NR4 and NR7 patterns help spot these transitions.
By utilizing these patterns, traders are better able to anticipate and respond to market shifts for better decision-making and risk management.
NOTE: These patterns have traditionally been studied on the Daily Timeframe Chart. This indicator allows the user to select a timeframe to generate these patterns from. It is suggested to be mindful of this when considering these patterns.
In this indicator, on the bar after the pattern is detected, the Narrow Range Bar will be highlighted with a zone, and lines displaying the range will extend from it. These ranges are helpful for providing levels to set limit orders and for managing risk.
Users are able to adjust which pattern they want visualized on their chart, please note;
All NR7s are NR4s but not all NR4s are NR7s.
Because of this, you will notice that when selecting "NR4" to display, the colors will change, but the detected ranges will not change.
🔹 Signals
When a Narrow Range Bar is detected, the script will wait for the price to close outside of the Range, then a signal will fire indicating the direction of exit. The signals are produced from the last NR4 or NR7 and will have the potential to fire from that range until a new NR4 or NR7 is detected.
After a signal fires, the logic goes into a "reset" period where it will wait for the price to reach the Range Mean before firing another signal.
These signals can be anticipated by considering the underlying logic and watching price approach the range extremities, and can be improved by utilizing other market information for confluence.
🔶 SETTINGS
Timeframe: Choose which timeframe to identify the NR4 and NR7 Pattern on. This must be Higher than the chart timeframe.
Pattern Type: Choose which (or all) patterns to display.
Breakout Patterns Detector: Triangle & Wedge [Splirus]This indicator identifies Breakout Patterns such as Ascending Triangles , Descending Triangles , Symmetric Triangles , Ascending Wedges , and Descending Wedges , using candlestick charts and Trendlines. It provides visual cues, stop-loss (SL), and take-profit (TP) levels, alongside a detailed dashboard to evaluate performance. The indicator supports two alert modes: Manual Mode for trader notifications and Bot Mode for automated trading signals.
To achieve optimal results, users are encouraged to experiment with indicator parameters and analyze the dashboard summary to find the perfect configuration for each timeframe, pair, and market condition.
Pattern Identification
The indicator detects the following breakout patterns based on pivot highs and lows:
Ascending Triangle : Flat upper trendline, rising lower trendline.
Descending Triangle : Flat lower trendline, declining upper trendline.
Symmetric Triangle : Converging trendlines with similar slopes (within a user-defined threshold).
Ascending Wedge : Both trendlines slope upward, converging.
Descending Wedge : Both trendlines slope downward, converging.
Patterns are identified using configurable left and right bars for small and big patterns, with slope thresholds normalized by ATR. A trend confirmation filter ensures breakouts align with market direction, and users can adjust breakout confirmation bars to validate signals.
The goal is to fine-tune these settings to suit specific timeframes and pairs, as each combination may require a unique setup for optimal performance.
Stop-Loss Calculation
Stop-loss levels are calculated dynamically based on pattern type and breakout direction:
Symmetric Triangle : SL is set at the first pivot of the opposite trendline, adjusted by a buffer percentage.
Ascending/Descending Triangle : SL is placed at the breakout trendline’s price, plus the buffer.
Ascending/Descending Wedge : SL is set at the second pivot of the opposite trendline, adjusted by the buffer.
The indicator calculates leverage based on a user-defined risk tolerance percentage. Users should adjust the SL buffer and risk tolerance to balance risk and reward, monitoring the dashboard to assess how these settings impact performance across different timeframes and pairs.
Take-Profit Calculation
Three take-profit levels ( TP1 , TP2 , TP3 ) are calculated using pattern height and user-defined multipliers:
For Ascending/Descending Triangles, height is the difference between the max and min prices within the pattern.
For Symmetric Triangles and Wedges, height is the vertical distance between trendlines at the pattern’s start.
TP levels are set as:
TP1 = Breakout price ± (Height × TP1 Multiplier).
TP2 = Breakout price ± (Height × TP2 Multiplier).
TP3 = Breakout price ± (Height × TP3 Multiplier, with a 1.5x adjustment for Wedges).
Experiment with TP multipliers to optimize the risk-reward ratio, using the dashboard to evaluate TP hit rates and overall profitability for each configuration.
Symmetric Triangle:
Ascending/Descending Wedge:
Ascending/Descending Triangles:
Finding the Perfect Configuration
The indicator’s dashboard provides a comprehensive summary of performance metrics, including total trades, TP1/TP2/TP3 hits, SL hits, profit/loss percentages, and win rates for bullish, bearish, and combined trades. These metrics are crucial for identifying the ideal parameter settings:
Timeframe and Pair Variability : Each timeframe (e.g., 15m, 30min, 1H, 4H, Daily) and pair (e.g., BTC/USD, EUR/USD) behaves differently. Adjust parameters like left/right bars, minimum pattern length, and breakout confirmation bars to match the volatility and trend characteristics of the chosen pair and timeframe.
Parameter Tuning : Modify slope thresholds, trend confirmation filters, and bars inside the pattern to filter out false breakouts. For example, a higher breakout confirmation bar setting may reduce signals but increase reliability on longer timeframes.
Dashboard Analysis : Focus on the dashboard’s win rate, profit/loss ratio, and TP/SL hit frequencies. A “Perfect” win rate (>66%) or high TP hit rate indicates a strong configuration. If the SL hit rate is high, consider tightening the trend confirmation filter or increasing the SL buffer.
Iterative Testing : Test different combinations of settings (e.g., small vs. big patterns, aggressive vs. conservative breakout confirmation) and compare dashboard results over time. The goal is to find a balance where the indicator consistently delivers high win rates and profitability for your specific trading setup.
Alert Modes
The indicator supports two alert modes to suit different trading styles:
Manual Mode : Generates alerts for breakouts with entry price, SL, TP1/TP2/TP3, and leverage, tailored for Crypto or Forex markets. Use this mode to manually evaluate signals while refining configurations.
Bot Mode : Sends automated trading signals. To avoid conflicts, Bot Mode ensures no short position alert is triggered while a long position is active, and vice versa. This mode is ideal once you’ve identified an optimal configuration via the dashboard.
Additional Features
Historical Patterns : Displays past trendlines with customizable transparency and extension, helping users analyze how patterns performed under different settings.
Customizable Settings : Adjust pattern size, breakout confirmation, trend filters, and visual preferences (colors, dashboard location) to match your trading style.
Market Compatibility : Supports Crypto and Forex markets across all timeframes, but requires careful tuning for each market type.
Usage Notes
Start with default settings and monitor the dashboard to establish a baseline performance for your chosen timeframe and pair.
Gradually adjust one parameter at a time (e.g., left/right bars, TP multipliers) and compare dashboard results to identify improvements.
Use historical pattern analysis to understand how past breakouts performed under different configurations, guiding your optimization process.
Once a high win rate and profitability are achieved, consider automating trades with Bot Mode for consistent execution.
Disclaimer
This indicator is intended for educational purposes only and should not be considered financial advice. Trading involves significant risk, and past performance is not indicative of future results. Users are strongly advised to thoroughly test and validate the indicator’s signals in a demo environment before using it in live trading. The author is not responsible for any financial losses incurred while using this indicator. Always conduct your own research and consult with a qualified financial advisor before making trading decisions.






















