Pending order at stop-loss
-
I am wanting to create an instance where a pending order is set at stop loss. Any assistance on how I can achieve this? being that my stop loss is a custom price fraction would i need to draw an object on the chart or is there a better way to accomplish this?

-
here is what I have attempted, but unsuccessful. I am assuming this is because "open at price" is looking for price and not a price fraction? any assistance on how i could convert this value?

-
@drewliedadeuce Tee off from the same block creating the buy with the pending sell, and set the open price the same way you have set the SL.
-
yes, my thoughts exactly. That is how i have it configured however it does not place the pending order. I thought it may have been because of the group numbers but even then it does not work.

-
@drewliedadeuce place a shared link here, then how everything is can be looked at.
-
here is link
https://fxdreema.com/shared/hC3vN58nd -
@drewliedadeuce I removed the once per bar, your pending sell adjust variable was causing problems, it works when set like this.

-
@jstap Ok I think I may have found the problem, I should have clarified. I want to create a pending stop order at stop loss but i think these blocks only create limit orders. am i correct?
-
@drewliedadeuce No they create a stop if price going through the order, they place a limit if price needs to return.