VegaFlow Gap Pressure
- Indicatori
- Versione: 1.0
- Attivazioni: 5
VegaFlow Gap Pressure FAST — MQL5 Market Product Description
Short Description
VegaFlow Gap Pressure FAST is a MetaTrader 5 custom indicator that measures opening gap pressure normalized by recent average absolute opening gap, then displays an oscillator, signal line, histogram, and optional closed-bar arrows.
Main Description
VegaFlow Gap Pressure FAST is a professional MetaTrader 5 custom indicator designed for manual traders who want to evaluate how strongly the current bar opens above or below the previous close compared with recent opening-gap behavior. It is not based on RSI, ATR handles, Donchian channels, VWAP, wick imbalance, range expansion, body dominance, price velocity, candle body pressure, efficiency flow, regression slope, momentum acceleration, balance pulse, directional consistency, trend streak energy, MACD, Bollinger Bands, or Stochastic logic.
The indicator measures the current opening gap as the current open minus the previous close. This gap is normalized by the average absolute opening gap over the selected Gap Normalize Period. Positive values suggest bullish opening pressure. Negative values suggest bearish opening pressure. Values near zero suggest limited opening gap pressure.
A signal line is calculated as a simple moving average of the Gap Pressure line. Optional arrows appear when the pressure line crosses the signal line with enough strength. By default, signals are based on closed bars only, so closed-bar signals do not use future candles and do not repaint.
This version is designed with validation performance in mind. It uses optimized rolling calculation on initialization and limits recalculation on later ticks by using prev_calculated. It also avoids external indicator handles, DLLs, WebRequest, file access, and trading operations.
Core Logic
Opening Gap = Current Open - Previous Close
Average Absolute Gap = SMA of abs(Current Open - Previous Close) over the selected Gap Normalize Period
Gap Pressure = 100 × Opening Gap / Average Absolute Gap
Signal Line = SMA of Gap Pressure
The output is limited to the range from -100 to +100.
Key Features
- Opening gap pressure oscillator.
- Average absolute gap normalization.
- SMA signal line.
- Bullish and bearish histogram.
- Optional buy and sell arrows.
- Optional popup alerts.
- Closed-bar signal mode by default.
- Optimized calculation for faster Strategy Tester execution.
- No future data.
- No repainting of closed-bar signals.
- No automatic trading.
- No DLL.
- No WebRequest.
- No file access.
Input Parameters
Gap Normalize Period
Default: 24
Controls how many opening gaps are used to calculate the average absolute gap.
Signal Period
Default: 8
Controls the smoothing period of the signal line.
Minimum Signal Strength
Default: 7.0
Controls the minimum positive or negative gap pressure value required for an arrow signal.
Show Histogram
Default: true
Shows or hides the bullish and bearish histogram.
Show Arrows
Default: true
Shows or hides gap pressure cross arrows.
Use Current Bar For Signals
Default: false
If false, arrows are generated from closed bars only. If true, current-bar arrows may appear and can change before the candle closes.
Enable Popup Alerts
Default: false
Enables or disables popup alerts.
Alert On Current Bar
Default: false
Controls whether alerts are based on the current forming bar or the last closed bar.
No-Repaint Explanation
By default, Use Current Bar For Signals is false. Signals are generated on closed candles only. The indicator calculates each bar using only data available at that bar and older bars. It does not use future candles.
Risk Disclaimer
Trading financial markets involves risk. This indicator is a technical analysis tool and does not guarantee future results.
