Not sure if this is a bug or I'm missing something
-
I just created a quick project searching for any open trade on the chart that, when hitting SL in loss, opens a new trade in the opposite side:
https://fxdreema.com/shared/SHbnpfdFc
Everything works fine except for a detail I cannot understand. Blocks 1 and 2 on the 'on trade' tab are explicitly filtering those open trades that hit the SL only (either manally opened or not). However, if I close the trade manually before hitting the SL, a new trade is open as if it had.
Am I missing something or is the 'trade closed' block working incorrectly?
-
@l-andorrà
Hello,
I think SL for manual trade has a different mean, when you open a position is manually then SL too!
it seems to when we have SL in EA that can see SL, but can't see SL in the manual position, then each close before TP means it is SL.
you can check by "check how it was closed" block
I'm not sure about that! -
@l-andorrà in mt4 fxdreema to verify that a trade is closed by stop loss, check that in the trade comment there is the entry [SL] or by price. Can you verify that this entry is not in the comment of a hand closed trade?

-
Hello,
I think the problem is on the trade closed parameter "closed how" . -
@miki I confirm there is no [SL] entry in the comment column when closed manually before SL is hit. Any other suggestion?
-
@legitimate That parameter is used to distinguis partial/full close. It is not relevant for this case.
-
@xfire Honestly I never considered that. It's weird, though.
-
@l-andorrà I don't know what else to tell you, I tried to test "trade closed" block by creating my own ea (my subscription does not allow me to download yours) and it works correctly. If I close the trade by hand before the stop loss no other trade is opened
-
this never worked for me, not even on mt4 or 5. I honestly gave up using it this way.
-
@fabiobioware whats the issue ?
-
@kestra If I put any rule I set to go to the next block if the trade is closed by stop loss or take profit, it doesn't work.
It only works if you leave the option "no matter how" -
@fabiobioware IT SHOULD , WHAT IS THE SET OF RULES YOU WANT TO INCLUDE ?
-
Guys, I can confirm: if the feature "Closed How: Fully closed" in block "Trade closed" on "On Trade" tab, with settings according to the screenshot below, acts wierd in case I use 50% partial profit close for each trade (pink blocks). The "Trade closed" block treats "Partial profit close" as Fully closed order, for some reason, while the same order with the second half of the volume still runs open.

This is why I forced to use additional condition "Trades Count <1" in the same chain with "Trade closed" block, so the bot waits for both conditions to be met to pass.

-
@geofx Then this is clearly a bug. The admin should know it.
-
@miki Interesting. I will try that too.
-
Dear @Fxdreema, hear our prayers