![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
JOB DONE!!!![](https://c.mql5.com/forextsd/smiles/teeth_smile.png)
VERY GOOD!!!!! It's workin perfectly now! GREAT JOB!!!
Now, thinking in additional improvements.
2010 Backtest attached.
In 2010 the largest trade was a 0.32 lot - 6th trade, starting with 0.01. $500 initial deposit.
Thanks to all that helped, you're awesome!
great
if u need help call me anytime,
anyway, this is backtest 2010 for improved ea wich i showed you in first post
P.S. sorry 4 martin logic (I have never worked with something like this)
great
if u need help call me anytime,
anyway, this is backtest 2010 for improved ea wich i showed you in first post
Very good results! Can you share the EA improved version and settings?
Very good results! Can you share the EA improved version and settings?
no , this is a commercial version, but i showed you the ea, so if you have ideas, I'll help you,
i'm a bollinger bands fan![](https://c.mql5.com/forextsd/smiles/biggrin.png)
Ok! I'm thinking now in improvents to the EA... thinking in reduce the risks of a big sequence of losses.
- a filter that only allow long trades if MA X is above MA Y and vice versa for shot (trend confirmation)
- a function that slow the trades speed after losses... I think that if we speed down the trades after losses, we can escape from the side markets. Something like no trades for 1 hour after 1st loss, 2 hours with no trades after 2nd loss, 4 hours with no trades after 4h loss, etc....
Other feature that can improve profitability:
Instead of just open one order when touch BB, we could open 2 orders (one buy, one sell), respecting the Martingale sequence... Result will be something like this:
1 w 50 L -50
2 w 50 L -100
3 L -50 w 200
4 w 100 L -50
5 L -50 w 50
6 L -100 w 50
7 L -200 w 50
8 w 400 L -50
9 L -50 w 100
10 w 100 L -50
11 w 50 L -100
12 L -50 w 50
13 L -100 w 50
14 L -200 w 50
15 w 400 L -50
16 L -50 w 100
17 L -100 w 50
18 w 200 L -50
19 L -50 w 100
20 w 100 L -50
21 L -50 w 100
22 L -100 w 50
23 w 200 L -50
24 L -50 w 100
25 w 100 L -50
26 L -50 w 100
27 L -100 w 50
28 w 200 L -50
29 L -50 w 100
30 L -100 w 50
31 L -200 w 50
32 w 400 L -50
33 L -50 w 100
34 w 100 L -50
35 L -50 w 100
36 w 100 L -50
37 w 50 L -100
38 w 50 L -200
39 L -50 w 400
40 w 100 L -50
PROFIT 900 850Realize the the results of the trades would be RES1 or RES2, but, opening the aditional trade, we can take advantage even when loss the main trade.
Getting just the main trade our total profit would be $900 (RES1) OR $850 (RES2), but getting main and hedge trade, we profit $1750.
at start you want an two MA optional filter in your EA ?
The idea is do not enter long when some fast MA is below some slow MA....
Example... we assume that the trend is long and we will enter ONLY LONG when MA 20 is higher than MA 40 (optimization will help to choose MA period)
check this:
MAFilter = true; or =false
on the future: Shift mean the bar 0=curent bar, 1=last bar
one thing i use in these kinds of bollinger systems is to check the rsi one timeframe higher. It has to be under 60 for short trades to prevent a strong trend. for long trades it has to be above 40.
one thing i use in these kinds of bollinger systems is to check the rsi one timeframe higher. It has to be under 60 for short trades to prevent a strong trend. for long trades it has to be above 40.
check this: