Aligator Gold EA
- Experts
-
Sri Edy Nurcahyo
I am Sri Edy Nurcahyo, an independent trader and developer from Indonesia. Passionate about Forex & Gold, with a focus on automated trading systems and price action. Coding my own EAs in MQL5 - Versione: 1.0
- Attivazioni: 5
Aligator Gold - Smart Money Concepts Automated Trading System
Aligator Gold is an automated Expert Advisor designed specifically for XAUUSD (Gold) on M1 / M5 timeframe.
This EA is built with a trend-based system combined with risk management logic and Basket Profit Trailing. It is designed to manage multiple positions as one basket to secure floating profit.
Default Symbol & Timeframe:
XAUUSD M1 (Also suitable for M5)
Broker Compatibility:
Tested on 2-digit XAUUSD broker - Forex4you. The EA should work on other brokers, but please test on demo first as digit format and spread may different.
Capital Requirements:
* Safe Minimum Capital: 10,000 cents with Start Lot 0.01
* Recommended Capital: 30,000 cents with Start Lot 0.01
This is a cent account based setup. Adjust lot according to your account balance and risk tolerance.
How It Works:
1. Trend Detection System: The EA uses ATR-based calculation combined with Sensitivity and Factor inputs to define the current market trend structure and dynamic support/resistance levels. It does not repaint after calculation.
2. Moving Average Filter: Uses two Moving Averages (Fast MA & Slow MA) as an additional trend direction filter to validate market condition.
3. Signal Logic: The EA waits for a new candle and looks for a price crossover against the calculated trend line. When a Buy or Sell condition is met, it opens a basket of up to 4 positions.
4. Position Management: Each basket consists of 4 positions with individual Lots (Lot_P1 to Lot_P4) and individual Take Profit levels based on ATR_SL x Risk. Stop Loss is calculated dynamically using ATR_SL x Risk.
5. Basket Profit Trailing (USD): This is the core money management feature.
- The EA calculates the total basket profit = Floating Profit + Realized Profit from closed parts of the same basket.
- When total basket profit reaches `Trail_Start_USD`, trailing becomes ACTIVE.
- The EA tracks the peak profit of the basket. If profit drops by `Trail_Gap_USD` from the peak, the EA will close all positions in the basket.
- `Trail_Min_Lock` ensures the system tries to lock a minimum profit value. The closing level is calculated as `MAX(Peak - Gap, Min_Lock)`.
- If no basket is open, the system resets automatically.
This system is not a martingale or single-grid recovery system that doubles lots infinitely.
Main Features:
* Specifically optimized for XAUUSD volatility
* Smart Trend + Moving Average logic
* 4-Level Position with separate TP
* Basket Profit Trailing in USD - to lock floating profit
* Includes Cinematic Dark Cyan Dashboard with real-time info: Balance, Equity, Floating, Basket Profit, Win Rate, Trend, Spread, Positions
* Optional Dark Chart Theme
* Magic Number protected
Input Parameters:
POSITIONS LOT: Lot_P1, Lot_P2, Lot_P3, Lot_P4 - Lot size for each position in a basket.
TREND SYSTEM: Sensitivity, ATR_Period, Factor - Controls the trend sensitivity.
MOVING AVERAGES: MA_Fast, MA_Slow - Period for trend filter.
RISK: Risk, ATR_SL, TP1, TP2, TP3 - Risk multiplier for SL distance and TP multipliers based on SL distance.
BASKET PROFIT TRAILING (USD): UseBasketTrail, Trail_Start_USD, Trail_Gap_USD, Trail_Min_Lock - Enable/disable and configure the basket trailing logic.
DISPLAY: ShowPanel, ApplyChartTheme - Show/hide info panel and chart theme.
Important Notes:
* Past performance does not guarantee future results.
* Trading forex and gold involves high risk. Use only risk capital.
* Always test the EA on a demo account or strategy tester before using on a live account.
* The recommended VPS is advised for 24/5 operation.
* Default settings are for XAUUSD M1 only. Different symbols or timeframes require optimization.
Recommendation capital:
Use cent account, start with 30,000 cents and lot 0.01 as recommended for more buffer on XAUUSD volatility.
