OPEN-SOURCE SCRIPT
업데이트됨 BBMA OA - AI GPT-5

This indicator is an AI-assisted implementation of the BBMA OA (Bollinger Bands + Moving Average) trading strategy, originally introduced by Malaysian trader Oma Ally. The code was generated and optimized using the GPT-5 AI model to ensure clean Pine Script v6 structure and compatibility.
The system combines Bollinger Bands (20, 2) with EMA50, EMA200, and MA5/10 High-Low to identify the four main BBMA OA patterns:
Extreme
Market Hilang Volume (MHV)
Candle Arah Kukuh (CSAK)
Re-entry (RRE, REE, REM)
Features:
Multi Time Frame confirmation for higher accuracy
Automatic signal detection with visual markers
Trend ribbon and candle coloring
Optimized Pine Script v6, free from errors/warnings
⚠ This is an adaptation of Oma Ally’s concept for educational purposes, not an official version. Past performance does not guarantee future results.
The system combines Bollinger Bands (20, 2) with EMA50, EMA200, and MA5/10 High-Low to identify the four main BBMA OA patterns:
Extreme
Market Hilang Volume (MHV)
Candle Arah Kukuh (CSAK)
Re-entry (RRE, REE, REM)
Features:
Multi Time Frame confirmation for higher accuracy
Automatic signal detection with visual markers
Trend ribbon and candle coloring
Optimized Pine Script v6, free from errors/warnings
⚠ This is an adaptation of Oma Ally’s concept for educational purposes, not an official version. Past performance does not guarantee future results.
릴리즈 노트
This indicator is an AI-assisted implementation of the BBMA OA (Bollinger Bands + Moving Average) trading strategy, originally introduced by Malaysian trader Oma Ally.
Signals (Direction Indicators)The system combines Bollinger Bands (20, 2) with EMA50, EMA200, and MA5/10 High–Low to detect the following:Extreme (EXT) – MA5/10 breaks outside the Outer BB → potential end of trend (reversal signal).
The code is generated and optimized using the GPT-5 AI model to ensure clean Pine Script v6 structure, multi-timeframe flexibility, and compatibility with TradingView’s latest features.
Momentum (MOM) – Large-bodied candle closes outside an expanding BB → strong trend continuation.
Candle Sederhana Arah Kukuh (CSAK) – Strong candle breaking through MA and MidBB → trend confirmation.
Setups (Entry Zones)Ideal entry areas based on BBMA OA rules:Market Hilang Volume (MHV) – Volume contraction after an Extreme before reversal.
Re-entry (RE) – Trend-following entry when price returns to MA5/MA10/MidBB.
|- FeaturesMulti-Timeframe Confirmation → Select analysis TF & confirmation TF.
Automatic Signal Detection → Chart markers + dashboard status.
Toggle View → On/Off for Signals and Setups separately.
Trend Ribbon & Candle Coloring → Clear trend visualization.
Dashboard Panel → Displays last signal, trend status, MidBB & EMA50 price.
Optimized Pine Script v6 → Error-free, efficient, and lightweight.
| - 📌 What's New – v6.2🆕 New Features
- Momentum Signals → Automatic detection of buy/sell momentum candles, diamond marker + dashboard status.
- View Toggles → Option to show/hide Signals and Setups.
- Dashboard Update → Added Momentum row for faster monitoring.
- Signal priority per bar (EXT > MOM > MHV > CSAK > RE).
- Signal gap filter to prevent overlaps.
- Consistent marker colors and dashboard backgrounds.
⚠ Disclaimer:
This is an adaptation of Oma Ally’s BBMA OA concept for educational purposes only – not an official version.
Trading is risky; past performance does not guarantee future results. Always test on a demo account before using in live markets. - Momentum Signals → Automatic detection of buy/sell momentum candles, diamond marker + dashboard status.
릴리즈 노트
- MTF validation: Higher timeframe setup must be confirmed by lower timeframe signal
- Heikin Ashi support (optional)
- Signal dashboard: HTF Setup, LTF Signal, Extreme, Momentum, ZZL
- Fixed calc_on_every_tick and heikinashi() errors
- Cleaner plot and price scale (no duplicate price columns)
- HTF line synchronization across all timeframes
- Optional separate panel for dashboard
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.