OPEN-SOURCE SCRIPT
Ultimate PD Array

How to use it: open the Pine Editor on PulseWire, paste this in, click "Add to chart." Everything is toggleable in the indicator settings — timeframes, colors, mitigation removal, extend length, and labels.
A few notes on the logic:
PDH/PDL, PWH/PWL use the previous completed day/week, with lookahead so levels appear from the session's start rather than repainting mid-bar.
FVG = 3-candle imbalance (gap between candle 1's wick and candle 3's wick).
OB = last opposing candle before a displacement move that closes past its high/low — a common ICT-style definition.
Mitigation removal stops extending a zone once price trades back into it. Turn it off if you want to keep historical zones visible.
A few notes on the logic:
PDH/PDL, PWH/PWL use the previous completed day/week, with lookahead so levels appear from the session's start rather than repainting mid-bar.
FVG = 3-candle imbalance (gap between candle 1's wick and candle 3's wick).
OB = last opposing candle before a displacement move that closes past its high/low — a common ICT-style definition.
Mitigation removal stops extending a zone once price trades back into it. Turn it off if you want to keep historical zones visible.
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.
