Gold EMA Cross Scalper · TradingView indicator One payment · no subscription · 60-day money-back

Scalp the gold EMA cross only after a close beyond all four lines, with the plan drawn

Gold EMA Cross Scalper watches the EMA 13/21 cross on your TradingView gold chart and signals only when a candle closes beyond both EMAs and both of their smoothing lines.

  • Buy and Sell decided on the closed candle; the entry is the next candle's open, never the signal bar.
  • Stop at the fifth candle back and five targets at 10, 20, 30, 40 and 50 of gold price.
  • Breakeven after a 5.00 move, optional trailing by targets and an early exit when price closes back through the EMAs.
  • Previous day high and low plus the three latest pivot support and resistance levels on each side.
  • The full Pine Script source code. Paste it into the Pine Editor, save, and add “Gold EMA Cross Scalper [AlgoFXStore]” to your chart.
  • A 14-page PDF manual with installation, every setting and how to read the chart. One-time €47.
Gold EMA Cross Scalper, shown on a real chart
Video

See Gold EMA Cross Scalper on a real chart

Press play; use the full-screen button to see every detail.

Gold EMA Cross Scalper running on a real TradingView chart, recorded from the shipped edition at its default settings (15 seconds, no sound). Press play.
The problem

Most EMA cross trades are taken one candle too early or one hour too late

The EMA 13/21 cross is one of the most watched signals on gold scalping charts, and one of the most abused. Taken on the cross candle itself, it fires in every sideways patch where the two lines twist around each other. Taken by feel a few candles later, it turns into a chase. Either way the stop goes wherever it feels right that day, and the targets are guesses.

On gold this costs more than on most markets. A 5-minute candle can move several dollars of price, the London and New York sessions run fast, and the first target is often an obvious level such as the previous day's high, sitting a few dollars above the entry. A cross that runs straight into it looks like a signal on a bare chart and like a trap on a chart with the levels drawn.

Gold EMA Cross Scalper turns the cross into a rule you can repeat. The cross has to be confirmed by a candle that closes beyond all four lines within three candles, the entry is the next open, and the stop, the targets, the breakeven trigger and the exit are fixed before the trade starts. The levels are already on the chart when the signal prints.

On the chart

Everything Gold EMA Cross Scalper draws on your chart

Read from the shipped Pine Script code.

  • Four lines: EMA 13 (blue, width 2), EMA 21 (red, width 2), and a 14-period EMA of each ('EMA 13 smoothed', 'EMA 21 smoothed', yellow, width 1)
  • 'Buy' tag under the entry candle (green, label up) / 'Sell' tag above it (red, label down)
  • Trade plan from the entry candle to 30 bars ahead while the trade is open ('Zone width while trade is open'): grey entry line with tag 'Entry: <price>', red stop loss line with tag 'Stop Loss: <price>', five green take profit lines with tags 'Take Profit 1: <price>'... 'Take Profit 5: <price>'
  • Faded zones ('Show TP/SL zones', on): a red box between entry and the stop and a green box between entry and the last target, each in 6 vertical strips fading to the right
  • 'TP1 tick '... 'TP4 tick ' tags at each target reached before the last one; the SL line turns dashed and its tag reads 'Stop Loss: <price> (BE)' after breakeven, '(Trail TP<n>)' when trailing is on
  • Exit tag at the exit candle with the result in price units: 'TP5 +50', 'SL -7.5', 'BE +0', 'TRAIL SL +10', 'EMA EXIT +3.85'; green for TP, red for SL, grey for BE, teal for TRAIL SL, orange for EMA EXIT. The zone is cut at the exit candle
  • Previous day high (orange, 'PDH <price>') and low (purple, 'PDL <price>') lines, extended right, redrawn at each new day
  • The 3 latest pivot resistance levels (red, dashed, 'Resistance <price>') and support levels (cyan, dashed, 'Support <price>'): pivots with 10 bars each side, extended right; level tags are moved 3 bars right of the last bar
  • Only the last 2 closed trades plus the open one stay on the chart ('Past signals to show (0 = all)' = 2)
  • Statistics table top right ('Show stats table', on) - see dashboard
  • AlgoFXStore watermark bottom right
How it works

