The scalping vip indicator builds a range position reading in place and watches it cross its own smoothing. `KPeriod` sets the window and `DPeriod` names the smoothing length. Neither line reaches the chart. Only the crossings do, as spring green and deep pink arrows.
This build ships as a compiled .ex4 for MT4 and .ex5 for MT5.
| Platforms | MT4 (.ex4) + MT5 (.ex5) |
|---|---|
| Chart window | Main price chart |
| Plots | 2: Scalping Buy, Scalping Sell |
| Alerts | popup, push notification, email, sound |
| Inputs | 8 |
What the Scalping vip Indicator draws on the chart
Scalping Buy places a medium spring green arrow at a crossing up.
Scalping Sell places a deep pink arrow at a crossing down.
Each mark sits half a bar range clear of the candle.
Both readings stay internal, so the price chart carries the marks alone.
- Scalping Buy: arrow, medium spring green, arrow code 233
- Scalping Sell: arrow, deep pink, arrow code 234

How the Scalping vip Indicator calculates its values
Scoring the range position
hh and ll scan `KPeriod` `12` bars for the highest high and lowest low. kv then takes the close minus ll, over the range, times 100. A score of 100 puts the close at the top of the window.
Smoothing that score
dv takes the current score plus twice the previous one, over three. That short weighting is what `DPeriod` `5` stands for here. The pair behaves much like a familiar percent K and percent D.
Marking the crossing
A buy needs the previous score at or below the previous smoothing and the score above it now. Both readings come from completed bars, so a printed mark stays where it landed.
How to read the signals
A crossing near the top of the range differs from one near the bottom.
No overbought or oversold filter exists, so every crossing prints.
Marks scale with the candle, staying readable on quiet and busy bars.
Lengthen `KPeriod` when the chart fills with arrows.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
Four channels hang off `EnableAlerts`, which starts on, with `EnablePopup` joining it. `EnablePushNotify`, `EnableEmail` and `EnableSound` all begin false. `SoundFile` picks the clip. The crossing test reads completed bars, one message per bar.
Every Scalping vip Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
KPeriod |
Bars in the range window, default `12`. | 12 |
DPeriod |
Length the smoothing stands for, default `5`. | 5 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Master switch for the vip cross alerts, default `true`. | on |
EnablePopup |
Terminal dialog on a vip cross, default `true`. | on |
EnablePushNotify |
Phone push on a vip cross, default `false`. | off |
EnableEmail |
Mail delivery on a vip cross, default `false`. | off |
EnableSound |
Sound playback on a vip cross, default `false`. | off |
SoundFile |
Wav clip for the vip alert, default `alert.wav`. | alert.wav |

Settings that fit your chart
A twelve-bar window points this at short holding periods. On M5 it covers an hour and the crossings arrive constantly. On M15 the same setting spans three hours and the marks thin out usefully. Above H1 a reading this quick rarely holds long enough to act on.
When the Scalping vip Indicator fails
Crossings with no level filter appear mid-range, where they mean least.
Twelve bars is a short window, so one large candle shifts the score sharply.
Nothing filters for trend, so half the marks point against the larger move.
Copy the compiled Scalping vip Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.
Download the Scalping vip Indicator for MT4 and MT5
The zip holds the compiled Scalping vip Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.
Download this indicator free
Enter your email and the file is yours. You also get the full MT4 and MT5 library.
FAQ
What does KPeriod at 12 measure?
Where the close sits between the highest high and lowest low of the last twelve bars, as a percentage. On M5 that window covers an hour. Lengthen it and the score steadies, which cuts the crossing count sharply.
How does DPeriod smooth the score?
The code blends the current score with twice the previous one and divides by three. `DPeriod` `5` is the length that weighting stands for. Keeping it short matters, since a slower smoothing would delay every crossing.
What sets the Scalping Sell mark distance?
Half the bar range, taken from the high. A tall candle pushes the mark further out and a small one keeps it close. That removes the need for a point setting tuned per instrument.
Does KPeriod filter for an extreme reading?
No. Every crossing prints, wherever the score sits. That is why marks appear mid-range as well as at the edges. Read them against a separate range oscillator if you want that filter.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Scalping vip Indicator as one input. Always backtest before trading live.
Category: this is part of our Signal and Forecast collection. Browse more Signal and Forecast for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- For background on this concept, see Preferred stock on Wikipedia.
- For broader market context, see Vortex Indicator at StockCharts ChartSchool.
