partial close
-
need help pls
will attach ea
simple bot
i want ea to close 0.01 lots when 2 pip profit is reached
it does not work

-
-
@kop Try this way

-
@ambrogio i see close partially is not exactly what i want , because it opens another trade after the partial close
is there not another way
here is what i want to do
buy 1lot stoploss 100 takeprofit 100
when in 5 pip profit close 0.1lots ( without opening any new trade )
when in 10 pip profit close 0.1lots ( without opening any new trade )
when in 15 pip profit close 0.1lots ( without opening any new trade )
when in 20 pip profit close 0.1lots ( without opening any new trade )
when in 25 pip profit close 0.1lots ( without opening any new trade )
when in 30 pip profit close 0.1lots ( without opening any new trade )
when in 35 pip profit close 0.1lots ( without opening any new trade )
when in 40 pip profit close 0.1lots ( without opening any new trade )
when in 45 pip profit close 0.1lots ( without opening any new trade )
when in 50 pip profit close 0.1lots ( without opening any new trade )and so on
pls help
-
AFAIK, this is not how the block works. Can someone else correct me if I am wrong?
-
i know i need a different method
-
@kop said in partial close:
@ambrogio i see close partially is not exactly what i want , because it opens another trade after the partial close
If you buy one (1) lot and close only 0.1 lots in profit, where do you put the rest?
1-0.1= 0.9 lot , 0.1 lot was closed and 0.9 reopened at the same level
It's not right? -
i dont want a new trade to open
sell off 1 trade in intervals
-
@kop It means only one order at a time? In this case specify a "no trade" block for buys, and one "no trade" for sell (by selecting the option insede the blocks) as is:

-
-
no - not working
the one trade reached 20 pips in 7mins , but never partial closed on 5 , 10 or 15 pip in profit
-
@kop Your problem is the # 78 block, remove the link (not only tun off) and the rest works well, I tried in the backtest, all three levels of partial closure are working properly
But I have no idea how to fix the block 78, maybe someone more experienced in this type of function .... I have never used
-
ambrogio, can you confirm that no new orders are open each time a level is reached? I mean is there the same single trade open but with a lesser size?
-
@l-andorrà Yes, sure. In the graph you see that the initial lot becomes smaller (e.g. 0.1-0.02 closed = 0.08 remains at the opening price) and the capital is increased by the GAIN had
-
But is the open price the same for all three levels?
-
@l-andorrà Initial purchase lot = 0.1 at price 1.1200 lot to close = 0.02 every 10 pips gain
First close at the price of 1.1210 I close 0.02 lots and the initial lot becomes 0.08 (0.1-0.02= 0.08 at the same entry level 1.1200)
Second closure at the price of 1.1220 I close 0.02 lots and the initial lot becomes 0.06 (0.08-0.02= 0.06 at the same entry level 1.1200
Third closure at the price of 1.1230 I close 0.02 lots and the initial lot becomes 0.04 (0.06-0.02= 0.04 at the same entry level 1.1200)
and so on... -
@l-andorrà watched your 1st 4 videos on your yt course
-
@ambrogio Ok. Thanks.