Take profit and stop loss for XAUUSD
-
I just create EA but not running good for XAUUSD. When i set up take profit and stop loss for order, the execution going wrong way. Ex : i set TP : fix pips 50 when oders open, TP not at 50 pips. Please help me
-
@jong_ambonese Hello! You need to set the pip size in the project option based on the quotation by your broker

This is an example of setup https://fxdreema.com/forum/topic/10660/lot-size-calculation-issue-for-single-digit-after-decimal/6
-
@ambrogio thank you.
-
@ambrogio please see this one https://fxdreema.com/shared/0DWUfyv9c when I run this robot the order modify SL 25 and TP 15.

-
@jong_ambonese please, what's the issue?
-
@jong_ambonese Your logic is correct. Is this the whole project or just a part of it?
-
@l-andorrà this is a part of my project. I just confuse when I set TP 50 and SL 30 pips, the order going other way. as you can see in the picture above, the Tp is 15 and SL is 25. how can i solve this problem?
-
@jong_ambonese Obviously the reason must be in the rest of the EA that is not included in the link? Can you please share the whole project?