Create partial close ea MT4
-
I would like to create a simple partial close ea with breakeven function.
Any example in Fxdreema?
Anyone would like say something how to get start using Fxdreema to create such ea?
http://fxdreema.com/shared/ZqCeJ11Vd
any comment?
close 80% at tp1
breakeven at tp1
close 80% at tp2
close all at tp3 -
In this project, blocks with names starting with "(in loop)" needs "Start trades loop" to be used, otherwise they will not work correctly.
This is example of using those blocks: http://fxdreema.com/demo/mt4-9975
On the left side - "Trailing stop" block, on the right side - the same trailing stop functionality with "(in loop)" blocks.The idea is, "Start trades loop" creates a loop, it self executes itself as many times as many trades there are, and every time it loads the parameters of a trade, and those parameters are used from "(in loop)" blocks. Any "in loop" block can work any trade (buy, sell, any market...) and most of "in loop" blocks are universal for trades and pending orders, but what makes difference is the loop starter block.
-
http://fxdreema.com/shared/9nIwjyc2e
(in loop)" blocks has a problem.....
For example....when the pip away from open price hit the desired value, it will execute the partial close (in loop close part of vol).
But, bear in mind, the price is going up and down (fluctuating) and the desired value will be hit many times. Hence, the partial close will be executed many time.
How to avoid this problem? I only want (close part of vol) executed once when the price hits the desired value.
-
(in loop) Once per trade/order
-
http://fxdreema.com/shared/vtFVungAc
is the arrangement ok?
-
Once per trade can pass once per trade. Because of that, Pips Away (8 and 9) can be checked only once for every new trade. I think you want to connect it not before, but after Pips Away

Break Even block works for all the trades, it has it's own internal loop. Maybe you want to use "(in loop) Modify SL and TP" to set SL to 0 pips from the open price
-
how long we can use the ex4 file generated via free subscription?
-
Forever. There are no internal restrictions.