Set pending at body
-
Is it possible to set a pending buy or sell and a stop loss at candle body (open or close), rather than high or low (wick)?
[link text] https://fxdreema.com/shared/aOJJdeADb -
@jstap Yes, of course, you can select open or close prices as references for your pending orders, not only highs ans lows.
-
@l-andorrà thanks for reply, do you mind showing/explaining as I don't seem to be able to find the option?
-
@l-andorrà I see the option when looking at candle, but not when looking at market properties so I can select highest or lowest open or close over multiple candles I don't.
thank you
-
@jstap Here you have it:

In this example, the pending order will be set at candle Id 1's close price.
-
@l-andorrà I can't see it when looking at market properties, for a buy I would like to set pending at the highest candle close for the previous 5 candles.
-
@jstap Then you need to store that value into a variable with a 'Modify Variable' block. Once done you can use that variable in the 'buy pending order' block as a 'custom price' (as in my screenshot) but for a value.
-
@l-andorrà Ok, thank you
-
@jstap You're welcome.