Kubera
Kubera EA - Inspired by the God of Wealth
About the EA
Kubera EA is a sophisticated hedging martingale Expert Advisor (EA) designed exclusively for trading XAUUSD (Gold) on the MetaTrader 5 platform. Drawing inspiration from Kubera, the Hindu god of wealth, this EA aims to capitalize on market movements through a balanced hedging strategy combined with martingale progression. It features a visually appealing golden-themed GUI, real-time profit visualization, and customizable parameters to suit various risk appetites. Ideal for traders seeking automated gold trading with a focus on recovery from drawdowns, Kubera EA emphasizes hedging to manage both buy and sell directions simultaneously.
Description
Overview:
Kubera EA employs a hedging martingale approach to trade XAUUSD, opening initial buy and sell positions and adding to losing baskets using a grid-based martingale lot multiplier. It closes profitable baskets once the average price reaches the specified take profit level, helping to lock in gains while mitigating losses through strategic position layering.
Key Features:
-
Hedging Strategy: Simultaneously manages buy and sell baskets, adding positions to the losing side at predefined grid steps (default: 20 points) up to a maximum of 10 orders per side.
-
Martingale Progression: Starts with an initial lot size (default: 0.01) and multiplies subsequent lots (default multiplier: 2.0) for recovery.
-
Profit Management: Closes baskets when the price reaches the average entry plus/minus take profit pips (default: 50). Displays realized profits on the chart with green labels in a flag-style frame near the close point.
-
GUI and Visualization:
-
Bold, golden "Kubera" title centered at the top of the chart.
-
Dynamic golden bar that scales with current floating profit (gold for positive, red for negative).
-
Custom chart theme: black background with golden candlesticks for an elegant, thematic look.
-
-
Safety Checks: Restricts trading to XAUUSD and hedging-enabled accounts; optional new bar trading to reduce over-trading.
-
Inputs for Customization: Adjust initial lot, multiplier, grid step, take profit, max orders, and more via user inputs.
Recommended Usage:
-
Best suited for XAUUSD on H1 or higher timeframes.
-
Use on a hedging-enabled broker account with sufficient margin for martingale risks.
-
Backtest thoroughly and start with a demo account to understand the strategy's drawdown potential.
Risk Warning: Martingale strategies can amplify losses during prolonged trends. Always use proper risk management, and never risk more than you can afford to lose. This EA does not guarantee profits and past performance is not indicative of future results.
For support or customization, contact the developer via the MQL5 community. Unlock the wealth of gold trading with Kubera EA!