PROTECTED SOURCE SCRIPT
Agressive Pricing Gaps (FVG/UPG,VI,OG) @MaxMaserati 3.0

Aggressive Pricing Gaps (APGs 3.0)
The indicator specializes in identifying and managing price vacuums left behind when aggressive market participants rapidly move price, leaving areas that often serve as magnets for future mitigation.
1. Unfair Pricing Gaps (UPG) Analysis
The UPG logic is the indicator's main function, detecting a traditional three-candle price imbalance (FVG).
Detection Mechanism: A bullish UPG is identified when the high of candle 3 is below the low of candle 1 (with candle 2 being the expansive candle). A bearish UPG is identified when the low of candle 3 is above the high of candle 1.
Multi-Timeframe Support: UPG detection can be run on a Higher Timeframe (HTF), allowing traders to monitor significant weekly, daily, or H4 imbalances while viewing a lower execution timeframe.

Volume Filter: An optional Volume Filter based on EMA can be applied, restricting the plotting of UPGs only to those associated with volume exceeding the specified filter strength, thereby enhancing signal quality.
Sliced Mitigation: Each UPG is divided into multiple Box Slices (up to 20). This feature allows for detailed tracking of partial filling and precise visual confirmation as price moves through the gap.
2. Negative/Positive Candle Opening Gaps (OP+/-)
This logic focuses on the smaller, often immediate, gaps left between the closing price of one candle and the opening price of the next, representing minor immediate aggression or volatility.
Detection:
Positive Opening (OP+): Occurs when the current bar opens above the previous bar's close. When it happen we expect price to keep closing above it to maintain the bullish pressure.
Negative Opening (OP-): Occurs when the current bar opens below the previous bar's close. When it happen we expect price to keep closing below it to maintain the bearish pressure.

Timeframe Independence: OP Gaps can be displayed on a different timeframe from the UPG, or strictly on the chart's current timeframe.
The indicator specializes in identifying and managing price vacuums left behind when aggressive market participants rapidly move price, leaving areas that often serve as magnets for future mitigation.
1. Unfair Pricing Gaps (UPG) Analysis
The UPG logic is the indicator's main function, detecting a traditional three-candle price imbalance (FVG).
Detection Mechanism: A bullish UPG is identified when the high of candle 3 is below the low of candle 1 (with candle 2 being the expansive candle). A bearish UPG is identified when the low of candle 3 is above the high of candle 1.
Multi-Timeframe Support: UPG detection can be run on a Higher Timeframe (HTF), allowing traders to monitor significant weekly, daily, or H4 imbalances while viewing a lower execution timeframe.
Volume Filter: An optional Volume Filter based on EMA can be applied, restricting the plotting of UPGs only to those associated with volume exceeding the specified filter strength, thereby enhancing signal quality.
Sliced Mitigation: Each UPG is divided into multiple Box Slices (up to 20). This feature allows for detailed tracking of partial filling and precise visual confirmation as price moves through the gap.
2. Negative/Positive Candle Opening Gaps (OP+/-)
This logic focuses on the smaller, often immediate, gaps left between the closing price of one candle and the opening price of the next, representing minor immediate aggression or volatility.
Detection:
Positive Opening (OP+): Occurs when the current bar opens above the previous bar's close. When it happen we expect price to keep closing above it to maintain the bullish pressure.
Negative Opening (OP-): Occurs when the current bar opens below the previous bar's close. When it happen we expect price to keep closing below it to maintain the bearish pressure.
Timeframe Independence: OP Gaps can be displayed on a different timeframe from the UPG, or strictly on the chart's current timeframe.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
MMM : No body close (PO4), No Trade.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
MMM : No body close (PO4), No Trade.
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.