Hey traders! 👋
Today, I want to share my journey with one of my first proper EAs, Emagic. It’s a work in progress, but I'm excited about its potential!
Emagic is designed to open trades based on a customizable MACD signal and the crossover of EMA close and EMA open. This gives you flexibility in how you want to trade and manage your risk.
I've integrated both money management options and fixed lot sizes. If you opt for money management, you can set your minimum and maximum lot sizes. This feature is especially handy during testing, as it helps avoid getting stopped out when your broker doesn’t support certain lot sizes. Currently, I’m using a micro account with a maximum of 0.5 lots and 4-digit pricing. I've worked hard to ensure compatibility with 5-digit accounts, but just a heads up: for 5-digit accounts, you’ll need to enter 0.3 to represent a 3% risk.
All indicators in Emagic are customizable, making it perfect for testing different strategies. You can also enable or disable email notifications, so you'll receive an alert whenever a new order is placed.
From my experience, I've had solid results on the 4-hour EUR/USD timeframe with a stop loss of 40-50 points. I’m currently using a trailing stop of just 11 points, which is the smallest stable trailing stop I can set with my broker. While they support 8-point trailing stops, in a fast-moving market, they can sometimes fail.
I’ve included a magic number for tracking trades, but to be honest, I haven’t tested it thoroughly yet. Right now, I'm forward testing Emagic on a real micro account.
I’d love to hear your thoughts and feedback on this! Feel free to drop a comment below. 😊
Cheers!
| Symbol | EURUSD_FX (Euro vs US Dollar) | ||||
| Period | 4 Hour (H4) 2011.01.03 00:00 - 2011.12.30 20:00 | ||||
| Model | Every tick (the most precise method based on all available timeframes) | ||||
| Parameters | MagicNumber=12321; SignalMail=true; MM="Auto money management"; AutoMoneyManagement=true; PercentToRisk=3; MaxLots=999; MinLots=0.01; NoMM="when AutoMM is off, use lotsize below."; Lots=0.01; Slippage=3; UseStopLoss=true; StopLoss=40; UseTakeProfit=false; TakeProfit=60; UseTrailingStop=true; TrailingStop=11; Macd="Quick, Slow, Signal"; Qema=10; Sema=32; Signalmacd=4; Ema="fast close, slow open."; Fastema=8; Slowema=13; | ||||
| Bars in test | 2556 | Ticks modeled | 8131424 | Model quality | 86.27% |
| Inconsistent graph errors | 4 | ||||
| Initial deposit | 50.00 | ||||
| Total net profit | 637.55 | Gross profit | 2665.68 | Gross loss | -2028.13 |
| Profit factor | 1.31 | Expected payoff | 0.70 | ||
| Absolute drawdown | 1.81 | Maximum drawdown | 141.85 (21.33%) | Relative drawdown | 21.86% (134.90) |
| Total number of trades | 905 | Short positions (win %) | 441 (80.05%) | Long positions (win %) | 464 (80.60%) |
| Winning trades (% of total) | 727 (80.33%) | Losing trades (% of total) | 178 (19.67%) | ||
| Largest | winning trade | 31.90 | losing trade | -21.65 | |
| Average | winning trade | 3.67 | losing trade | -11.39 | |
| Maximum | consecutive wins (profit in money) | 23 (71.17) | consecutive losses (loss in money) | 4 (-11.78) | |
| Maximum | consecutive profits (count of wins) | 101.92 (22) | consecutive losses (count of losses) | -37.75 (2) | |
| Average | consecutive wins | 5 | consecutive losses | 1 | |
Comments 0