A cross, a confirmation and a trade plan you can follow

This is the logic of the shipped Pine Script. Signals use only closed candles; the previous day's high and low come from the daily timeframe of the same symbol.

  1. 1

    Four lines define the trend

    The script plots EMA 13 in blue and EMA 21 in red, plus a 14-period EMA of each one, the two yellow smoothing lines. All four lengths are inputs. When the lines fan out in order the trend is clear; when they twist together the market is flat and crosses tend to fail. The confirmation rule below uses all four lines, not only the two EMAs.

  2. 2

    The cross must be confirmed

    A Buy needs EMA 13 to cross above EMA 21 on this candle or within the two before it (Max candles after cross: 3), EMA 13 still above EMA 21, and the candle to close above all four lines. A Sell is the mirror. It is decided on the closed candle, each cross can produce only one trade, and no new signal is taken while a trade is open.

  3. 3

    Entry, stop and five targets

    The entry is the open of the candle after the signal. The stop is the low (Buy) or high (Sell) of the fifth candle back from the entry candle, plus an optional SL buffer of 0.0; if that stop is on the wrong side of the entry, the trade is skipped. TP1 to TP5 sit 10, 20, 30, 40 and 50 of price from the entry, and the trade closes at the last target used.

  4. 4

    Breakeven, trailing and early exit

    Once the high reaches entry plus 5.00 (a Sell: the low reaches entry minus 5.00), the stop moves to the entry plus the breakeven offset, 0.0 by default, and its tag reads (BE). Trail SL by TPs, off by default, steps the stop up with each target. The default early exit ends the trade when a candle closes back below both EMA 13 and EMA 21 for a Buy, above both for a Sell.

  5. 5

    Results tagged where the trade ended

    On every candle the stop is checked before the targets, and a candle that touches both counts as a stop. Each target reached before the last gets a TP tag with a check mark, and the exit candle carries the result in price units, such as TP5 +50, SL -7.5, BE +0, TRAIL SL +10 or EMA EXIT +3.85. The last two closed trades and the open one stay on the chart.

  6. 6

    The levels around the trade

    The previous day's high (orange, PDH) and low (purple, PDL) are taken from the daily timeframe's last closed day and redrawn each new day. Pivot highs and lows with 10 bars on each side become dashed resistance and support lines, the three latest of each kept and extended right. They are context: the signal rule does not use them.

12 real gold charts

Gold EMA Cross Scalper on 12 gold charts

Every chart below is a screenshot of TradingView itself with the shipped Gold EMA Cross Scalper [AlgoFXStore] attached at its default settings. Gold EMA Cross Scalper is built for gold, so the charts show it on several data feeds and timeframes rather than on other markets. They show what the indicator draws; they are not trading results. Tap or click any chart to open it full size.

Gold EMA Cross Scalper on Gold (XAUUSD, OANDA), 5m, in TradingView
01Gold (XAUUSD, OANDA)5m · 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, FX_IDC), 5m, in TradingView
02Gold (XAUUSD, FX_IDC)5m · 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, Pepperstone), 5m, in TradingView
03Gold (XAUUSD, Pepperstone)5m · 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold futures (COMEX GC1!), 5m, in TradingView
04Gold futures (COMEX GC1!)5m · 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (TVC GOLD), 5m, in TradingView
05Gold (TVC GOLD)5m · 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, FOREX.com), 5m, in TradingView
06Gold (XAUUSD, FOREX.com)5m · 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, Saxo), 5m, in TradingView
07Gold (XAUUSD, Saxo)5m · 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, OANDA), 15m, in TradingView
08Gold (XAUUSD, OANDA)15m · 23 Nov to 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, OANDA), 1h, in TradingView
09Gold (XAUUSD, OANDA)1h · 16 Nov to 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, FX_IDC), 15m, in TradingView
10Gold (XAUUSD, FX_IDC)15m · 23 Nov to 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, FX_IDC), 1h, in TradingView
11Gold (XAUUSD, FX_IDC)1h · 16 Nov to 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Gold EMA Cross Scalper on Gold (XAUUSD, IC Markets), 5m, in TradingView
12Gold (XAUUSD, IC Markets)5m · 24 Nov 2026Gold-only tool: shown on gold feeds and timeframes instead of other markets (its product facts).
Real chart frames

