I HAVE A CHALLENGE WITH THE PARTIAL CLOSE I BUILT, THOUGH IT CLOSES ON MY CONDITIONS BUT BEFORE IT WOULD CLOSE IT, IT WILL FIRST CLOSE 0.01 LOT ON EVERY SET OF PARTIAL CLOSURE. PLEASE WHAT IS WRONG ?.
PARTIAL CLOSE
-
I HAVE A CHALLENGE WITH THE PARTIAL CLOSE I BUILT, THOUGH IT CLOSES ON MY CONDITIONS BUT BEFORE IT WOULD CLOSE IT, IT WILL FIRST CLOSE 0.01 LOT ON EVERY SET OF PARTIAL CLOSURE. PLEASE WHAT IS WRONG ?.
-
@kestra Can you please share the link to your project?
-
@l-andorrà
this is the ea https://fxdreema.com/shared/x5k3CnJic -
@kestra All those pink blocks should be connectes to a 'For each trade' block in a higuer position. Additionally, all those condition blocks on top of each tree are indicating the initial value of lot size to be considered, byt not the final one. This means all those trees will be workingat the same time all the time, not just one.
-
@l-andorrà I DONT UNDERSTAND SIR, BUT LET ME SITE AN EXAMPLE OF HOW I WANT IT TO WORK
LET SAY THE INITIAL LOT IS 0.64, AS SOON AS 3 PIPS IS MOVED 50% WILL BE CLOSED ALSO , THAT MEANS THE CURRENT LOT IS NOW 0.32 ALSO IF 5 PIPS IS MOVED 50% WOULD BE CLOSED FROM THE CURRENT LOT, AND SO ON AS LONG AS THE LOT SIZE MEETS THE PIPS MOVED. -
@l-andorrà SO YOU MEAN AFTER THE CONDITION, I SHOULD PUT FOR EACH TRADE, THEN THE REST UNDER THE TREE
-
@l-andorrà YES AS SOON AS THE CONDITION IS MET THAT IS THE CURRENT LOT SIZE, AT THE MOVED PIPS , THE PARTIAL CLOSURE SHOULD BE DONE.
-
@l-andorrà BUT I STILL DONT UNDERSTAND WHY 0.01 LOT HAVE TO CLOSE FIRST AND THATS NOT IN MY CRITERION
-
@l-andorrà HAVE DONE IT.
BUT NOW ITS NO MORE PICKING TRADES, NOT PICKING ANY TRADE AGAIN , JUST RUNNING THROUGH THE CHAT, I DON'T KNOW WHY.
https://fxdreema.com/shared/IDEaUyRfd -
@l-andorrà PLEASE!.
-
@kestra Now remove all those 'once per bar' blocks and substitute them for this one:
- 8 days later
-
@l-andorrà PLS I DONT KNOW WHY MY BOT IS NOT PICKING TRADES, NOT PICKING ANY TRADE , JUST RUNNING THROUGH THE CHAT, I DON'T KNOW WHY. https://fxdreema.com/shared/5FTSngyob
-
@kestra I see you didn't folow my suggestion.
-
@l-andorrà ok. i will do that right away
-
@l-andorrà I DON'T UNDERSTAND WHY THE EA IS ACTING THIS WAY; IT WOULD PICK TRADE AND INSTANTLY CLOSE IT BACK RESULTING IN LOSS THIS HAPPENS WHEN I CHANGE SOME OF THE INPUTS TO ZERO COS I DONT NEED THEM.
-
@l-andorrà HELLO SIR
-
@l-andorrà HELLO SIR!.
-
@kestra It doesnt work because all those 'For each trade' blocks are searching for the same open trades every single tick. Limiting each tree to 'once per trade' as I suggested will stop that to happen once every condition is met. This way the next tree will be executed.
-
@l-andorrà OKAY, YOU MEAN I SHOULD REMOVE ALL THE ''FOR EACH TRADE'' AND USE ONLY ''ONCE PER TRADE'' ?.
-
@kestra No. I say you should remove all those 'once per bar' blocks and substitute them for this one: 'once per trade/order'.