Xauusd scalpe rm1
- Experts
- Versione: 1.77
- Attivazioni: 10
Xauusd Scalpe RM1 — Two-Way Grid Expert Advisor for MetaTrader 5
Xauusd Scalpe RM1 is an automated Expert Advisor for MetaTrader 5 designed for trading XAUUSD (Gold) using a two-way grid approach.
The EA manages two independent position groups: one for Buy positions and one for Sell positions.
A new trading direction is determined by the previous closed candle. If the previous candle is bullish, the EA considers opening a Buy position. If the previous candle is bearish, the EA considers opening a Sell position.
Additional grid positions are opened only after the price has moved by the specified distance from the previous entry. This allows the trader to control grid density and reduce unnecessary consecutive entries during unstable market conditions.
For each direction, the EA manages positions as a separate group. When multiple positions are open on the same side, the EA calculates the volume-weighted average entry price and uses it to manage the overall profit target of the group.
Position Closing Methods
The EA provides two position management modes:
- Average TP — uses a common Take Profit level based on the average entry price of the position group.
- Partial Close — allows partial closing of positions as part of the risk-management process.
Risk Management
The EA includes additional controls for managing trading activity:
- Daily Profit Target — closes the EA's positions when the specified daily profit target is reached.
- Max Floating Drawdown — pauses new entries when the specified floating loss limit is reached.
- Maximum Lot Size — limits the maximum volume of an individual position.
- Magic Number — allows the EA to identify and manage its own positions.
- Slippage — defines the maximum allowed execution deviation.
Recommended Account Type
The EA is designed to be used with accounts that support small minimum trading volumes, including Cent/ProCent accounts.
The default settings are configured for XAUUSD with:
- Initial lot: 0.01
- Maximum lot: 0.04
The default parameters are provided as a starting configuration and should be adapted to the broker's contract specifications, spread, commission and trading conditions.
Before using the EA on a live account, testing on a demo account is recommended.
Input Parameters
Take Profit per Position
Individual Take Profit in points used before the grid is formed.
Grid Step Distance
Minimum price distance between consecutive grid entries.
Minimum Grid Profit to Close
Minimum profit required to close the position group.
Initial Lot Size
Lot size of the first grid position. Default: 0.01.
Maximum Lot Size
Maximum allowed lot size for a single position. Default: 0.04.
Close Method
Selects the position management method: Average TP or Partial Close.
Daily Profit Target
Enables a daily profit target in the account currency.
Max Floating Drawdown
Defines the maximum allowed floating loss. When the limit is reached, new entries are paused.
Magic Number
Unique identifier used by the EA to identify its positions. Default: 2001.
Slippage
Maximum allowed price deviation during trade execution.
Important: Trading a grid strategy involves the risk of accumulating multiple positions during an adverse price movement. Past testing results do not guarantee future performance. Use appropriate risk management and test the EA under your broker's specific trading conditions before live deployment.
