New order for certain pips away
-
Hello @l-andorrà,
How to create an EA with below condition :
1 Open Buy
2 But the price is down continueslyHow to create expert advisor that will open new order BUY if the pips is -5, and will open new order if the price still down to -5, and so on.
is this my expert correct? link https://fxdreema.com/shared/3yPTnEQIb
Thank you very much!

-
@zedeai2 You should change this:

-
@l-andorrà Hello, Thank you..
I just tried it. But why is there so many new open trade in one time? How to filter number the new open trade, I mean that I want it's only 1 new open trade for each new pips away range?

-
@zedeai2 in pips away block use trading model in direction mode
-
@miki Hello, Thank you.. I'l try it

-
@zedeai2 Hello @l-andorrà and @miki Thank you it's working

Now is it possible to do trailing into that block? Is this block correct? (as seen on below picture)
Link https://fxdreema.com/shared/3yPTnEQIb
-
@zedeai2 The trailing stop block is correct (although some of those values are a bit extreme, IMHO. What you need to do is removing that 'If trade' block and substitute it for a 'Pass' block.
-
@l-andorrà Hello, nice to get your reply

Anyway, those values are seems extreme because I don't know how to setup those values yet
(it's still my experiment in setting those values). Because actually I don't know the philosophy to setup those each values : Trailing Stop, Step, Start, Opposite. Any clues regarding to setup ratio % of those values?So should I substitute the block "if trade" for "pass block" (before the trailing block?)
What's different both "if trade" and "pass:?
Thank you very much @l-andorrà

-
This post is deleted! -
@zedeai2 Yes, you need to substitute that 'If trade' block for a 'Pass' one because the trailing stop block already includes the 'if trade' code in it, so there is no need to use it. You need a 'Pass' block because single blocks are not operational in fxDreema, they nrrd to be grouped at least in pairs.
On your question about how to use those trailing parameters, I recommend you this:
-
@l-andorrà Hello, Thank you very much for explanation. I will try it and will come back for any feedback:)
Thank you
-
@zedeai2 You're welcome.