Fast Scalping AI Indicator: A 7 And 18 Crossover

Written by Dominic Walsh · Published · Last updated

The fast scalping ai indicator contains no machine learning, and it is worth saying so plainly. What the code holds is a crossover between two exponential averages at `FastEma` and `SlowEma` bars. Every crossing gets a sandy brown or coral mark scaled to the bar it sits on.

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

Platforms MT4 (.ex4) + MT5 (.ex5)
Chart window Main price chart
Plots 2: Fast Buy, Fast Sell
Alerts popup, push notification, email, sound
Inputs 8

What the Fast Scalping AI Indicator draws on the chart

Fast Buy places a sandy brown arrow at a crossing up.

Fast Sell places a coral arrow at a crossing down.

Marks sit half a bar range clear of the candle.

Neither average plots, so the chart carries the marks alone.

  • Fast Buy: arrow, sandy brown, arrow code 233
  • Fast Sell: arrow, coral, arrow code 234
Fast scalping AI indicator on EURUSD M5 marking 7 and 18 crossovers
Fast scalping AI indicator on EURUSD M5 marking 7 and 18 crossovers

How the Fast Scalping AI Indicator calculates its values

Two recursions

kf takes 2 over `FastEma` `7` plus one, and ks does the same for `SlowEma` `18`. Each buffer blends the new close with its own previous value. Both seed from the first close, so neither spikes at the left edge.

The crossing rule

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 stored values, so no rounding creeps in from a second calculation.

What the name does not describe

No model gets trained here, and no weights are learned. The word in the title is marketing rather than a description. Reading the two settings tells you everything the code decides.

How to read the signals

An 18-bar slow average makes this slightly calmer than a 13-bar pairing.

Marks scale with the candle, so they stay readable on quiet and busy bars.

Nothing filters the crossings, so some point against the larger move.

Stretch `SlowEma` toward 30 for a noticeably thinner signal count.

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

Four channels hang off `EnableAlerts`, which starts on. Only `EnablePopup` joins it, while `EnablePushNotify`, `EnableEmail` and `EnableSound` begin false. `SoundFile` picks the clip. The crossing test reads completed bars, one message per bar.

Every Fast Scalping AI Indicator input

Core settings

Setting What it does Default
FastEma Fast average length, default `7`. 7
SlowEma Slow average length, default `18`. 18

Alert settings

Setting What it does Default
EnableAlerts Master switch for the fast cross alerts, default `true`. on
EnablePopup Terminal dialog on a fast cross, default `true`. on
EnablePushNotify Phone push on a fast cross, default `false`. off
EnableEmail Mail delivery on a fast cross, default `false`. off
EnableSound Sound playback on a fast cross, default `false`. off
SoundFile Wav clip for the cross alert, default `alert.wav`. alert.wav
Fast scalping AI indicator inputs: FastEma, SlowEma and the alert switches
Fast scalping AI indicator inputs: FastEma, SlowEma and the alert switches

Settings that fit your chart

A seven-bar average points this at fast charts. EURUSD M5 is the reference chart, where `SlowEma` at `18` covers an hour and a half. On M15 the same pair spans four hours and the marks thin out. Above H1 a seven-bar average moves faster than the timeframe warrants.

When the Fast Scalping AI Indicator fails

The name suggests something the code does not contain.

Two averages seven and eighteen bars apart still cross often in a range.

Both readings come from the same closes, so they are one view rather than two.

Copy the compiled Fast Scalping AI 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 Fast Scalping AI Indicator: Forward premium anomaly on Wikipedia, Stockcharts Theoretical Indices at StockCharts ChartSchool.

Download the Fast Scalping AI Indicator for MT4 and MT5

The zip holds the compiled Fast Scalping AI 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

Does the FastEma logic use machine learning?

No. The code builds two exponential averages and compares them. No model is trained, no weights are learned and no data leaves the terminal. The word in the name describes the marketing rather than the arithmetic.

How does SlowEma at 18 compare with 13?

It gives a slightly calmer pairing. Eighteen bars on M5 covers an hour and a half, against just over an hour at 13. That widens the gap between the two lines and cuts the crossing count a little.

Why do the Fast Buy marks scale with the bar?

The offset takes half the bar range instead of a fixed point count. A tall candle pushes the mark further out and a small one keeps it close. One setting then works on any instrument without tuning.

Do the FastEma and SlowEma lines plot anywhere?

No. Both stay in internal buffers, and only the arrow plots draw. Add a standard exponential pair at seven and eighteen bars if you want to watch the crossings the marks come from.

Are results guaranteed?

No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Fast Scalping AI Indicator as one input. Always backtest before trading live.

Category: this is part of our Volatility collection. Next, plainly, yet, browse more Volatility 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