@l-andorrà said in pendin order:
Then you can create a variable to store the distance between both prices and then use its value to move both TP and SL levels.
OK thanks
@l-andorrà said in pendin order:
Then you can create a variable to store the distance between both prices and then use its value to move both TP and SL levels.
OK thanks
@l-andorrà said in pendin order:
Is the distance separating the TP and the SL exactly the same separating both buy and sell open price?
exactly yes
@l-andorrà said in pendin order:
Yes, technically you can do that but I don't understand the logic behind it. Why are both SL supposed to be moved in a parallel range of price all the time?

as in the photo they move in parallel but always at a certain distance of tp
@l-andorrà the trailing stop is set on the sell. my question is ':
is there a way that the take profit or stop loss of the bay follows the traling stop of the sell obviously at a certain distance?
@l-andorrà said in pendin order:
I don't fully undersand what you mean. Can you please provide mode detailed info?

@l-andorrà Hi
it is possible to make the traling stop on the contrary that the take profit or the stop loss move on the contrary
@l-andorrà
https://fxdreema.com/shared/uzrR2QjP
I cannot close the pending order when the buy goes into stop loss
@l-andorrà only 1
it is automatically inserted when opening an order for example buy opens a pending order 10 pips away. that if the trade buy goes into stop loss I must cancel the pending order
@l-andorrà Hi
sorry can you help me?
I have several open orders between buy and sell if I would like to close all orders when an operation reaches the stop loss can it be done?
@l-andorrà
yes the strategy works, with this last block all orders start,
I'll try to put one per bar for each block
@l-andorrà
as in the picture I sent you opens too many orders. it really shouldn't open any
@giusepatane
sorry if I was not clear. but that's not what I wanted.
I wanted a block that if the 0 candle is close by 10 pips to the support or resistance line it should not open any collision
@l-andorrà https://fxdreema.com/shared/CgjeeyLBc
this is what happens if i put it in the block once per bar
@l-andorrà https://fxdreema.com/shared/1V4vEubRd
this is what happens if i put it in the buy now block
@l-andorrà
i tried but it doesn't work. I'm sure something is wrong
https://fxdreema.com/shared/VSqOL5auc