The scalper viper indicator keeps the toolkit to two settings. `FastEma` and `SlowEma` set a short exponential pair, and the code builds both itself rather than calling the terminal. Every crossing gets a mark, with the offset scaled by the size of the bar it sits on.
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: Scalper Buy, Scalper Sell |
| Alerts | popup, push notification, email, sound |
| Inputs | 8 |
What the Scalper viper Indicator draws on the chart
Scalper Buy places a medium spring green arrow at a crossing up.
Scalper Sell places a turquoise arrow at a crossing down.
Each mark sits half a bar range clear of the candle.
The two averages stay internal, so the chart carries only the marks.
- Scalper Buy: arrow, medium spring green, arrow code 233
- Scalper Sell: arrow, turquoise, arrow code 234

How the Scalper viper Indicator calculates its values
Two smoothing constants
kf takes 2 over `FastEma` plus one, and ks does the same with `SlowEma`. Each buffer then blends the new close with its own previous value using that constant. Both series seed from the first close, so neither spikes at the chart edge.
The crossing test
A buy needs the fast buffer at or below the slow one on the previous bar and above it now. The code reads its own buffers rather than recomputing, which keeps the comparison exact.
Scaling the mark
UpBuf takes low minus half the bar range and DnBuf takes high plus the same. A tall candle pushes the mark further out. That removes the need for a point setting to tune per instrument.
How to read the signals
A 7 and 13 pair crosses often, which is what the name implies.
Marks scale with the bar, so they stay readable on quiet and busy candles alike.
There is no filter at all, so a crossing against the larger trend looks identical.
Widen the gap between `FastEma` and `SlowEma` for fewer marks.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
`EnableAlerts` arrives switched on and `EnablePopup` does the talking. `EnablePushNotify`, `EnableEmail` and `EnableSound` all begin false. `SoundFile` picks the clip. The crossing test reads completed bars, one message per bar.
Every Scalper viper Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
FastEma |
Fast average length, default `7`. | 7 |
SlowEma |
Slow average length, default `13`. | 13 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Master switch for the viper cross alerts, default `true`. | on |
EnablePopup |
Terminal dialog on a viper cross, default `true`. | on |
EnablePushNotify |
Phone push on a viper cross, default `false`. | off |
EnableEmail |
Mail delivery on a viper cross, default `false`. | off |
EnableSound |
Sound playback on a viper cross, default `false`. | off |
SoundFile |
Wav clip for the cross alert, default `alert.wav`. | alert.wav |

Settings that fit your chart
A seven-bar average is short by any standard, which points the tool at fast charts. On M5 the two lines cross several times an hour and the marks work as timing inside a plan. On M15 they thin out usefully. Above H1 a pair this quick reacts faster than the timeframe warrants.
When the Scalper viper Indicator fails
Two averages seven and thirteen bars apart cross constantly in a range.
Nothing filters the marks, so half of them point against the larger move.
Both averages read the same close series, so they are not independent views.
Copy the compiled Scalper viper 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.
Background reading on the method behind the Scalper viper Indicator: Mark Twain effect on Wikipedia, Force Index at StockCharts ChartSchool.
Download the Scalper viper Indicator for MT4 and MT5
The zip holds the compiled Scalper viper 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
Why does FastEma get built rather than fetched?
So the crossing test reads the exact values the buffers hold. Recomputing an average for the comparison can differ in the last digit. Keeping both in buffers also makes the recursion visible if you open the source.
What does FastEma at 7 cover on M5?
About thirty-five minutes of trade. The slow line at `SlowEma` `13` covers just over an hour. That pairing is why the marks arrive frequently and why the tool suits short holding periods rather than swing work.
Why do the Scalper Buy and Sell arrows scale?
Because the offset takes half the bar range rather than a fixed number of points. A large candle pushes the mark further away and a small one keeps it close. One setting then works on any instrument without tuning.
Do the FastEma and SlowEma lines get drawn?
No. Both stay in internal buffers and only the two arrow plots draw. Add a standard exponential pair at the same lengths if you want to see the lines the crossings come from.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Scalper viper 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 Mark Twain effect on Wikipedia.
- For broader market context, see Force Index at StockCharts ChartSchool.