Gold EMA Cross Scalper on a real TradingView chart, frame by frame

Frames of a screen recording of the shipped indicator at its default settings, as the chart updates. Nothing is edited into the chart.

Gold EMA Cross Scalper on a real TradingView chart: Frame 1 of 96 of the chart recording (XAUUSD 5m)
Frame 1 of 96 of the chart recording (XAUUSD 5m)
Gold EMA Cross Scalper on a real TradingView chart: Frame 33 of 96 of the chart recording (XAUUSD 5m)
Frame 33 of 96 of the chart recording (XAUUSD 5m)
Gold EMA Cross Scalper on a real TradingView chart: Frame 65 of 96 of the chart recording (XAUUSD 5m)
Frame 65 of 96 of the chart recording (XAUUSD 5m)
Gold EMA Cross Scalper on a real TradingView chart: Frame 96 of 96 of the chart recording (XAUUSD 5m)
Frame 96 of 96 of the chart recording (XAUUSD 5m)
How to use it

A gold scalping routine built on the indicator's own settings

The indicator signals, draws and alerts; the order, the size and the decision stay with you. This is the routine from the PDF guide, worth practising on TradingView's Paper Trading account before real money.

  1. 1

    Work 5-minute gold in active hours

    The defaults are built for XAUUSD on the 5-minute chart. Gold is quiet in the Asian session, where small candles make crosses whipsaw, and moves most from the London open, about 8:00 London time, through the London and New York overlap. Wait for the EMA 13/21 BUY or SELL alert, which fires at the close of the signal candle, and take the entry at the next open.

  2. 2

    Check the levels above and below

    Before entering, look at the space to the first target. A Buy right under the previous day's high or under a resistance line, or a Sell right above the previous day's low or a support line, has its first target behind a level that often turns price. Skip it, or plan to exit at the level. Four lines twisted together mean a flat market: wait for them to fan out.

  3. 3

    Size from the stop, not the target

    On XAUUSD every distance is dollars per ounce, and a standard lot is usually 100 ounces, so lots equal money at risk divided by stop distance times 100. The guide's example: a 7.50 stop and a risk of 100 in account currency give 0.133, rounded down to 0.13 lot. When the stop is wider than TP1, many traders skip the trade or plan to hold for TP2.

  4. 4

    Plan partial exits around breakeven

    Five targets suit partial exits: for example close part at TP1 and TP2 and let the rest run with the stop at the entry after the 5.00 move. Decide this before the trade, place a real stop at your broker straight away, and do not move it further away. The red line on the chart protects nothing by itself.

  5. 5

    Stand aside for US data

    The jobs report (usually the first Friday of the month, 8:30 New York time), inflation data such as CPI and PCE, and Federal Reserve decisions at 2:00 pm New York time move gold hard; one 5-minute candle can jump past the stop and all five targets. Many scalpers stop trading 15 minutes before and after such releases. Friday evenings and pre-holiday sessions thin out too.

Dashboard

The dashboard, row by row

  1. Trades: <n>
  2. TP1-TP5 hits: '<n> / <n> / <n> / <n> / <n>
  3. Closed at TP5: <n>
  4. SL: <n>
  5. BE: <n>
  6. Trail SL: <n>
  7. EMA exit: <n>
  8. Net ($ move): <price units>
What you get

Everything Gold EMA Cross Scalper does for you

Confirmation beyond all four lines

A cross counts only when a candle closes above (Buy) or below (Sell) both EMAs and both smoothing lines within three candles of the cross, which filters many crosses that only touch the lines and fall back.

Entry on the next open

The signal is decided when the candle closes and the plan starts at the following candle's open, so the entry price on the chart is a price you could actually have traded, not the close of a bar that already ended.

A stop from the chart

The stop sits at the low or high of the fifth candle back (SL at Nth candle back), plus an optional buffer. A cross whose stop would land on the wrong side of the entry is skipped instead of being forced.

One to five targets

Number of TPs sets how many targets you use, from 1 to 5, and each distance is its own input. The trade closes at the last target, and every target reached on the way gets a check mark tag.

Breakeven and optional trailing

