Golden Bar enters long or short trades on bounces from these levels once all active filters agree, including ADX strength, SMA trend, good ratio proximity, and optional session windows. It exits trades at take profit or moves stop loss to break even after a 0.5 dollar price move in profit. Lot sizing uses one of six risk level presets with an optional dynamic recalculation based on equity.
Read from Gold Bar.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
UseDynamicLotSize
bool
false
Switch to DynamicLotSize
RiskLevel
ENUM_RISK_LEVEL
RISK_LOW
Risk Level
UseBreakEven
bool
true
Move SL to break-even
BreakEvenTrigger
double
0.5
Profit ($ price move) that triggers break-even
BreakEvenOffset
double
0.15
SL placed this many $ beyond the open price
UseADXFilter
bool
true
Use ADX strength filter
ADXPeriod
int
14
ADX period
ADXMinLevel
double
30.0
ADX must be above this
UseDIFilter
bool
false
Use +DI/-DI direction filter
UseSMAFilter
bool
true
Use price vs SMA filter
FastSMAPeriod
int
45
Fast SMA period
SlowSMAPeriod
int
150
Slow SMA period
Show all 19 inputs
Name
Type
Default
Description
UseRatioFilter
bool
true
Use good-ratio filter (close near level)
GoodRatioInput
double
4.5
Good ratio value
UseSessionFilter
bool
false
Use trading session filter
Session1StartHour
int
4
Session 1 start hour
Session1EndHour
int
7
Session 1 end hour
Session2StartHour
int
10
Session 2 start hour
Session2EndHour
int
3
Session 2 end hour
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone MrOwl1011/Xauusd-levels from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
This MetaTrader 5 expert advisor is designed for scalping gold on the M1 timeframe. It features a versatile strategy engine capable of toggling between breakout and mean-reversion modes based on market conditions. The system manages trades using ATR-based trailing stops, break-even adjustments, and time-based exits. Ri
This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v
Gold SnR Momentum Scalper Pro is an automated scalping robot for MetaTrader 5, specifically optimized for XAUUSD on the M1 timeframe. It identifies entry points by combining support and resistance zones with RSI and moving average momentum. The system incorporates tick-level analysis to measure buying and selling press
This automated expert advisor for MetaTrader 5 implements a mean-reversion strategy based on Asian session price ranges. It identifies the high and low levels during specific Asian trading hours and monitors for a price breakout. Instead of trading the breakout momentum, it enters a position when price returns inside t
This MetaTrader 5 expert advisor is designed specifically for trading gold (XAUUSD). The system utilizes a modular architecture to detect market regimes, identify ranges, and execute trades based on liquidity sweeps and breakouts. It incorporates several filters, including spread and volume checks, alongside a drawdown
This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc
MT5Trading robotSMC / ICT / price actionBreakoutTrend following