OPEN-SOURCE SCRIPT
MAUI Body Gaps INEF V2

## MAUI Body Gaps MTF
The **MAUI Body Gaps MTF** indicator identifies price gaps between the closing price of one candle and the opening price of the next candle across multiple timeframes.
The indicator supports the following timeframes:
**Current Chart, M1, M2, M3, M4, M5, M15, M30, M45, H1, H2, H3, H4, and Daily.**
Each timeframe can be enabled or disabled individually. Bullish and bearish gap colors can also be configured separately for every timeframe.
### Gap Detection Modes
The indicator offers two detection methods:
* **Previous Close → Next Open**
Detects a gap between the previous candle’s closing price and the next candle’s opening price.
* **Completely Separated Candle Bodies**
Detects gaps where the candle bodies do not overlap.
### Main Features
* Multi-timeframe gap detection
* Individual color settings for every timeframe
* Separate bullish and bearish gap colors
* Adjustable minimum gap size in ticks
* Adjustable line width and line style
* Optional display of bullish or bearish gaps
* Optional deletion of fully filled gaps
* Gap mitigation based on wick or candle body
* Maximum number of displayed gaps can be configured
* Alert conditions for new bullish and bearish gaps
* Optional setting to display only confirmed, fully printed gaps
When **“Only confirmed printed gaps”** is enabled, a gap is displayed only after the relevant candle has fully closed. This prevents unfinished gaps from appearing while a candle is still forming.
Filled gaps can either be stopped at the mitigation candle or removed completely from the chart.
This indicator is designed to provide a clear overview of open body gaps across several intraday and higher timeframes.
The **MAUI Body Gaps MTF** indicator identifies price gaps between the closing price of one candle and the opening price of the next candle across multiple timeframes.
The indicator supports the following timeframes:
**Current Chart, M1, M2, M3, M4, M5, M15, M30, M45, H1, H2, H3, H4, and Daily.**
Each timeframe can be enabled or disabled individually. Bullish and bearish gap colors can also be configured separately for every timeframe.
### Gap Detection Modes
The indicator offers two detection methods:
* **Previous Close → Next Open**
Detects a gap between the previous candle’s closing price and the next candle’s opening price.
* **Completely Separated Candle Bodies**
Detects gaps where the candle bodies do not overlap.
### Main Features
* Multi-timeframe gap detection
* Individual color settings for every timeframe
* Separate bullish and bearish gap colors
* Adjustable minimum gap size in ticks
* Adjustable line width and line style
* Optional display of bullish or bearish gaps
* Optional deletion of fully filled gaps
* Gap mitigation based on wick or candle body
* Maximum number of displayed gaps can be configured
* Alert conditions for new bullish and bearish gaps
* Optional setting to display only confirmed, fully printed gaps
When **“Only confirmed printed gaps”** is enabled, a gap is displayed only after the relevant candle has fully closed. This prevents unfinished gaps from appearing while a candle is still forming.
Filled gaps can either be stopped at the mitigation candle or removed completely from the chart.
This indicator is designed to provide a clear overview of open body gaps across several intraday and higher timeframes.
Open-source script
In true PulseWire 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 PulseWire. Read more in the Terms of Use.
Open-source script
In true PulseWire 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 PulseWire. Read more in the Terms of Use.
