how to build a layer on ea martingale
-
hi all. I newbie want to ask how to make EA martingale with different pipstep
for example
layer 1 to 4 using pipsteps 15 pipslayer 5 to 7 using pipsteps 30 pips
layer 8 upwards using pipsteps 50 pips
I also enclose the picture to make it easier for friends here to help me
The martingale lot used is 1.8
Thank you all and I really appreciate the good service you have to help
-
Here is some example: https://fxdreema.com/shared/pofyIS1Md
I use "add to volume" so each trade is like a child of the first one. The lot size is calculated as 180% from the previous, but note that in "pips away..." I'm waiting for negative move (which is upwards for sells) before making a new trade, so what happens here is that I'm adding more and more lots on loss. This is not exactly Martingale, it is even more dangerous, because the trades on loss are never closed. And I don't know when those trades should be closed, but in the Sell block I used TP of 50 pips. The same TP is used from the child trades, so they would close all at the same time.
I could use less blocks if I use one variable, but I think this way can be understood better. Also, if you change the Sell block with Buy block, it will work the same.
-
@fxdreema tq very very much sir ... u are very support your client ..
5 Star to u
thanks you so much -
@fxdreema I'm also playing a bit with the Martingale type EA's. In your example, you say that you use TP of 50 pips in the sell blok, so the TP is 50 pips from the open price of the last child-trade and all other trades in this trade-group get this same TP. Won't this be pretty unprofitable as most of the other trades will close out with a negative profit??
What I want to do is the same kind of structure, but different as follows. Let's say I open the first buy order with a TP of 120 pips, SL 3000 pips. When the market price moves the other way, I want to open a child trade each time it moves 280 pips (spread). For the last child-trade, I want the TP to increase with 140 pips and all other trades in this group adopt the same TP. SL remains at the initial 3000 pips from the opening trade. So:
Trade 1: TP 120 pips, SL -3000 pips
Trade 2: opens after -280 pips, TP 260 pips (adopted by all), SL remains -3000 from first trade
Trade 3: opens after -280 pips, TP 400 pips (adopted by all), SL remains -3000 from first trade
etc
etcAny idea on how you would go about this?
Kind regards,
-
Try with Buy and Sell blocks instead of "add to volume"
-
Hi fxDreema,
Could you please have a look at the code below and help me fix it:
https://fxdreema.com/shared/D1xvqKasbI was thinking in open Buy Pending Orders on grid as well as Sell Pending orders on grid but them to be managed separately.
Once the buy orders reach profit, close orders as well as pending buy orders and open new Buy Pending Orders. Same will happen for the short positions.Thanks mate!
Cheers
Rezenma
-
@fxdreema nice example. But then how to add the TP line?