MoneyMaker v2
- Experts
- Marius Guscius
- Version: 2.0
- Mise à jour: 20 janvier 2019
- Activations: 5
MoneyMaker v2
This expert advisor is based on idea that market produces very strong movement to opposite side once trend reversal is imminent. So our core trigger is bar size relative to previous bars optionally filtered by Bollinger Bands, Money Flow Index, Simple Moving Averages and Commodity Channel Index. MoneyMaker v2 also implements autolot based on free margin / Risk per single order (in %) parameter. Spread filtering is done through Minimum bar body size / pair spread multiplier (in points) parameter. Since we are considered with relativity between spread and bar body size we do not need to use only low spread pairs. Every order is opened with calculated stop-loss & take profit.
EA parameters
- [ MISC SETTINGS ]
- EA magic number
- Max allowed slipage points for orders
- [ NOTIFICATION SETTINGS ]
- Notify on fatal errors?
- Notify on basket close?
- [ STRATEGY SETTINGS - BASE TRIGGER ]
- EA main time period
- Current bars count to calculate sum of bar bodies
- Previous bars count to calculate sum of bar bodies
- Minimum bar body size / pair spread multiplier (in points)
- [ STRATEGY SETTINGS - FILTERS ]
- Enable Bollinger bands filter?
- Bollinger Bands period
- Bollinger Bands deviation
- Enable Money Flow Index filter?
- Money Flow Index period
- Maximum Money Flow Index value for buy order
- Minimum Money Flow Index value for sell order
- Enable Simple Moving Average filter?
- Short Simple Moving Average period
- Long Simple Moving Average period
- Enable Commodity Channel Index filter?
- Commodity Channel Index period
- Maximum Commodity Channel Index value for buy order
- Minimum Commodity Channel Index value for sell order
- [ STRATEGY SETTINGS - TP / SL ]
- Take profit to bar body size multiplier (in points)
- Stop-loss to bar body size multiplier (in points)
- [ STRATEGY SETTINGS - LOTS ]
- Enable risk based lots?
- Fixed lot size
- Risk per single order (in %)
How / what to optimize:
- Fire up myfxbook.com/forex-broker-spreads to figure out average difference between Dukascopy spread and your broker's spread per pair. Then properly configure Tick Data Suite v2 variable spread multiplier and base commission. If for example Dukascopy shows average spread 4 pips for EURUSD and your broker 2 pips, then set Spread multiplier to 0.5
- Disable all filters and use fixed (smallest that your broker allows) lot size in EA settings.
- Current bars count to calculate sum of bar bodies - This is what we use to calculate "current" combined body size (usually 1-3).
- Previous bars count to calculate sum of bar bodies - This is what we use to calculate "previous" combined body size (usually 3-10).
- Minimum bar body size / pair spread multiplier (in points) - Once first two parameters are optimized to maximum balance, move onto this one. Normally this will show best profit when < 100.
- Afterwards optimize each filter by enabling them one by one.
- Move onto take profit and stop-loss. Usually it is best to let them to be 0.5 of bar size but you can try find better settings here.
- Finally enable autolot by controlling Risk percentage.
Default settings are provided as example using Dukascopy variable spread ticks data for EURUSD pair with spread multiplier set to 0.5 and base commission to 7$.
I have just run a ten year backtest on this ea and it only trades three times. This is not good.
Strategy Tester Report
MoneyMaker v2
ICMarkets-Demo02 (Build 1220)
Symbol EURUSD (Euro vs US Dollar)
Period 1 Hour (H1) 2010.01.01 03:00 - 2019.11.08 22:00 (2009.11.10 - 2019.11.10)
Model Every tick (the most precise method based on all available least timeframes)
Parameters MISC_SETTINGS_WRAPPER=""; MAGIC_NUMBER=123456789; MAX_ALLOWED_SLIP=30; NOTIFICATION_SETTINGS_WRAPPER=""; SEND_PUSH_NOTIFICATIONS_ON_FATAL_ERRORS=true; SEND_PUSH_NOTIFICATIONS_ON_BASKET_CLOSE=true; STRATEGY_SETTINGS_BASE_TRIGGER_WRAPPER=""; MAIN_EA_TIME_PERIOD=60; CURRENT_BARS_COUNT=2; PREVIOUS_BARS_COUNT=5; BAR_BODY_SIZE_SPREAD_MULTIPLIER_MIN=120; STRATEGY_SETTINGS_FILTERS_WRAPPER=""; ENABLE_BOLLINGER_BANDS_FILTER=true; BOLLINGER_BANDS_PERIOD=30; BOLLINGER_BANDS_DEVIATION=2.7; ENABLE_MONEY_FLOW_INDEX_FILTER=true; MONEY_FLOW_INDEX_PERIOD=14; MAX_MONEY_FLOW_INDEX_FOR_BUY_ORDER=80; MIN_MONEY_FLOW_INDEX_FOR_SELL_ORDER=20; ENABLE_SIMPLE_MOVING_AVERAGE_FILTER=true; SHORT_MOVING_AVERAGE_PERIOD=48; LONG_MOVING_AVERAGE_PERIOD=144; ENABLE_COMMODITY_CHANNEL_INDEX_FILTER=true; COMMODITY_CHANNEL_INDEX_PERIOD=12; MAX_COMMODITY_CHANNEL_INDEX_FOR_BUY_ORDER=310; MIN_COMMODITY_CHANNEL_INDEX_FOR_SELL_ORDER=-310; STRATEGY_SETTINGS_TP_SL_WRAPPER=""; TAKE_PROFIT_TO_BAR_BODY_SIZE_MULTIPLIER=0.5; STOP_LOSS_TO_BAR_BODY_SIZE_MULTIPLIER=0.5; STRATEGY_SETTINGS_LOTS_WRAPPER=""; ENABLE_RISK_BASED_LOTS=true; FIXED_LOT_SIZE=0.01; RISK_PERCENTAGE_PER_ORDER=1.5;
Bars in test 61577 Ticks modelled 190324257 Modelling quality 99.90%
Mismatched charts errors 0
Initial deposit 1000.00 Spread Variable
Total net profit 14.39 Gross profit 24.29 Gross loss -9.90
Profit factor 2.45 Expected payoff 4.80
Absolute drawdown 13.49 Maximal drawdown 18.84 (1.87%) Relative drawdown 1.87% (18.84)
Total trades 3 Short positions (won %) 1 (0.00%) Long positions (won %) 2 (100.00%)
Profit trades (% of total) 2 (66.67%) Loss trades (% of total) 1 (33.33%)
Largest profit trade 13.81 loss trade -9.90
Average profit trade 12.14 loss trade -9.90
Maximum consecutive wins (profit in money) 2 (24.29) consecutive losses (loss in money) 1 (-9.90)
Maximal consecutive profit (count of wins) 24.29 (2) consecutive loss (count of losses) -9.90 (1)
Average consecutive wins 2 consecutive losses 1
Graph
# Time Type Order Size Price S / L T / P Profit Balance
1 2011.08.01 18:00 sell 1 0.01 1.41988 1.42985 1.40996
2 2011.08.03 12:01 s/l 1 0.01 1.42985 1.42985 1.40996 -9.90 990.10
3 2015.12.03 16:00 buy 2 0.01 1.08244 1.06854 1.09630
4 2015.12.03 21:33 t/p 2 0.01 1.09630 1.06854 1.09630 13.81 1003.91
5 2016.03.10 18:00 buy 3 0.01 1.11462 1.10330 1.12593
6 2016.03.17 09:59 t/p 3 0.01 1.12593 1.10330 1.12593 10.48 1014.39