MangoFX Xmas Candles
- Experts
- Olisa Chigozie Ufondu
- Versão: 1.0
- Ativações: 5
MangoFX XMAS EA is an automated trading robot that identifies trade opportunities using the Xmas Candles indicator method. It operates in two modes:
Standard Mode
· Detects patterns on chart internally
· Opens a Buy trade on the first Lime (bullish) candle following a pattern
· Opens a Sell trade on the first Red (bearish) candle following a pattern
· Sets Stop Loss at the nearest swing high or low
· Sets Take Profit based on your chosen Risk-to-Reward Ratio (RRR)
Simple Opposite Mode (Alternative Strategy)
· Enter on first Lime candle → Hold until a Red candle appears, then close and optionally enter Sell
· Enter on first Red candle → Hold until a Lime candle appears, then close and optionally enter Buy
· Perfect for traders who prefer trend-following with reversal detection
Key Risk Management Features
· Daily, Monthly, and Yearly Profit Targets
· Daily Loss Limits and Account Drawdown Protection
· Include Floating P/L in all limits (toggle on/off)
· Automatic Breakeven SL when price reaches 50% of TP
· Fixed or RRR-based Take Profit
---
Input Parameters
Parameter Description
EnableBuy - Enable or disable Buy (long) trades
EnableSell - Enable or disable Sell (short) trades
LotSize - Fixed lot size per trade (e.g., 0.1)
MagicNumber - Unique identifier for EA's positions
EA_Comment - Comment text shown on trade tickets
Slippage - Maximum allowed slippage in points
EnableSimpleOppositeMode - Switch between Standard (false) and Simple Opposite (true) modes
RiskRewardRatio - Example: 2.0 = 1:2 risk-to-reward (e.g., 50 pip SL / 100 pip TP)
UseFixedTP - Use fixed TP amount instead of RRR calculation
FixedTP - Fixed TP amount in account currency (0 = disabled)
SwingLookback - Number of candles to look back for swing high/low
WaitForClose - Wait for current position to close before opening new one
MaxPositions - Maximum number of simultaneous positions
MinCandlesBetweenTrades - Minimum candles that must close between trades
MaxDailyProfitAmt - Stop trading for the day after reaching this profit (0=disabled)
MaxMonthlyProfitAmt - Stop trading for the month after reaching this profit (0=disabled)
MaxYearlyProfitAmt - Stop trading for the year after reaching this profit (0=disabled)
MaxDailyLoss - Stop trading for the day after losing this amount (0=disabled)
MaxAccountDrawdown - Stop trading when drawdown % from peak equity is reached (0=disabled)
IncludeFloatingPL - Include floating P/L when calculating profit/loss limits
EnableBreakeven - Move Stop Loss to entry price when price reaches 50% of Take Profit
ShowDisplay Show information panel on chart
DisplayX - X position of info panel (reserved)
DisplayY - Y position of info panel (reserved)
DisplayColor - Text color of info panel (reserved)
