Good afternoon MarkV,
I'm trying to make a trigger that can adapt in various scenarios, so i develop the following formula to reach to an amount that the trigger has to bet:
if(and(market_score1=0,market_score2=0);(football6_s_1_back_matched-football2_s_1_lay_matched);if(and(market_score1=0,market_score2=1);(football7_s_1_back_matched-football2_s_2_lay_matched);if(and(market_score1=0,market_score2=2);(football8_s_1_back_matched-football2_s_3_lay_matched);if(and(market_score1=0,market_score2=3);(football9_s_1_back_matched-football2_s_4_lay_matched);if(and(market_score1=0,market_score2=1);(football7_s_1_back_matched-football2_s_5_lay_matched);if(and(market_score1=1,market_score2=1);(football8_s_1_back_matched-football2_s_6_lay_matched);if(and(market_score1=1,market_score2=2);(football9_s_1_back_matched-football2_s_7_lay_matched);if(and(market_score1=1,market_score2=3);(football10_s_1_back_matched-football2_s_8_lay_matched);if(and(market_score1=2,market_score2=0);(football8_s_1_back_matched-football2_s_9_lay_matched);if(and(market_score1=2,market_score2=1);(football9_s_1_back_matched-football2_s_10_lay_matched);if(and(market_score1=2,market_score2=2);(football10_s_1_back_matched-football2_s_11_lay_matched);if(and(market_score1=2,market_score2=3);(football11_s_1_back_matched-football2_s_12_lay_matched);if(and(market_score1=3,market_score2=0);(football9_s_1_back_matched-football2_s_13_lay_matched);if(and(market_score1=3,market_score2=1);(football10_s_1_back_matched-football2_s_14_lay_matched);if(and(market_score1=3,market_score2=2);(football11_s_1_back_matched-football2_s_15_lay_matched);if(and(market_score1=3,market_score2=03);(football12_s_1_back_matched-football2_s_16_lay_matched);0))))))))))))))))
Is this formula willing to work with all this characters? Or it has/can be more lean?
Thanks in advance.
Best regards,
João Matos