Check profit (unrealized) block not working correctly ?
-
Hi, guys
I am using Check profit (unrealized) block (pips total sum) but sometimes not working correctly. My unrealized tp 30 pips, but closed 3 pips.

-
@walter-0 I think this has to do with the broker's decimals. For example, even with the same broker, in the EUR/USD 30 pips means something, while on indexes, 30 pips means something else. Search the forum for solutions on this, there are some custom condition blocks made by people to divide the input amount depending on decimals. Or there is a setting in the builder, accessible through that wrench top right, where you specify decimals. But for a more flexible solution, search for the blocks.
As an example in the "On init" tab, I work with this. It's somewhat tested, but I don't use many pairs, so check for other solutions as well.

Or like this, but for me it didn't work... maybe because I used value numeric, not pips. I don't remember. Many times I'm tired...
-
@walter-0 Apparently you need to adjust the pip size rules for that symbol. You can do it by clicking on the wrench icon on top right of the builder.
-
@l-andorrà Pair is EURUSD. is it necessary ?
-
@walter-0 How is the symbol exactle defined by the broker? Something like EURUSDx or something like that? Then probably yes.
-
@l-andorrà Just EURUSD.
-
@walter-0 please, can you share your project?
-
@ambrogio I can't.Sorry.
-
@walter-0 said in Check profit (unrealized) block not working correctly ?:
@ambrogio I can't.Sorry.
OK it does not matter.
It is always better to share even a small part of the project in order to test the error. In this case I'll try to guess.
Are you sure that these 0.03 are the pips? Which column is it?
The tester does not return the pips but the amount in currency.
-
@ambrogio https://fxdreema.com/shared/l97fYP4Bd
profit column -
@walter-0 said in Check profit (unrealized) block not working correctly ?:
@ambrogio https://fxdreema.com/shared/l97fYP4Bd
profit columnI can't exactly replicate your problem, but I think the crux is in how unrealized pips are calculated. I suggest you to try pips as position, or better profit in money

-
@walter-0 Btter use % PERCENTAGE WILL WORK ALL CUREENCY ALSO BTC AND XAXUUSD pIPS MOSTLY WORKS ON EUROUSED IN OTHER CURRENCY YOU WILL GET LOSS
-
@nitin2468 ok thanks