OPEN-SOURCE SCRIPT
CODEX OB + BBMA V1

CODEX OB + BBMA is a multi-purpose Smart Money Concepts (SMC) indicator that automatically detects and visualizes key institutional trading elements such as Order Blocks, Fair Value Gaps, Rejection Blocks, Break of Structure, Pivots, High Volume Bars, and several qualitative SMC signals.
In addition to SMC tools, this indicator also incorporates multi-timeframe BBMA logic, allowing traders to view higher-timeframe momentum, trend direction, and volatility envelopes directly from the current chart. This makes it easier to align SMC setups—like OB, FVG, and BOS—with BBMA structure such as MA touches, re-entry zones, extreme candles, and volatility expansions.
This combination helps traders identify institutional footprints, multi-timeframe confluence, and displacement-based setups with high clarity.
In addition to SMC tools, this indicator also incorporates multi-timeframe BBMA logic, allowing traders to view higher-timeframe momentum, trend direction, and volatility envelopes directly from the current chart. This makes it easier to align SMC setups—like OB, FVG, and BOS—with BBMA structure such as MA touches, re-entry zones, extreme candles, and volatility expansions.
This combination helps traders identify institutional footprints, multi-timeframe confluence, and displacement-based setups with high clarity.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.