Why this is happening, Is this my mistake or any technical issue ?
-
Hello, Experts
Hope you all are doing well..
I am facing this issue many times, that my trade get closed instantly after opening within miliseconds, how to fix this please help.

-
@forexbob-0 We need to see the whole project. Could you please share the link to it?
-
@l-andorrà said in Why this is happening, Is this my mistake or any technical issue ?:
@forexbob-0 We need to see the whole project. Could you please share the link to it?
https://fxdreema.com/shared/GBoGWUpM -
@forexbob-0 said in Why this is happening, Is this my mistake or any technical issue ?:
@l-andorrà said in Why this is happening, Is this my mistake or any technical issue ?:
@forexbob-0 We need to see the whole project. Could you please share the link to it?this is because you have set the same condition for both opening and closing orders
-
@ambrogio @l-andorrà Thank you both of you, that problem is solved i have made the mistake.
That was wrong condition for closing but in this project it is happening partially, few trades open/close correct but few get closed in same way as the previous problem
https://fxdreema.com/shared/kIf3SAZDb

-
@forexbob-0 said in Why this is happening, Is this my mistake or any technical issue ?:
@ambrogio @l-andorrà Thank you both of you, that problem is solved i have made the mistake.
That was wrong condition for closing but in this project it is happening partially, few trades open/close correct but few get closed in same way as the previous problem
https://fxdreema.com/shared/kIf3SAZDb

seems there are multiple trades on the same candle, put "once per bar" block just above "buy" and "sell"
Anyway i suggest you to make a visual backtest to see better
-
@ambrogio Thank you buddy, problem solved. the block you suggested do worked. Thank you once again.
-
@forexbob-0 you're welcome!