User manual

Set up and run AuraFarmer GOLD

Everything you need to download, install and activate AuraFarmer GOLD on MetaTrader 4, use the licence portal, backtest the EA and tune its settings.

Version 1.0Indicator and EAMetaTrader 4 · XAUUSD

Step 1Download

The files are free to download. Without a licence they run fully in MT4's Strategy Tester, so you can backtest before you buy. A licence key unlocks them on live and demo charts.

About the set files. The base set files are for optimizing in the Strategy Tester. Everyone who buys is also sent the author's own optimized set files.

What's included

AuraFarmerGOLD.ex4
The indicator: signals, chart history, stats panel and alerts.
AuraFarmerGOLD_EA.ex4
The Expert Advisor that trades automatically. Indicator + EA licences only.
AuraFarmerGOLD_setfiles.zip
Base set files with optimization ranges, AuraFarmerGOLD_XAUUSD_M5.set to _D1.set. For optimizing in the Strategy Tester. Unzip them first.
Requirements: MetaTrader 4 on Windows or a Windows VPS, a broker offering XAUUSD (sometimes called GOLD), and an internet connection for the EA's licence check.

Step 2Install in MetaTrader 4

  1. Open MetaTrader 4 and choose File › Open Data Folder. A file window opens.
  2. Open the MQL4 folder and copy the files into these folders: AuraFarmerGOLD.ex4 → MQL4\Indicators AuraFarmerGOLD_EA.ex4 → MQL4\Experts *.set presets (unzip first) → MQL4\Presets
  3. Back in MT4, right-click Indicators and Expert Advisors in the Navigator panel (Ctrl+N) and choose Refresh, or restart MT4.
  4. AuraFarmer GOLD now appears in both lists.
If you run more than one MT4 terminal, repeat this for each one. Each terminal has its own data folder.

Step 3Activate your licence

Each licence activates on up to 5 MT4 account numbers, live or demo. The panel shows LICENSED in its top-right corner once the account is active.

Expert Advisor

  1. In MT4, open Tools › Options › Expert Advisors.
  2. Tick Allow WebRequest for listed URL and add https://neocat.ca. Click OK.
  3. Attach the EA to a chart (see Add to a chart) and paste your key into the Licence Key setting on the Inputs tab.
  4. The EA checks your key and activates this MT4 account. If the server can't be reached it keeps running for up to 7 days on its last approval.

Indicator

MT4 doesn't let indicators go online, so the indicator uses an unlock code tied to your account number.

  1. Open the licence portal, enter your licence key and click Open.
  2. Under Indicator unlock code, enter your MT4 account number and click Get code. Your account number is shown at the top of MT4's Navigator.
  3. Copy the code and paste it into the indicator's Unlock Code setting.
Running the EA too? If the EA is licensed on the same MT4 account, the indicator unlocks automatically and you can leave Unlock Code blank.

Step 4Using the licence portal

The licence portal is where you manage your licence. Enter your key and click Open to see:

Product and plan
Which product you own, and whether it's annual (with its renewal date) or lifetime.
Accounts
How many of your 5 account slots are in use.
Indicator unlock code
Get a code for any MT4 account number. Each new account uses one slot.
Manage billing
Opens a secure Stripe page where you can cancel or restart your renewal, update your card and download receipts.
Activated accounts
Every account using your licence. Use Unlock code to show an account's code again, or Release to free its slot.

Moving to a new account or broker

Release the old account in the portal, then activate the new one as in Step 3. Releasing an account stops the software working on it.

Annual renewal and cancelling

Annual licences renew automatically once a year at the same price until you cancel. To cancel, open the portal, click Manage billing and choose Cancel. There's no fee, and your licence keeps working until the end of the year you've paid for.

After each renewal the EA picks up the new date on its next check. Indicator users get a fresh unlock code from the portal, because codes carry their expiry date.

Step 5Add to a chart

Indicator

  1. Open an XAUUSD chart and pick your timeframe.
  2. Drag AuraFarmerGOLD from Navigator › Indicators onto the chart.
  3. On the Inputs tab, paste your unlock code (if needed) and click OK.

