Hi all,
I need your help to make an EA for this martingal system.
It use the buy limit, sell limit orders to win in the ranging market and the buy stop, sell stop ones to win when the market trend.
We can use it in one direction or better, in the 2 directions (start buy and sell).
I will explain the simple one and will illustrate it by the first picture (martingsimple.gif).
The second picture (martingdle.gif) explain the double direction one.
The EA start (for example) by a sell order 0.1 lot at 1.5589. tp=40, sl=40.
In the same time it makes 2 pending orders :
a) sell limit 0.2 lot at 1.5629
b) sell stop 0.1 lot at 1.5549
If the price go up to 1.5629 (like in the first picture).
(a) will be execute and (b) must be deleted.
In the same time the EA makes 2 pending orders :
c) sell limit 0.1 lot at 1.5589
d) buy stop 0.4 lot at 1.5669
... and so on.
As you can see in the yellow circle of the martingsimple.gif, the organisation of orders is :
sell/selllimit/buystop/sellstop/selllimit/buystop/..etc.
It's better if we can chose this organisation in the options of the EA.
If the price go down to 1.5549, (b) will be execute and (a) must be deleted.
The EA will do the same operations in the opposite direction and the organisation of orders in this case will be:
buy/buylimit/sellstop/buystop/buylimit/sellsop/..etc.
*******
Now, For the double direction martingal EA (martingdle.gif), it's very important to make a perfect synchronisation between the 2 directions (open and close the opposites orders in the same time).
Thus, the EA become more prolific and the drawdown will be reduced nicely.
Thanks.
I need your help to make an EA for this martingal system.
It use the buy limit, sell limit orders to win in the ranging market and the buy stop, sell stop ones to win when the market trend.
We can use it in one direction or better, in the 2 directions (start buy and sell).
I will explain the simple one and will illustrate it by the first picture (martingsimple.gif).
The second picture (martingdle.gif) explain the double direction one.
The EA start (for example) by a sell order 0.1 lot at 1.5589. tp=40, sl=40.
In the same time it makes 2 pending orders :
a) sell limit 0.2 lot at 1.5629
b) sell stop 0.1 lot at 1.5549
If the price go up to 1.5629 (like in the first picture).
(a) will be execute and (b) must be deleted.
In the same time the EA makes 2 pending orders :
c) sell limit 0.1 lot at 1.5589
d) buy stop 0.4 lot at 1.5669
... and so on.
As you can see in the yellow circle of the martingsimple.gif, the organisation of orders is :
sell/selllimit/buystop/sellstop/selllimit/buystop/..etc.
It's better if we can chose this organisation in the options of the EA.
If the price go down to 1.5549, (b) will be execute and (a) must be deleted.
The EA will do the same operations in the opposite direction and the organisation of orders in this case will be:
buy/buylimit/sellstop/buystop/buylimit/sellsop/..etc.
*******
Now, For the double direction martingal EA (martingdle.gif), it's very important to make a perfect synchronisation between the 2 directions (open and close the opposites orders in the same time).
Thus, the EA become more prolific and the drawdown will be reduced nicely.
Thanks.