Add spread to pending order
-
Hello guys, I created a script that opens 2 pending orders: buy and sell at the extremes of candle 1, but I want to add the current spread to the value and I didn't understand how to do it.
Adds the value before the order or move the order after, both modes are fineThanks in advance for the help
-
@meshii You will need a variable to store that value and then add it like this:

-
Thank you, it works!
-
@meshii You're welcome.