Intro:
This thread is dedicated to optimize, backtest & forwardtest the EA with averaging based on RSI and ADX.
EA is developed on MT5 so it is possible to optimize the best setups for multiple symbols combinations.
Rules of thread:
Be a nice person.
How to test EA:
1. Use open prices modeling and any timeframe
2. Optimize 3-7 years - find the best/stable setup
3. Then validate 3 years. For example, optimize using 2010 - 2017 data. EA know nothing about 2017 - 2020 - so you can then run Strategy Test for "future" and see how EA and money management plan work in "pseudo-real life"
Learn how to test EAs in this free video/textual course (no registration needed - just watch or read). It is for MT4 but concepts are relevant to MT5 as well.
Money plan example Nr1:
Grid, martingale, averaging - all those systems will fail if not enough money on account. Sooner or later. But it is ok if using an appropriate money plan.
Here is 1 option (we need to figure out more... better):
1. Have in your broker wallet (not account) 500 usd
2. Put in account 100 usd and start EA
3. When the account balance reaches 300 usd - cashout 200 usd to the wallet and continue running EA (risk/reward ratio 1:2)
4. When account stop-out - recharge with 100 usd and continue EA
Money plan example Nr2:
You know from EA backtests max drawdown. Multiply it by 2 and that is capital needed to run 1 instance of EA with parameters you have optimized/backtested.
Money plan example Nr3:
You can optimize and find n symbols setups. Then sum all symbols max drawdowns, divide by n and get average drawdown. Now multiple it by 2.3 and get the capital needed to run n instances of various symbols/setups EA on 1 account.
Running EA with 0.01 lots eventually will go in 1000 - 3000 usd drawdown. You will see in the backtests. If don't have enough initial capital you can use a cent account - then your drawdown will be 100 - 300 usd.
EA strategy:
We try to catch the new trend impulse (beginning of trend). ADX indicator signals market mood (trendy or ranged). RSI indicator signals direction (BUY or SELL).
BUY entry:
1) Previous candle ADX above X (find best X by optimizing parameter adx_level)
2) Previous candle RSI above Y (find best Y by optimizing parameter rsi_up)
SELL entry:
1) Previous candle ADX above X (find best X by optimizing parameter adx_level)
2) Previous candle RSI below Z (find best Z by optimizing parameter rsi_down)
Here EA version Nr 1 for download:
Here EA version Nr 3 for download (opens 2 oposit orders at once):
Will update this post Nr.1 with detailed info.
This thread is dedicated to optimize, backtest & forwardtest the EA with averaging based on RSI and ADX.
EA is developed on MT5 so it is possible to optimize the best setups for multiple symbols combinations.
Rules of thread:
Be a nice person.
How to test EA:
1. Use open prices modeling and any timeframe
2. Optimize 3-7 years - find the best/stable setup
3. Then validate 3 years. For example, optimize using 2010 - 2017 data. EA know nothing about 2017 - 2020 - so you can then run Strategy Test for "future" and see how EA and money management plan work in "pseudo-real life"
Learn how to test EAs in this free video/textual course (no registration needed - just watch or read). It is for MT4 but concepts are relevant to MT5 as well.
Money plan example Nr1:
Grid, martingale, averaging - all those systems will fail if not enough money on account. Sooner or later. But it is ok if using an appropriate money plan.
Here is 1 option (we need to figure out more... better):
1. Have in your broker wallet (not account) 500 usd
2. Put in account 100 usd and start EA
3. When the account balance reaches 300 usd - cashout 200 usd to the wallet and continue running EA (risk/reward ratio 1:2)
4. When account stop-out - recharge with 100 usd and continue EA
Money plan example Nr2:
You know from EA backtests max drawdown. Multiply it by 2 and that is capital needed to run 1 instance of EA with parameters you have optimized/backtested.
Money plan example Nr3:
You can optimize and find n symbols setups. Then sum all symbols max drawdowns, divide by n and get average drawdown. Now multiple it by 2.3 and get the capital needed to run n instances of various symbols/setups EA on 1 account.
Running EA with 0.01 lots eventually will go in 1000 - 3000 usd drawdown. You will see in the backtests. If don't have enough initial capital you can use a cent account - then your drawdown will be 100 - 300 usd.
QuoteDislikedWarning: don't take/use previous money plan examples 1:1. We need backtest everything and validate with pseudo-real tests to see exact safe approach for money plan. We don't know jet will 2.3 we need to multiply or 3.2 etc...
EA strategy:
We try to catch the new trend impulse (beginning of trend). ADX indicator signals market mood (trendy or ranged). RSI indicator signals direction (BUY or SELL).
BUY entry:
1) Previous candle ADX above X (find best X by optimizing parameter adx_level)
2) Previous candle RSI above Y (find best Y by optimizing parameter rsi_up)
SELL entry:
1) Previous candle ADX above X (find best X by optimizing parameter adx_level)
2) Previous candle RSI below Z (find best Z by optimizing parameter rsi_down)
Here EA version Nr 1 for download:
Attached File(s)
ImpulseADX_V01.ex5
88 KB
|
446 downloads
Here EA version Nr 3 for download (opens 2 oposit orders at once):
Attached File(s)
ImpulseADX_V03_sell_buy.ex5
106 KB
|
348 downloads
|
Uploaded May 30, 2020 4:04pm
Will update this post Nr.1 with detailed info.