hi
if you do not want to bet above 1.71, then you should use the condition
and selections lay price is equal or less than 1.71
it is not a good idea to use the IF statement with 0 amount for a price.
if you want to use the IF , then use IF(back_price<1.71,back_price,1.71)
mcbee