Obrigado pcal72
Já tinha visto esses triggers todos mas voltei a vê-los novamente e há um que tinha uma variação ao que eu queria, apenas na fórmula utilizava umas constantes a mais para distribuir o lucro de forma não igual. Consegui fazer o que queria
Já agora, (desculpem um pouco a minha ignorância) como defino a parte a negrito desta fórmula no MF?
Formula for equal Profit_loss on all selections when there are matched bets some selections in the market: (i.e. you did only enter bets on selections with low odds)
First find a selection with no matched bets. This selection has a profit_loss named profit_loss_no_betsFor every selection with positive (profit_loss-profit_loss_no_bets):
enter a lay bet at lay_price with stake: (profit_loss-profit_loss_no_bets)/lay_price
For every selection with negative (profit_loss-profit_loss_no_bets):
enter a back bet at back_price with stake:
-(profit_loss-profit_loss_no_bets)/back_price