Hi,
I am trying to define the lay price as ...r_ticks(lay_price, -1), but this doesn´t allow me to place bets when the lay price is 1.01.
So i tried to create a condition if(lay_price=1.01, 1.01, r_ticks(lay_price, -1)),
but or because i can´t use the "if" in the price or due to some mistake i gave, it gives origin to an error. Therefore the bets aren´t placed.
Anyone knows another way of doing this?
Thanks