Expert Advisor

  1. Open an XAUUSD chart on the timeframe you want to trade.
  2. Drag AuraFarmerGOLD_EA from Navigator › Expert Advisors onto the chart.
  3. On the Common tab, tick Allow live trading.
  4. On the Inputs tab, click Load and choose the preset that matches the chart's timeframe, for example AuraFarmerGOLD_XAUUSD_H1.set.
  5. Paste your licence key into Licence Key, set your risk, and click OK.
  6. Make sure the AutoTrading button on MT4's toolbar is on (green). The smiley in the chart's top-right corner shows the EA is running.
One EA per chart, one magic number per EA. To trade several timeframes, open a chart for each and load that timeframe's preset. The presets already use different magic numbers. Try the EA on a demo account before trading real money.

MT4 has to stay open for the EA to trade. A Windows VPS keeps it running around the clock. If MT4 restarts, the EA finds its open trades again and carries on managing them, and your broker keeps holding the stop loss in the meantime.

Reading the chart

The panel

Signal
BUY NOW!, SELL NOW! or WAIT!, with the reason underneath.
Market
Trend strength from ADX: trending up, trending down, weak trend or ranging.
Trend bias
Whether price is above (bullish) or below (bearish) the bias EMA.
Higher TF, Volatility
The state of those optional filters.
Trade / Position
The open trade, with its live profit and current stop and target.
Execution
EA only. READY when the EA is free to trade, or the reason it's waiting (spread too wide, outside session, Friday close).
Performance
Trades, win rate, net profit, profit factor, expectancy, average win and loss, and max drawdown, in pips, R and dollars.

On the chart

Triangles
Entries. Green under the candle for BUY, red above it for SELL, with a BUY or SELL card when zoomed in.
✕ and result card
The exit, with the result in pips and dollars.
TP1 card
Where the partial profit was taken.
Shaded box
Each trade from entry to exit: green for a win, red for a loss.
Dots
The stop (orange) and target (blue) as they move during a trade.

Labels hide automatically as you zoom out, so the chart stays readable. Change this with the Text labels setting.

Chart history is simulated. On a live chart, past trades and the Performance stats come from replaying the strategy over recent history with your current settings. They are a guide, not a record of real trades.

Backtesting the EA

The EA runs in MT4's Strategy Tester, so you can test any settings on past data before trading them. No licence check is needed in the tester.

Run a backtest

  1. Open the Strategy Tester with View › Strategy Tester or Ctrl+R.
  2. Choose Expert Advisor, then AuraFarmerGOLD_EA.
  3. Set Symbol to XAUUSD, Model to Every tick, and pick the Period (timeframe).
  4. Tick Use date and choose a date range. A year or more gives more reliable results.
  5. Click Expert properties, open the Inputs tab, click Load and pick the preset for that timeframe. Set the starting deposit on the Testing tab.
  6. Tick Visual mode to watch trades being drawn, or leave it off for speed. Click Start.
  7. See the Results, Graph and Report tabs when it finishes.

Optimize settings

  1. In Expert properties › Inputs, tick the settings to optimize. The presets already include sensible start, step and stop values.
  2. On the Testing tab, set Optimized parameter to Custom. The EA then ranks each run with its own score, chosen in the Custom score setting.
  3. Tick Optimization in the tester and click Start. Results appear on the Optimization Results tab, sorted by score.
BalancedRewards profit factor and trade count, penalizes drawdown. The default.
Recovery factorNet profit divided by maximum drawdown.
Profit factorGross profit divided by gross loss.
ExpectancyAverage result per trade, in R.
Avoid curve fitting. Optimize on one period, then check the best settings on a different period they weren't tuned on. Download good history data first through Tools › History Center. Past results don't guarantee future performance.

Settings reference

The indicator and EA share most settings, so signals look the same in both. Settings marked EA or Indicator appear in only one of them. The base set files fill these in for each timeframe.

