Pages:
Actions
  • #1 by Gary on 01 May 2022
  • 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!
     
  • #2 by Gary on 01 May 2022
  • 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
  • #3 by Gary on 01 May 2022
  • I changed the variables name to 's1_loss' instead and it currently evaluates as 0

    that was a strange one
Pages:
Actions