After a 5.00 move in your favour the stop moves to the entry, and the line turns dashed. Turn on Trail SL by TPs to move it to breakeven at TP1, to TP1 at TP2 and so on. Set the trigger to 0 to switch breakeven off.

Four early exit modes

Early exit when candle closes beyond: Off, EMA 13, EMA 13 & 21 (default) or All 4 lines. A close beyond the chosen lines against the trade ends it at that close, tagged EMA EXIT with the result.

Daily and pivot levels on the chart

PDH and PDL lines from the previous completed day, plus the three latest pivot resistance and support lines per side, with price tags kept just right of the last bar so they do not cover the candles.

A trade log for the loaded history

A table at the top right counts the trades the indicator followed on the history you have loaded: trades, hits per target, exits by type and the summed result in price units. It is hindsight bookkeeping, changes with the loaded history and is not a forecast.

Two alerts at the candle close

EMA 13/21 BUY and EMA 13/21 SELL fire on the closing update of the signal candle, only when no trade is open, with a message that the entry is the next candle's open.

Visual tour

Gold EMA Cross Scalper, feature by feature

Each picture is built from real platform screenshots of the shipped indicator at its default settings, labelled so you can see what every part does. Tap any picture to open it full size.

Gold EMA Cross Scalper: What it draws on your chart
What it draws on your chart
Gold EMA Cross Scalper: Closeup
Closeup
Gold EMA Cross Scalper: Alerts
Alerts
Gold EMA Cross Scalper: Watch it update live
Watch it update live
Gold EMA Cross Scalper: Every setting adjustable
Every setting adjustable
Where it fits

How traders put it to work

XAUUSD on 5 minutes

The timeframe the defaults are built for: five targets 10 to 50 points of price apart, breakeven after 5.00, the stop at the fifth candle back and the early exit on EMA 13 and 21. Trade the London open through the New York overlap and leave the Asian session alone.

XAUUSD on 1 minute

Crosses come faster and stops get smaller, while targets of 10 to 50 take longer to reach. The guide suggests Number of TPs set to 3 and the faster early exit, EMA 13, so a trade that stalls is cut sooner. Lower Max candles after cross to 2 or 1 if you want only quick confirmations.

XAUUSD on 15 minutes

Fewer, larger moves, and the fifth-candle stop is wider. The guide's starting point is TP distances of 15, 30, 45, 60 and 75 with a breakeven trigger of 8.00. On a clear daily trend you can switch off Show sells or Show buys and trade only with it.

Gold futures and other gold feeds

Gold futures are quoted in dollars per ounce like spot, so the distances keep their meaning on the chart; what changes is the money per point, which you set for the statistics table with Lot size and Contract size, and which decides your position size at your broker.

Forex, crypto and indices with your own distances

The EMA rule works on any chart, but every distance is in the symbol's price units. The guide's starting points: EURUSD targets 0.0010 to 0.0050 with breakeven 0.0005, BTCUSD 100 to 500 with 50, NAS100 10 to 50 points with 5. They are starting points to test, not tuned settings.

Settings

Every setting, with its default

The names are the ones in the script's Settings dialog in TradingView (Inputs tab); the defaults are what every chart on this page uses. Open a group to see its settings.

