INVITE-ONLY SCRIPT

Advanced Candlestick Patterns [MAB]

37
๐Ÿ”Ž Overview
Advanced Candlestick Patterns is a framework that detects well-defined candlestick patterns with a consistent Validation / Devalidation process, optional swing-context filters, and a hidden-candle reconstruction mode for stricter pattern anatomy.
The goal is clarity and discipline: signals are described, thresholds are visible, and risk parameters are explicit.

โš™๏ธ Key Features
  • ๐Ÿ“Š Pattern Engine (Extensible) โ€” Modular detection methods so new patterns can be added without changing workflow.
  • โœ… Validation / Devalidation โ€” Clear rules for confirmation and invalidation; plotted with distinct lines for transparency.
  • ๐Ÿ“ˆ Swing Filter (Optional) โ€” Require setups to align with local swing highs/lows via selectable lookbacks.
  • ๐Ÿงฉ Hidden-Candle Mode โ€” Reconstructs OHLC (prev close + current extremes) to reveal intra-bar structure; visuals may differ from native bars.
  • ๐ŸŽฏTarget Systems โ€” Choose Points, Percentage, or Risk:Reward; info label shows EP/SL/TP-1.
  • Performance-Safe Controls โ€” Label size, info toggle, and non-editable internal lines.


๐Ÿ“ˆ How to Use
  • Add the script to your chart (after access is granted).
  • Choose pattern types for Bullish and Bearish detection from the inputs.
    โƒ Enable Hidden Candles if you want stricter intra-bar anatomy.
    โƒ Enable Detect near Swings and pick a swing length (Smaller/Medium/Bigger).
  • ๐Ÿ’ฌDecide whether to show Trade Info Labels (Entry, SL, Target 1).
  • ๐ŸŽฏSet your Target Mode (Points / Percentage / Risk:Reward) and parameter.
  • โœ… Use the plotted Validation (confirmation) and Devalidation (invalidation) levels to plan.

Tip: With Detect near Swings ON, a setup counts only if the prior barโ€™s high/low equals the rolling extreme. If too strict, adjust the lookback or disable.

๐Ÿ’กRecommended charting
โ€ข Intraday structure: 5mโ€“15mโ€“30m
โ€ข Swing confirmation: 2h-4hโ€“1D
โ€ข Test across multiple symbols; avoid cherry-picking.

๐Ÿ›ก Risk Management System
This tool displays mechanicsโ€”you control the risk. A common template:
  • Entry: Entry is typically considered only after validation.
  • Stop-Loss: Initial SL at the structure-defined level (displayed).
  • Target 1: Choose Points / % / Risk:Reward (e.g., 1R).
  • After TP-1: Consider partial profits and trail the remainder via ATR / short MA / swing boxes (user-defined).

No target or trail is guaranteedโ€”market conditions change.

๐Ÿงญ Visual Guide

#1. Input Selections Window:
syot kilat

#2. Bearish Patterns: Valid and Devaild rules for the Bearish Patterns
syot kilat

#3. Bullish Patterns: Valid and Devalied rules for the Bullish Patterns
syot kilat

#4. Spotted Bullish Harami Pattern & Trade Info label explained:
syot kilat

#5. Spotted Bearish Engulfing Pattern:
syot kilat

โš ๏ธ Important Notes
  • โฑ๏ธ Timeframes: Works on all timeframes. For intraday, start 5mโ€“15m; for swing, use 4hโ€“1D. Evaluate on bar close.
  • โœ… Instruments: Any OHLC market (Crypto/FX/Indices/Equities). Forward-adjusted data may show minor visual differences.
  • ๐Ÿงฉ Hidden-Candle Mode: Detection follows reconstructed bars; visuals may differ from native candles.
  • ๐Ÿ”” Signal Lifecycle: Deterministic New โ†’ Validated โ†’ Devalidated. Levels reset to na when devalidated.
  • ๐Ÿšซ No Look-Ahead: No repainting after bar close. Intrabar values can update until the bar closes.
  • ๐Ÿ“Š Performance: High label/line counts can slow charts on lower TFs; reduce label size or toggle Trade Info if needed.



๐Ÿ” Conclusion and Access
This framework promotes a disciplined, rules-first approach to pattern-based trading: clear definitions, visible Validation/Devalidation levels, and explicit risk references.

๐Ÿ‘‰ For how to request access, please see the Authorโ€™s Instructions section below.

๐Ÿงพ Disclaimer
This script is intended solely for educational and informational purposes. It does not provide financial or investment advice, nor should it be interpreted as a recommendation to buy, sell, or trade any securities or derivatives.
We are not SEBI-registered advisors, and the strategies shown are not personalized guidance. Past performance or backtested results are not indicative of future outcomes and should not be relied upon for live trading without thorough evaluation.
Trading in financial marketsโ€”especially optionsโ€”involves significant risk. Both profits and losses are inherent to the trading process.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.