Hi
In the program The Favourite is defined as the selection with the lowest back price.
In the trigger Selections field, Favourite refers to the above
In a Condition you can use Favourite's which means the same as above
In a Condition you can also use Rank:
Selection's Rank is equal to 1
these all refer to the selection with the lowest back price at the time the trigger executes, and works well in high liquidity markets.
If you are trading in markets where there is a large gap between back and lay prices, the program still refers to the Favourite as the selection with the lowest back price. However, this is quite likely to be a false, or ambiguous "fav", so you need to help the trigger along a bit with some other conditions. For example:
Selection: Favourite
Conditions:
Selection's Lay Price is less than 2.00
and All Other Selections lay price is greater than 2.00
however, if as is shown in your first post, the trigger is backing and laying for 1 tick, you really do not want to be trading in markets where there is a big gap between back and lay prices:
Market's back book% is less than 105
and Selection's Triggers expression g_ticks(back_price, lay_price) is less than 3
the above allows max 2 ticks between back and lay prices