XXL Scalping Indicator: Three EMAs And One Pullback

Written by Dominic Walsh · Published · Last updated

The xxl scalping indicator wants the three averages stacked in order. `FastEma` `8` above `MidEma` `21` above `SlowEma` `55` gives the long case. A bar then has to dip to the fast line and close back above it.

This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.

Platforms MT4 (.ex4) + MT5 (.ex5)
Chart window Main price chart
Plots 6: XXL EMA Fast Up, XXL EMA Fast Dn, XXL EMA Mid, XXL EMA Slow, XXL Buy, XXL Sell
Alerts popup, push notification, email, sound
Inputs 16

What the Xxl scalping Indicator draws on the chart

`XXL EMA Fast Up` and `XXL EMA Fast Dn` colour the fast line lime or red.

`XXL EMA Mid` runs in gold and `XXL EMA Slow` in deep sky blue.

`XXL Buy` uses arrow 233 and `XXL Sell` uses 234.

Marks sit `ArrowOffset` `0.6` of the bar range away from the candle.

  • XXL EMA Fast Up: line, lime, width 2
  • XXL EMA Fast Dn: line, red, width 2
  • XXL EMA Mid: line, gold, width 2
  • XXL EMA Slow: line, deep sky blue, width 3
  • XXL Buy: arrow, lime, width 2, arrow code 233
  • XXL Sell: arrow, red, width 2, arrow code 234
Xxl scalping indicator three EMAs and pullback arrows on the EURUSD H1 chart.
Xxl scalping indicator three EMAs and pullback arrows on the EURUSD H1 chart.

How the Xxl scalping Indicator calculates its values

Colour on the fast line

The fast line goes lime while it sits at or above the slow one, and red otherwise. Both buffers receive the previous bar as well, which bridges the join so the line never breaks.

The stack and the dip

A buy needs fast above mid and mid above slow. The bar then has to trade down to the fast line and still close above it. That pairing is what makes this a pullback tool rather than a crossover one.

An optional oscillator gate

`UseStoch` `false` leaves the extra filter off. Switch it on and a buy also needs %K under `StochBuyMax` `45.0`, with `StochSellMin` `55.0` doing the opposite job.

How to read the signals

Three lines in order is the setup, and the arrow is the trigger.

The fast line colour gives a quick read on the stack.

Marks scale with the bar, since `ArrowOffset` is a fraction of range.

With `UseStoch` off, only price and the three averages take part.

Alert channels in this build: popup, push notification, email and sound, one message per closed bar.

`EnableAlerts` sits over the routes and ships true with `EnablePopup`. Turn on `EnablePushNotify` to reach a phone, `EnableEmail` for mail, or `EnableSound` to play `SoundFile`. Those three arrive off. Marks report once the bar closes.

Every Xxl scalping Indicator input

Core settings

Setting What it does Default
FastEma Fast EMA period. Bars in the pullback line, default `8`. 8
MidEma Mid EMA period. Bars in the middle line, default `21`. 21
SlowEma Slow EMA period. Bars in the slow line, default `55`. 55
UseStoch Require Stochastic pullback trigger. Add the oscillator pullback gate, default `false`. off
StochK Stochastic %K period. Bars in the %K window, default `14`. 14
StochD Stochastic %D period. Bars in the %D smoothing, default `3`. 3
StochSlow Stochastic slowing. Slowing applied to %K, default `3`. 3
StochBuyMax Buy only if %K below this (pullback). Highest %K a buy tolerates, default `45.0`. 45.0
StochSellMin Sell only if %K above this (pullback). Lowest %K a sell tolerates, default `55.0`. 55.0

Display settings

Setting What it does Default
ArrowOffset Arrow gap (fraction of bar range). Gap to the candle as a share of bar range, default `0.6`. 0.6

Alert settings

Setting What it does Default
EnableAlerts Umbrella switch above the routes, default `true`. on
EnablePopup Alert window inside MetaTrader, default `true`. on
EnablePushNotify (see inputs panel) off
EnableEmail (see inputs panel) off
EnableSound (see inputs panel) off
SoundFile (see inputs panel) alert.wav
Xxl scalping indicator inputs panel with FastEma, MidEma, SlowEma and UseStoch.
Xxl scalping indicator inputs panel with FastEma, MidEma, SlowEma and UseStoch.

Settings that fit your chart

A fifty-five bar average sets the pace. EURUSD H1 is the reference chart, where `SlowEma` `55` covers over two days. On M5 the stack forms and breaks several times a session. H4 charts hold it for weeks.

When the Xxl scalping Indicator fails

Three averages only line up after a move is well underway.

A dip that closes below the fast line produces nothing, however close it came.

`ArrowOffset` `0.6` puts marks well clear of the candle, which crowds a busy chart.

Copy the compiled Xxl scalping 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 Xxl scalping Indicator: Attribution analysis on Wikipedia, Distance To Lows at StockCharts ChartSchool.

Download the Xxl scalping Indicator for MT4 and MT5

The zip holds the compiled Xxl scalping 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.

  • 1,380+ indicators
  • MT4 and MT5 files
  • No spam, unsubscribe any time

FAQ

What does ArrowOffset 0.6 measure?

Six tenths of the bar range, taken from the low or the high. A tall candle pushes the mark further out and a small one keeps it close. No point setting is needed, so it travels between instruments.

When should I switch UseStoch on?

When the default produces more marks than you want. The gate adds an oscillator condition on top of the price pullback, so fewer bars qualify. It ships off because the price test already does most of the filtering.

Why does the fast line change colour?

It reports whether the fast average sits above or below the slow one. Lime means above, red means below. Both `XXL EMA Fast Up` and `XXL EMA Fast Dn` receive the previous bar so the line stays joined.

What does StochBuyMax 45.0 require?

That %K sits under forty-five before a buy can print, and only when `UseStoch` is true. Below the midpoint means the oscillator has pulled back, which is the same idea as the price dip expressed differently.

Are results guaranteed?

No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Xxl scalping 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

Dominic Walsh - Forex trader and MT4/MT5 developer

About the author

Written by Dominic Walsh, a Forex trader and MT4/MT5 indicator, Expert Advisor and script developer. Every tool on forexmt4systems.com is tested on live charts before release and ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

How we build, test and correct every tool: Editorial & Testing Policy. Trading carries risk; see the disclaimer.

Leave a Comment