INVITE-ONLY SCRIPT
Advanced Candlestick Patterns [MAB]

🔎 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
📈 How to Use
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:
No target or trail is guaranteed—market conditions change.
🧭 Visual Guide
#1. Input Selections Window:

#2. Bearish Patterns: Valid and Devaild rules for the Bearish Patterns
#3. Bullish Patterns: Valid and Devalied rules for the Bullish Patterns
#4. Spotted Bullish Harami Pattern & Trade Info label explained:
#5. Spotted Bearish Engulfing Pattern:
⚠️ Important Notes
🔐 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.
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:
#2. Bearish Patterns: Valid and Devaild rules for the Bearish Patterns
#3. Bullish Patterns: Valid and Devalied rules for the Bullish Patterns
#4. Spotted Bullish Harami Pattern & Trade Info label explained:
#5. Spotted Bearish Engulfing Pattern:
⚠️ 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.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 MarketAlgoBot에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
To request access, please contact us using one of the methods below:
🌐 Website: https://www.marketalgobot.com
📧 Email: support@marketalgobot.com
📞 Phone: +91 94653-54074
경고: 액세스를 요청하기 앞서 초대 전용 스크립트에 대한 가이드를 읽어주세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 MarketAlgoBot에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
To request access, please contact us using one of the methods below:
🌐 Website: https://www.marketalgobot.com
📧 Email: support@marketalgobot.com
📞 Phone: +91 94653-54074
경고: 액세스를 요청하기 앞서 초대 전용 스크립트에 대한 가이드를 읽어주세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.