EMAs (3)
SettingDefaultWhat it does
Fast EMA (blue)13Fast EMA length.
Slow EMA (red)21Slow EMA length.
EMA-based MA length (yellow)14Length of the EMA that smooths each of the two EMAs (the two yellow lines).
Entry (3)
SettingDefaultWhat it does
Show buysonTake buy signals.
Show sellsonTake sell signals.
Max candles after cross (1 = cross candle only)3How many candles, counting the cross candle, may pass before the close beyond all four lines.
Stop loss (5)
SettingDefaultWhat it does
SL at Nth candle back5The stop is the low (buy) / high (sell) of this candle back from the entry candle.
SL buffer ($)0Extra distance beyond that low/high, in price units.
Breakeven trigger ($, 0 = off)5Price move in your favour (price units) that moves the stop to the entry.
Breakeven offset ($)0Stop placed this far beyond the entry at breakeven.
Trail SL by TPs (TP1 hit to BE, TP2 hit to SL at TP1,...)offOptional: step the stop up with every target reached.
Take profits (6)
SettingDefaultWhat it does
Number of TPs (trade closes at the last one)51-5 targets.
TP1 distance ($)10TP1 distance from the entry in price units.
TP2 distance ($)20TP2 distance.
TP3 distance ($)30TP3 distance.
TP4 distance ($)40TP4 distance.
TP5 distance ($)50TP5 distance.
Exit (1)
SettingDefaultWhat it does
Early exit when candle closes beyondEMA 13 & 21Off, EMA 13, EMA 13 & 21, All 4 lines: a close beyond these lines against the trade ends it at that close.
Display (10)
SettingDefaultWhat it does
Past signals to show (0 = all)2Closed trades kept on the chart.
Show TP/SL zonesonFaded red stop zone and green target zone.
Zone width while trade is open (bars)30How far the plan reaches to the right while open (5-400).
Zone fade steps6Number of fading strips (1-12).
Stop loss colour#F23645Stop line, tag and zone.
Take profit colour#2EBD4ETarget lines, tags and zone; Buy tag.
Entry colour#787B86Entry line and tag.
Show stats tableonTrade statistics table top right.
Lot size (for $ stats)0.1Lot size used for the table's dollar result.
Contract size (gold = 100 oz)100Ounces per lot used for the table's dollar result.
Levels (9)
SettingDefaultWhat it does
Show previous day high / lowonPDH and PDL lines.
PDH colour#FF9800Previous day high colour.
PDL colour#9C27B0Previous day low colour.
Show support / resistanceonPivot levels.
Pivot left bars10Bars left of a pivot.
Pivot right bars10Bars right of a pivot (confirmation delay).
Levels to keep (each side)31-10 levels per side.
Resistance colour#FF5252Resistance lines and tags.
Support colour#00BCD4Support lines and tags.
TradingViewSettings
Gold EMA Cross Scalper settings in TradingView
Alerts

The alert events, one by one

In TradingView: Create alert, choose “Gold EMA Cross Scalper [AlgoFXStore]” as the condition and pick the event. TradingView then notifies you the way you set in that dialog: a pop-up in TradingView, a sound, the TradingView app on your phone or an e-mail.

  • EMA 13/21 BUY
  • EMA 13/21 SELL
An honest comparison

Gold EMA Cross Scalper next to the usual options

Where it wins, and where it does not.

 Gold EMA Cross ScalperTypical free EMA cross indicatorReading it by hand
What counts as a signalA cross confirmed by a close beyond all four lines within three candlesEvery cross of the two EMAsWhatever looks convincing at the time
Entry and stopEntry at the next open, stop at the fifth candle back, skipped if on the wrong sideUsually an arrow onlyDecided fresh on every trade
Targets and trade managementUp to five targets, breakeven, optional trailing and four early exit modesRarely includedPossible, but hard to keep consistent
Levels next to the tradePrevious day high and low plus three pivot levels per sideNot includedDrawn by hand each day
Other marketsEvery distance must be re-set in the symbol's price unitsWorks on any symbol unchangedWorks on anything
SimplicityAround thirty inputs to understand before trading itTwo lengths to setNothing to install
CostA one-time purchaseFreeFree, paid for in screen time
Is it for you

Honest about who this fits

A good fit if you

  • You scalp gold on 1 to 15-minute charts and already like the EMA 13/21 cross, but want a confirmation rule that keeps you out of the flat patches.
  • You want the entry, stop and targets fixed before the trade starts, and you are willing to size every trade from the stop distance.
  • You manage trades with partial exits and breakeven, and want those levels and moves drawn for you.
  • You trade around the previous day's high and low and the nearby pivot levels and want them on the same chart as the signal.
  • You are comfortable adjusting price-unit inputs yourself when you try the indicator on another market.

Not for you if you

  • You want to trade forex, crypto or indices straight away with the defaults: every distance is set for the gold price and must be re-set elsewhere.
  • You want a system that places and manages orders for you: it signals and draws, and you trade.
  • You want every signal shown, including those that fall inside an open trade: the indicator takes one trade at a time.
  • You are looking for swing signals on daily or weekly charts, where the fixed targets become tiny compared with the candles.