Exit modes

Hybrid (default)Starts with a fixed stop, moves to breakeven once the trade is working, then trails wide to ride big moves.
ATR trailing stopA stop that follows price at a set distance from the start.
Fixed SL / TPA set stop and target, sized from volatility.
RSI midline crossExits when momentum fades back through the middle.
Stochastic exhaustionExits when Stochastic turns from an extreme.

Profit lock, partial take-profit, time stop and exit on opposite signal work with every mode.

Licence

SettingWhat it does
Licence Key EAYour licence key (AURA-…). The EA checks it online and activates this MT4 account.
Unlock Code IndicatorThe code from the licence portal for this MT4 account. Leave blank if the EA is already licensed on the same account.

General

SettingWhat it does
Magic Number EATags the EA's orders so it only manages its own trades. Use a different number for each chart running the EA. The presets set one per timeframe.
Max Slippage (points) EALargest price slip accepted when opening or closing a trade.
Order Comment EAText added to each order. The EA also stores the trade's risk here, so don't edit comments on open trades.

Position & Sizing

SettingWhat it does
Position Mode EASingle trade at a time, or allow a long and a short together.
Sizing Mode Size each trade from a % of your balance and the stop distance, or use a fixed lot size. The indicator uses this for its dollar stats.
[Fixed] Lot size Lot size when Sizing Mode is Fixed.
[Risk] % of balance per trade How much of your balance to risk per trade when Sizing Mode is Risk.
1R / sizing distance when mode has no stop Reference risk used for sizing and R stats in exit modes that have no initial stop.
Max lot size EAUpper limit on any single order.

RSI and Stochastic

SettingWhat it does
RSI Period / Apply To Settings of the RSI momentum line.
Stochastic %K, %D, Slowing Settings of the Stochastic oscillator.
Stochastic Price Field / MA Method How the Stochastic is calculated.

Entry Signals

SettingWhat it does
BUY level RSI and Stochastic must both cross up to this level to signal a BUY.
Symmetric SELL level When on, the SELL level mirrors the BUY level.
SELL level SELL trigger when Symmetric is off.
Signal on closed bars only IndicatorSignals only fire once a candle closes, so they never repaint. Leave this on.
History bars to test How many past bars to replay for the chart history and stats panel.

Entry Filters

SettingWhat it does
Block entries when ranging Skip signals when ADX says the market is ranging.
Require DI direction Buys need +DI above −DI, sells the reverse.
Require ADX rising Only enter while trend strength is increasing.
EMA trend bias Only buy above the EMA and sell below it. Can also use the EMA's slope, or both.
EMA bias period / timeframe / slope bars Settings for the trend-bias EMA. A higher timeframe gives a slower, steadier bias.
Draw bias EMA on chart IndicatorShows the bias EMA line.
Skip entries when Stoch is extreme Anti-chase: no BUY when Stochastic is already very high, no SELL when very low.

Higher Timeframe Confirmation

SettingWhat it does
Require higher timeframe to agree When on, the confirmation timeframe must also be trending the same way.
Confirmation timeframe The timeframe to check.
HTF ADX / DI / RSI checks What the higher timeframe must show: enough trend strength, trend direction agreeing, and momentum on the right side.

Volatility & Cooldown

SettingWhat it does
Require ATR above its average Only trade when volatility is at or above normal.
ATR average period / multiple How "normal" volatility is measured.
Bars to wait after a loss Cooldown after a losing trade.

Execution Filters

SettingWhat it does
Max spread EADon't open trades while the spread is wider than this. 0 turns it off.
Trade only during session hours Restrict new entries to these broker-server hours.
Close all & stop entries on Friday Closes open trades and stops new ones at this hour on Friday to avoid weekend gaps.

Exit Logic

