How to set take profit to include spread
-
Hello,
I want to set a take profit such that the spread is a part of the profit. For example If my take profit is 6 pips and the broker spread is 1pip, then my actual profit becomes 5pips.In its present state, if I use buy now and set a TP of 6pips, price will have to move 6pips + spread before trade closes. I want a situation where if price moves 6pips, the trade closes and the spread is deducted from the 6pips profit.
Thanks
-
@didymario7 Just crearte a variable to store the value os spread right now and then you can do this on the 'buy now' block:

Obviosuly you can use any other name you want for the variable.
-
@l-andorrà said in How to set take profit to include spread:
spread right now
Thanks for the reply, Please also send a screenshot of the content of "spread_value" variable in the variables page. I want to see exactly how a spread right now variable is created. A screenshot or a little shared project to demonstrate this will do.
Thanks
-
when you set a TP in FXDreema, doesn't it already include spread?
-
@jsauter86 I'm afraid not.
-
@didymario7 Sure. This is how to initialize the variable:

And this is the way to catch the spread value:

-
Thanks. It didn't produce the desired outcome but I found a way around it.
Once again thanks
-
@didymario7 You're welcome.