Pages:
Actions
  • #1 by profitf on 21 Jul 2019
  • Hi.
    Found this error in Trigger log. Can't explain why is it like that. The error says - "Error in the trigger expression of price or amount for selection Over 1.5 Goals" Added the trigger so that someone could take a look at it. Worked fine on the test and now getting something like that. 
  • #2 by Oxa (WellDoneSoft) on 21 Jul 2019
  • Turn on "Log trigger expressions" in Logger Options temporarily, then run this trigger again, to see what the trigger expression has been evaluated to.

    Make sure that the back price of the selection you are backing on is not null (e.g. towards the end of the game).
  • #3 by profitf on 21 Jul 2019
  • Trigger should place a bet at the start of the second period so shouldn't be the case of a null. Will turn this on and see what it shows me.
  • #4 by profitf on 22 Jul 2019
  • This is what I got.
  • #5 by Oxa (WellDoneSoft) on 22 Jul 2019
  • You created two constants, bet_amount and bet_amount_game. The name of the second constant contains the name of the first, so they are parsed incorrectly. The "bet_amount" bit is replaced with 2, leaving you with "2_game".

    The ways trigger expressions parsed is not the same as in conventional language compilers, so avoid creating constants with identical names or with names that contain the full name of any other constant or trigger variable.
Pages:
Actions