SettingWhat it does
Exit Mode How trades are closed. See the exit modes below.
[ATR Trail] Trail distance Stop distance behind price in ATR Trailing mode.
[RSI Midline] Exit level Close when RSI crosses back through this level.
[Stoch Exhaustion] Overbought / Oversold Close when Stochastic turns down from overbought (longs) or up from oversold (shorts).
[Fixed] Stop loss / Take profit Fixed stop and target in Fixed SL/TP mode.
[Hybrid] Initial stop Starting stop in Hybrid mode. This distance is 1R.
[Hybrid] Breakeven at / lock-in Once the trade is in profit by this much, the stop moves to entry plus a small lock-in.
[Hybrid] Start trailing at / distance After this much profit, the stop starts trailing price at the set distance.
[RSI/Stoch modes] Safety stop Hard stop for the two indicator-based exit modes. Always on, so every trade has a stop loss.
Exit on opposite signal Close a trade when the opposite signal appears.
ATR Period ATR length used by all ATR-based distances.

Profit Protection

SettingWhat it does
Profit lock Once a trade reaches the start level, never give back more than half of its best move.
Take partial profit Close part of the position at this profit (shown as TP1 on the chart). The rest keeps running.
Time stop Close a trade that hasn't reached the given R after this many bars.

ADX

SettingWhat it does
ADX Period ADX length.
Trending at / Ranging below Levels that define trending and ranging markets for the panel and filters.

Optimization

SettingWhat it does
Custom score EAThe score the Strategy Tester ranks results by when Optimized parameter is set to Custom.
Reject passes with fewer trades EATest runs with fewer trades than this score zero.
Pip size for stats Leave on automatic.

Notifications

SettingWhat it does
Notify on BUY / SELL, EXIT, partial IndicatorWhich events send an alert.
Popup alert / Sound only / Sound file IndicatorHow alerts appear on your computer.
Push to MT4 mobile app IndicatorNeeds your MetaQuotes ID set in Tools › Options › Notifications.
Email IndicatorNeeds email set up in Tools › Options › Email.

Chart Visuals

SettingWhat it does
Chart history & panel stats EAEA only. Auto shows simulated history on live charts and real trades in the tester. You can force either.
Real trades: show trades & stats for EAEA only. Include manual and other trades on this symbol if you like.
Colours Buy, sell, win, loss, stop, target and EMA colours.
Draw trade lines / Shade trades Dotted entry-to-exit line and a shaded box for each trade.
Entry marker style / size Triangles or arrows, and their size when zoomed in.
Text labels Auto shows labels when zoomed in. Always or Never are also available.
Show $ result under exit pips Adds the dollar result to exit cards.
Labels on translucent cards / opacity Draws BUY/SELL, exit and TP1 labels on cards. Opacity sets how see-through the cards are.
Label text size / gap Card text size and the gap between candle and markers.

Panel

SettingWhat it does
Panel Position / X / Y / Width Where the panel sits and how wide it is.
Panel Background / Border / WAIT colour Panel colours.

Troubleshooting

Licence messages appear on the chart and in MT4's Experts tab (Ctrl+T).

Message or problemWhat to do
add https://neocat.ca to … WebRequestAdd https://neocat.ca under Tools › Options › Expert Advisors › Allow WebRequest, then reattach the EA.
licence server unreachableCheck your internet connection. The EA keeps working for up to 7 days after its last successful check.
all accounts in useAll 5 slots are taken. Release an old account in the licence portal.
code is not for this MT4 accountUnlock codes only work on the account number they were made for. Get a code for this account in the portal.
code expiredRenew your annual licence, then get a fresh code from the portal.
licence check overdue - connect the EAThe indicator is borrowing the EA's licence, which hasn't checked in for a while. Run the EA with internet access, or use an unlock code instead.
EA not tradingCheck the AutoTrading button is on, Allow live trading is ticked, and the panel's Execution line says READY. If it shows a reason (spread, session, Friday), the EA is waiting on purpose. WAIT on the panel means there is no signal yet.
No history drawnThe chart needs enough bars. Scroll back or download history in Tools › History Center, then change timeframe and back.

Still stuck? Contact Neocat Software support at [email protected] with your licence key and a screenshot of the Experts tab.