Pages:
Actions
  • #1 by paulbt38 on 02 Dec 2019
  • I am working on a trigger that can lay on either the 2nd or 3rd favourites if they meet certain criteria.  Occasionally both do and the trigger lays both. However, I want to use an incremental recovery that increases by a certain amount if the last settled market was an overall loss.  This had been working fine until the weekend when a loss occurred having layed two horses in the market.  UP to now I have been using hist_1_laya but I obviously discovered that this would use the total layed in previous market and not the amount for each bet.  

    Is there any way to calculate the total number of matched lay bets in the previous settled market, as that way I can just set up a simple formula and divide the hist_1_laya by 2 if there happened to be two lays in previous market.

    Thanks for your help.

    Paul
  • #2 by Tim (WellDoneSoft) on 04 Dec 2019
  • I think the easiest way is to set a "user variable" with bet placement trigger (add a second action) with the amount placed (or whatever you need for calculations).
    So it'll always be holding the last bet amount placed.
Pages:
Actions