Introducing Emagic: Your Go-To EA for MetaTrader 4

Mike 2012.05.03 16:25 34 0 0
Attachments

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!

Strategy Tester Report
Emagic 1.161
Butenix-Server (Build 419)


SymbolEURUSD_FX (Euro vs US Dollar)
Period4 Hour (H4) 2011.01.03 00:00 - 2011.12.30 20:00
ModelEvery tick (the most precise method based on all available timeframes)
ParametersMagicNumber=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 test2556Ticks modeled8131424Model quality86.27%
Inconsistent graph errors4
Initial deposit50.00
Total net profit637.55Gross profit2665.68Gross loss-2028.13
Profit factor1.31Expected payoff0.70
Absolute drawdown1.81Maximum drawdown141.85 (21.33%)Relative drawdown21.86% (134.90)
Total number of trades905Short 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%)
Largestwinning trade31.90losing trade-21.65
Averagewinning trade3.67losing trade-11.39
Maximumconsecutive wins (profit in money)23 (71.17)consecutive losses (loss in money)4 (-11.78)
Maximumconsecutive profits (count of wins)101.92 (22)consecutive losses (count of losses)-37.75 (2)
Averageconsecutive wins5consecutive losses1

List
Comments 0