What's included

The full code, one manual, installed in two minutes

  • 1Pine Script source codeGold_EMA_Cross_Scalper_TradingView_Code.txt (19 KB): the full code. Paste it into the Pine Editor and it appears as “Gold EMA Cross Scalper [AlgoFXStore]”.
  • 14Page PDF manualInstallation, every setting with its default and how to read the chart.
  • 37SettingsEvery one explained above, with the defaults the charts use.
  • ✓Alert eventsYou choose which ones are on in the settings.
  • 60Day money-back guaranteeIf it is not for you, request a full refund within 60 days through your Digistore24 order e-mail.

Install in five steps

  1. Download the zip from the page Digistore24 sends you to after checkout and unzip it.
  2. Open Gold_EMA_Cross_Scalper_TradingView_Code.txt in a text editor, select all and copy the whole code.
  3. In TradingView, open the Pine Editor, paste the code over everything that is there and click Save.
  4. Click Add to chart: “Gold EMA Cross Scalper [AlgoFXStore]” appears on your chart.
  5. Read the PDF manual; the defaults are the settings shown on this page.
AlgoFXStore logo
Who makes this

Kestutis Balciunas

AlgoFXStore · chart indicators

Kestutis Balciunas builds and publishes chart indicators under the AlgoFXStore name. Every product page shows what the indicator draws on real charts, and every number on it comes from the shipped build.

The charts on this page were captured in TradingView from the shipped Gold EMA Cross Scalper [AlgoFXStore] at its default settings and are shown unedited.

No get-rich claims and no quoted win rates. Every trade is uncertain, and no indicator changes that. If you want to know whether it suits the way you trade before you buy, e-mail [email protected] and you will get a straight answer.

Get Gold EMA Cross Scalper

One price, one payment

One payment · no subscription
€47One-time · TradingView · free updates to the current version
  • The full Pine Script source code of Gold EMA Cross Scalper and the 14-page PDF manual
  • Delivered as a digital download: one zip with the code file and the PDF manual on your download page
  • Return period: 60 days, with a full refund if it is not for you
  • Free updates to the current version on the same download page
Secure checkout by Digistore24 · instant delivery

60-day money-back guarantee. Install it, run it on your own charts and read the manual. If Gold EMA Cross Scalper is not for you within 60 days of purchase, request a full refund from Digistore24, no questions asked: use the refund link in your Digistore24 order e-mail or Digistore24's order page digistore24.com/en/cancel-revoke-contract. Digistore24 refunds to your original payment method. It is a digital download: right after checkout you land on your download page, and the link to it is also in your Digistore24 order e-mail.

Questions

Answered straight

If yours is not here, ask before you buy at [email protected].

About the signals

Does Gold EMA Cross Scalper repaint?

The Buy and Sell signals do not: they are decided only on closed candles, and the entry is the next candle's open, so a tag does not appear and vanish while a candle forms. The previous day's high and low come from the last completed day, requested in the non-repainting form. What moves: pivot levels appear 10 bars after their candle and are drawn back at the pivot, and the open trade's zone and tags extend with each new candle until the trade ends.

Why does it skip some crosses?

Four reasons, all by design: a cross needs a close beyond all four lines within three candles, each cross can produce only one trade, no new signal is taken while a trade is open, and a cross whose fifth-candle stop would sit on the wrong side of the entry is skipped. Lower Max candles after cross if you want even fewer, quicker confirmations.

What are the two yellow lines?

Each is a 14-period EMA of one of the two main EMAs, a smoothed version of EMA 13 and of EMA 21. The confirmation candle must close beyond both of them as well as beyond the two EMAs, which keeps signals out of the moments when price only pokes through the faster lines.

What does the tag at the end of a trade mean?

It shows how the trade ended and the result in price units: TP5 +50 for the last target, SL with the loss at the original stop, BE +0 when the stop at entry was hit, TRAIL SL when a trailed stop above the entry ended it, and EMA EXIT when the early exit closed it, with the gain or loss.

Levels and money

Is the 5.00 breakeven trigger five dollars of profit?

No. It is a 5.00 move of the gold price, which is five dollars per ounce. With 100 ounces per lot that is 50 in account currency at 0.10 lot and 500 at 1 lot. The same logic applies to the targets: TP1 at 10.00 is ten dollars per ounce of price movement.

