Hi
IF(market_sp=1,actual_sp,r_ticks(back_price,1)) is less than cell_querymarket_id_P(sel_index*3+2)
IF(market_sp=1,actual_sp,r_ticks(back_price,1)) is less than 5.5
I have highlighted where there is a fault in both formulas
both formulas are saying:
If market supports SP, use actual_sp
the market most likely will support SP, so it will use actual_sp
r_ticks(back_price,1) will not be used
actual_sp is always zero until inplay
therefore zero will always be less than cell_querymarket_id_P(sel_index*3+2)
and zero will always be less than 5.5
until after the off
I’m a bit unclear on what you are wanting to do, but I would suggest you change the above 2 formulas to:
IF(market_inplay=1,actual_sp,r_ticks(back_price,1)) is less than cell_querymarket_id_P(sel_index*3+2)
IF(market_inplay=1,actual_sp,r_ticks(back_price,1)) is less than 5.5
please use test mode or small stakes until you are happy with it.