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に直接ご連絡ください。
スクリプトの機能を理解し、その作者を全面的に信頼しているのでなければ、お金を支払ってまでそのスクリプトを利用することをTradingViewとしては「非推奨」としています。コミュニティスクリプトの中で、その代わりとなる無料かつオープンソースのスクリプトを見つけられる可能性もあります。
作者の指示
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に直接ご連絡ください。
スクリプトの機能を理解し、その作者を全面的に信頼しているのでなければ、お金を支払ってまでそのスクリプトを利用することをTradingViewとしては「非推奨」としています。コミュニティスクリプトの中で、その代わりとなる無料かつオープンソースのスクリプトを見つけられる可能性もあります。
作者の指示
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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。