Good morning,
please i am looking for the following actions to build:
 
we have to pick a selection on 1 or 2 only, not the draw,
in a soccer event, 
5 minutes before the start, 
on Match Odds
IF
MARKET's TOTAL VOLUME AMOUNT is equal/more (5000) eur,
verify which SELECTION's volume% matched 
respect to MARKET's TOTAL VOLUME AMOUNT 
is higher between selection 1, selection draw, selection 2
IF 
selection draw has the higher volume%
stop all
IF SELECTION 1 have the higher volume% THEN 
(obviously, it is to consider selection 1 and selection 2
viceversa below if the selection 2 has the higher volume%)
verify that SELECTION 1's VOLUME% matched 
is equal/more 77% AND equal/less 99% regards to 
MARKET's TOTAL VOLUME AMOUNT,
verify that SELECTION 2's VOLUME% matched 
is equal/less 23% regards to 
MARKET's TOTAL VOLUME AMOUNT,
IF
SELECTION back odd draw is equal/more 3.3
IF
SELECTION 2's back odd is equal/more 5 ticks regards to SELECTION draw 
(
ok : selection 2 is 4.1, selection draw is 3.3, difference is + 8 ticks 
no : selection 2 is 3.1, selection draw is 3.3, difference is -2 ticks 
)
IF
back odds' order is ASCENDENT
starting from SELECTION 1 
(
example for selections 1, draw, 2
ok: 1.65 (>) 3.3 (>) 4.1
ok: 4.1 (<) 3.3 (<) 1.65
no: 1.65 (>) 4.1 (<) 3.3 
so ODD SELECTION 1 > ODD SELECTION DRAW > ODD SELECTION 2
)
IF
SELECTION 1's back odd is equal/more than (1.51) AND equal/less than (2.51)
THEN
at met conditions,
place a BACK SELECTION 1 at the best odd at (xxx eur) amount
STOP LOSS (at in-play)
wait at least 60 seconds 
before to check the odds and goals
if the market is suspended
if in the first time 
the settled selection is higher than (80)% from initial placed
(we placed at odd 1.5, the odd reach 2.71) 
AND
the opposite team is winning with at least 2 goal of difference
close the trade
if in the second time
the settled selection is higher than (80)% from initial placed
AND
the opposite team is winning with at least 1 goal of difference
close the trade
i hope i have explained it clearly;
kindly i would like to remember you that this rule
will have to be build checking in both selection 1 and selection 2,
thank you.
In the meanwhile,
looking forward to your kind reply,
Best regards,
simone