Author Topic: trigger expression based on user variables  (Read 545 times)

Tags:
  • All members
  • Posts: 62
trigger expression based on user variables
« on: 01 May 2022, 12:43 »
Hi

I've been copying the article https://marketfeeder.co.uk/learn/articles/running-two-trigger-systems-simultaneously/ to effective split the last_loss & last_won for different strategies

on part of one of the trigger, I set the value of a global user variable 's1_last_loss' to 0. viewing the user variable it shows as 0 as expected

I have another trigger to place a bet, and one of the conditions is 'selection trigger expression s1_last_loss is equal to 0'

however looking at the logs then this is always shown as false

am I trying to use it wrong?

thanks!
 

  • All members
  • Posts: 62
Re: trigger expression based on user variables
« Reply #1 on: 01 May 2022, 13:22 »
just turned on trigger expression logging

it shows the expression evaluated the value to be s1_0_00 rather than the 0 that it showed, I'm not sure where it gets that from

  • All members
  • Posts: 62
Re: trigger expression based on user variables
« Reply #2 on: 01 May 2022, 13:44 »
I changed the variables name to 's1_loss' instead and it currently evaluates as 0

that was a strange one

 

Please note, BetFair is seems to be currently OFFLINE