Prem Gold Advisor initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits successive take-profit targets. Risk management includes an initial stop loss, a trailing stop that locks in profit at each level, and spread filters. Users can configure trading hours and maximum concurrent baskets. The repository contains multiple versions but lacks a documentation file.
Five-level take profit ladder with scale-in logic
M5 candle-based breakout entry system
Integrated trailing stop and break-even buffer
Customizable trading hours and Friday close session
Read from PremGoldAdvisorV1.3.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpTradeEnabled
bool
true
Enable auto trading
InpEnableBuy
bool
true
Enable Buy baskets
InpEnableSell
bool
true
Enable Sell baskets
InpLotSize
double
0.01
Lot size per order
InpMagic
ulong
130213
Magic number
InpDeviationPoints
int
50
Max slippage / deviation (points)
InpMaxRetries
int
3
Order send retries
InpComment
string
PGA-V1.3
Order comment tag
InpWorkTimeframe
ENUM_TIMEFRAMES
PERIOD_M5
Working timeframe (M5)
InpDistanceMode
ENUM_DIST_MODE
DIST_PRICE
Distance mode (entry / TP / SL)
InpBuyEntryDistance
double
2.00
Buy level = Open + distance
InpSellEntryDistance
double
2.00
Sell level = Open - distance
Show all 40 inputs
Name
Type
Default
Description
InpRequireLeaveFirst
bool
false
If already near level, wait leave then retest
InpAllowBothDirections
bool
true
Allow both Buy+Sell on same candle
InpTp1
double
0.50
TP1 distance from fill
InpTp2
double
1.00
TP2 distance from fill
InpTp3
double
1.50
TP3 distance from fill
InpTp4
double
2.00
TP4 distance from fill
InpTp5
double
2.50
TP5 distance from fill
InpInitialSl
double
5.00
Initial SL on first order (0 = NONE โ unlimited risk)
InpTrailEnabled
bool
true
After TPn lock remaining SL at TPn
InpScaleInOnTp
bool
true
Open next order only after previous TP is touched
InpBreakEvenBuffer
double
0.10
Extra price buffer if interim BE is used
InpBeCompensateSpread
bool
true
Cover spread if interim BE is applied
InpCommissionPerLot
double
0.0
Round-turn commission per 1.0 lot (account ccy)
InpBreakevenExtraPoints
int
0
Extra points beyond net BE + buffer
InpAllowStackCycles
bool
false
Allow new basket while same side still open
InpMaxActiveBaskets
int
2
Max concurrent baskets (0=off)
InpMaxOpenPositions
int
50
Hard cap on EA open positions (0=off)
InpMaxSpread
double
0.80
Max spread in price (0=off)
InpStartHour
int
0
Trading start hour (server)
InpEndHour
int
23
Trading end hour (server)
InpCloseOnFriday
bool
false
Close all late Friday
InpFridayCloseHour
int
21
Friday close hour (server)
InpShowPanel
bool
true
Show on-chart panel
InpPanelX
int
12
Panel X offset
InpPanelY
int
18
Panel Y offset
InpShowLevels
bool
true
Draw entry / TP guide lines
InpApplyChartTheme
bool
true
Dark gold chart theme
InpLogActions
bool
true
Print trail / open actions to Experts log
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Premkumar238/PremGoldAdvisor 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, and any .mqh files into the Include folder the code expects.
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.
Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT
This MetaTrader 5 expert advisor is designed for gold trading, utilizing a multi-timeframe strategy across the M15, H1, and H4 charts. It integrates technical indicators including ADX, RSI, and Moving Averages to identify trend-following and breakout opportunities. Risk controls include dynamic lot sizing based on acco
STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions
This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or
This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli
Bakome Bitcoin EA is a trend-following robot optimized for trading BTCUSD on the MetaTrader 5 platform. It generates trade signals using an exponential moving average crossover combined with price breakouts on the H1 timeframe. The system features a grid recovery module that adds positions with a lot multiplier when tr