How do I read gold distances in pips?

Brokers count gold pips differently: some call 0.10 a pip, so 10.00 is 100 pips, others call 0.01 a pip, so 10.00 is 1,000 pips. The indicator avoids the confusion by working in price units, the dollars per ounce you see on the price scale. Check your broker's contract size too, since a few accounts use other lot sizes.

Can I use fewer than five targets?

Yes. Set Number of TPs anywhere from 1 to 5; the trade closes at the last target you use, and the target zone ends there too. Each target distance is a separate input, so you can also space them unevenly.

What does the statistics table show?

It counts the trades the indicator followed on the history loaded on your chart: closed trades, how often each target was reached, how many ended at TP5, at the stop, at breakeven, by trailing or by the early exit, and the summed result in price units and in money for the lot size you enter. It is worked out from candle highs and lows, changes when more history loads, and is not a forecast. Switch it off with Show stats table.

Setup and alerts

Which timeframe should I use?

The defaults are built for XAUUSD on 5 minutes, and 1 to 15-minute gold charts suit it. On higher timeframes the fixed targets and breakeven become small compared with the candles. For 1 minute and 15 minutes the guide gives adjusted starting points, described in the use cases above.

Which alerts can I create?

Two: EMA 13/21 BUY and EMA 13/21 SELL. Create alert on the indicator and pick one. They fire on the closing update of the signal candle and only when no trade is open, and the message reminds you that the entry is the next candle's open. Re-create an alert after you change settings, so it uses the new values.

Why do only a few trades stay on the chart?

Past signals to show is 2 by default: the last two closed trades and the open one are kept. Set it to 0 to keep all of them, within TradingView's limit of 500 drawings of each kind.

Does it work on TradingView's free plan?

Yes. Its only request.security call reads the daily timeframe of the same symbol for the previous day's high and low, which the free plan allows, and it uses no lower-timeframe or seconds data. How many alerts you can run at once depends on your plan.

How it works

Will it place trades for me?

No. Gold EMA Cross Scalper is an indicator: it draws on the chart and can alert you. It never sends an order.

Which markets and timeframes does it work on?

Built for XAUUSD on the 5 minute chart; 1 to 15 minute gold charts suit it. The EMA rule works on any timeframe, but the targets, breakeven and buffer are fixed dollar distances of the gold price, so on higher timeframes they become small compared with the candles. On other symbols every distance input has to be re-set in that symbol's price units.

Do I need a paid TradingView plan?

No. It reads only the chart's own bars, so the free TradingView plan runs it. Alerts count against your plan's alert limit.

After you buy

How do I get it after paying?

Digistore24 runs the checkout. Right after payment it takes you to your download page with one zip holding the Pine Script source code file and the PDF guide; the link to that page is also in your Digistore24 order e-mail, so you can download again at any time.

How do I install it?

Open the code file, open the Pine Editor in TradingView, paste the whole code, click Save and then Add to chart: “Gold EMA Cross Scalper [AlgoFXStore]” appears on your chart. The guide walks through it step by step.

Who is Digistore24?

Digistore24 is the reseller that sells Gold EMA Cross Scalper for Kestutis Balciunas (AlgoFXStore): it runs the checkout, charges your card or PayPal, collects the VAT for your country and delivers the download. Its name is the one on your statement, and its order e-mail holds your download link and the refund link.

What is the refund policy?

A 60-day money-back guarantee, handled by Digistore24. If Gold EMA Cross Scalper is not for you within 60 days of purchase, use the refund link in your Digistore24 order e-mail or Digistore24's order page (digistore24.com/en/cancel-revoke-contract) for a full refund, no questions asked. Digistore24 makes the refund to your original payment method.

Do I get the source code?

Yes. You get the full Pine Script source code as a text file for your own use; the licence line at the top of the code does not allow resale, sharing or republishing.

Gold EMA Cross Scalper for TradingView.

Put the EMA 13/21 cross, its confirmation, its stop and its five targets on your gold chart and trade each scalp from a plan. The full code, the manual and every setting explained. Instant download for €47, one payment.

Get instant access