Gold Trend Swing Scalper F
- Experts
- Luis Ruben Rivera Galvez
- Version: 3.83
- Updated: 23 April 2025
https://www.mql5.com/en/market/product/136928
Account Error: This robot must be used with a specific type of account with fixed spreads. If your account gives you an error, send me a message.
This bot uses a moving average (MA) crossover strategy with built-in risk management and optional Martingale functionality.
Core Parameters:
MagicNumber - Unique ID for the bot's trades to avoid conflicts
FixedLotSize - Base trade size (e.g. 0.01)
FastValue/SlowValue - Periods for fast and slow MAs (e.g. 3 and 6)
ReverseLogic - true: sells when fast MA crosses above slow MA; false: standard strategy
Risk Management:
SL_Pct/TP_Pct - Stop Loss/Take Profit as % of price (0 to disable)
UseMartingale - true: increases lot size after losses
LossesToActivate - Losing trades needed to activate Martingale
MaxMartingaleLosses - Max Martingale attempts before reset
MartingaleFactor - Lot size multiplier after losses (e.g. 2.0)
MaxAllowedLotSize - Maximum permitted lot size
MarginThreshold - If margin % drops below this, closes all trades
Time Filter (Optional):
UseTimeFilter - true: only trades during set times
Mon-Sun - Active trading days
StartH/StartM-EndH/EndM - Trading window (e.g. 6:00-15:00)
How It Works:
-
Triggers trades on MA crossovers
-
Closes old trades before new ones
-
Adjusts lot size after losses if Martingale enabled
-
Stops trading if margin too low
Note: Adjust MA periods and risk settings based on market volatility.