OPEN-SOURCE SCRIPT

OB

476
HOW-TO: Advanced Order Block & Liquidity Mapping Tool

This script combines order block detection using 3- and 5-bar fractal structures with dynamic and static liquidity zones, plus optional time-based label calculations.

Key features:
– Fractal-based detection of bullish and bearish order blocks
– Automatic removal of broken OBs to keep charts clean
– Optional FVG validation for higher-quality OBs
– Custom time label logic for bar/session analysis
– Configurable visuals: line styles, widths, label placement, and time offsets

The logic for liquidity detection is adapted from the open-source LiquidityFinderLibrary by TFlab. This version adds custom cleanup behavior and visual enhancements to improve usability.

This script is published as open-source and intended for educational and analytical use only. No performance guarantees are implied.

If you have questions or suggestions, feel free to message me privately on TradingView.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.