Impulse Zone Spike Detector
- Indicadores
- Manuel Alejandro Montoya Martinez
- Versão: 1.0
- Ativações: 5
Impulse Zone Spike Detector is a MetaTrader 5 indicator that detects and draws horizontal interest zones around impulse-style spike movements on Boom and Crash indices.
The indicator analyzes recent price behavior and marks levels that can help organize chart reading. Its purpose is to display technical references around impulses, pullbacks, and areas where price has reacted strongly.
It can work in automatic mode to adapt its logic to the symbol behavior, or in manual mode to fix the analysis type. The goal is to provide a clear visual view of market context on short timeframes.
The indicator does not place trades and does not manage positions. It is a visual analysis tool.
What the indicator does
The indicator performs these functions:
- Detects the working mode of the symbol: Boom, Crash, or Auto.
- Calculates horizontal zones related to impulse movements.
- Displays the main spike inside the analyzed period.
- Can display spikes from the previous window and the next window.
- Can highlight zones or spikes.
- Can show a button to hide or show the zones.
- Can show a countdown near the last candle.
What the user sees on the chart
When the indicator is active, the user sees:
- horizontal lines representing interest zones or levels;
- visual marks for the main spike and, if enabled, for neighboring spikes;
- reference labels to identify periods or zones;
- a button to show or hide the indicator objects;
- a countdown near the last candle.
The purpose is to keep the chart more organized for observing impulses and zones.
Inputs
Detection Mode
- InpSpikeMode: selects the analysis mode. Available options are Auto, Boom, and Crash.
- InpTheme: selects the chart theme if that option is active in the indicator.
- IncludeToday: includes or excludes the current day from the analysis range.
Period Range
- DaysBack: number of periods to scan backward.
- PrevWindowBars: number of bars in the previous window.
- PostWindowBars: number of bars in the next window.
Spike Visibility
- ShowInternalSpike: shows the spike from the main period.
- ShowPreviousWindowSpike: shows the spike from the previous window.
- ShowNextWindowSpike: shows the spike from the next window.
- HighlightSpike: applies additional visual highlight.
Lines and Labels
- LabelFontSize: label font size.
- LineWidth: line width.
- LineStyle: line style.
- PeriodLineColor: main color of the period lines.
- ShowPeriodHighLine: shows the upper period line.
- ShowPeriodLowLine: shows the lower period line.
Spike Colors
- InternalSpikeColor: main spike color.
- PrevWindowSpikeColor: previous-window spike color.
- PostWindowSpikeColor: next-window spike color.
Button Settings
- ShowToggleButton: enables or disables the button.
- ButtonX and ButtonY: button position.
- ButtonWidth and ButtonHeight: button size.
- ButtonCorner: anchor corner.
- ActiveColor: active state color.
- InactiveColor: inactive state color.
- ButtonTextColor: button text color.
Countdown Near Last Candle
- ShowBarCountdown: enables or disables the countdown.
- CountdownColor: text color.
- CountdownFontSize: font size.
- CountdownFontName: font name.
- CountdownXPadPx: horizontal offset from the last candle.
- CountdownTopFront: forces the object to the front.
- CountdownMovePct: visual movement adjustment.
Note
This indicator is designed for visual price analysis. It does not place orders and does not replace the user’s own evaluation.
