SignalCompass_XAUUSD_15M
- Whole period
- 2 years
- 1 year
- 6 months
- 3 months
- 1 month
About EA's Strategy
🧭 SignalCompass_XAUUSD_15M
Capture the Gold Market Trend, XAUUSD Dedicated EA
“SignalCompass_XAUUSD_15M” is an automated trading EA specialized for XAUUSD (gold) on the 15-minute chart.
It confirms market direction on the H1 timeframe and decides entries by combining pullbacks and retracements on M15, pin bar patterns, EMA position relationships, and currency strength, etc.
It is designed to target moments when multiple conditions align, rather than simply trading based on price up or down.
✨ Main Features
📈 Trade aligned with H1 trend direction
It checks the position and slope of the short-term EMA and long-term EMA on H1 to determine market direction.
In uptrends, it primarily buys; in downtrends, it primarily sells, restricting entries in the opposite direction.
🎯 Target M15 pullbacks and retracements
It monitors price returning toward the EMA on M15 to detect candlesticks that may signal trend resumption.
Rather than chasing highs or lows, it aims to enter from corrective phases within the trend.
🕯 Confirm pin bar shapes
It checks candle wicks, bodies, and close positions, and uses pin bars showing buying or selling pressure as entry criteria.
💱 Includes currency strength filter
It calculates USD strength from USD-related currency pairs and confirms alignment with XAUUSD direction.
By considering not only technical conditions but also overall USD movement, it suppresses entries that do not fit the market environment.
🛡 Variable SL based on market structure
SL is auto-calculated based on recent H1 highs/lows and pin bar tips.
SL width varies with market conditions and is controlled to not exceed a predefined maximum loss width.
Maximum SL width is 22,400 pips.
💰 Auto lot calculation based on loss amount
In addition to fixed lot operation, it features a function that automatically calculates lot size from the maximum loss per trade, based on the SL width.
This allows risk management aligned with account funds and trading goals.
🔒 Supports single-position trading
Initially, it holds only one position for the same currency pair and same magic number.
While a position is open, it will not place new orders in the opposite direction, so it will not be hedged in the initial setting.
📋 Basic Specifications
Target currency pair: XAUUSD
Recommended time frame: M15
Trade direction: Buy or Sell
Maximum TP: 2,600 pips
Maximum SL: 22,400 pips
SL method: Variable SL based on H1 highs/lows and pin bar tips
Grid/averaging: None
Martingale: None
Initial simultaneous positions: 1
Hedging: Not by default
⚙ Parameter Descriptions
🔢 Magic Number
A number to identify the EA’s own orders.
If using multiple EAs on the same account, set a different number from other EAs.
Default: 492
📝 Buy Order Comment Name
Comment attached to buy orders.
Used on MT4 terminal screen and trading history to identify the EA’s orders.
Default: SignalCompass_Buy
📝 Sell Order Comment Name
Comment attached to sell orders.
Default: SignalCompass_Sell
📦 Fixed Lot
Used when “Adjust lot by maximum loss amount” is false.
Default: 0.1
A 0.1 lot size can cause substantial losses relative to account funds. Please adjust to your account size in actual operation.
💰 Lot adjustment by maximum loss amount
Automatically calculates lot size based on the loss amount when SL is reached.
true: automatically calculate lot from maximum loss
false: use fixed lot
Default: false
Set true if you want risk managed by monetary amount.
💴 Maximum Loss Amount in Account Currency
The maximum loss per trade when auto lot calculation is used.
Specified in yen for JPY accounts or dollars for USD accounts.
Example:
For a 10,000 JPY account, set to “10000”
→ The loss at SL hit will be approximately within 10,000 JPY, with lot size calculated accordingly.
Default: 10000
Due to spreads, slippage, and gap opening, actual loss may exceed the set value.
🚧 Auto Lot Upper Limit
Maximum automatically calculated lot size.
0: Up to the maximum lot allowed by the broker
0.10: Up to 0.10 lots
10.00: Up to 10.00 lots
Default: 0
To prevent abnormal lot growth, it is recommended to set an upper limit in actual operation.
⛔ Skip if below minimum lot
Behavior when auto-calculated lot falls below the broker’s minimum lot.
true: skip entry
false: enter with minimum lot
Default: false
🔢 Lot Decimal Places
Number of decimal places to round the lot size.
Accounts in common 0.01 lot units: 2
Accounts supporting 0.001 lot: 3
Default: 2
Set according to your broker’s lot size increments.
⚡ Acceptable Slippage
Price deviation allowed at order entry.
Default: 30
On MT4, processed in points, so actual spread depends on price digits.
Setting too small may cause orders to fail during sudden market moves.
🔒 Single Position Only
Setting to limit the EA to hold only one position at a time.
true: only 1 position
false: allow multiple positions
Default: true
If true, even when a buy position is open, a sell signal will not place a new sell order.
Therefore, hedging is not enabled by default.
📊 Maximum Positions When Single Position Off
If “Single Position Only” is false, this is the maximum number of positions that can be held simultaneously.
Default: 3
Judged by total number of buy and sell positions.
If multiples are allowed, you may hold both buy and sell at the same time depending on market conditions.
⚠ Usage Notes
This EA does not guarantee profits.
Market conditions, spreads, execution speed, the broker used, price digits for XAUUSD, trading hours, etc., may yield results different from backtests or other accounts.
Before starting operation, please verify on a demo account or strategy tester.
When using fixed lot, avoid setting excessively large lots relative to account funds.
If you change parameters, please verify with the strategy tester before operating.