Pages:
Actions
  • #1 by londolozi on 28 Dec 2017
  • I have this trigger (see attached) but when it resets the restarted value of the user variable 'ctt' affects other market triggers.
    Yet I have 'individually for each market' as a condition??
  • #2 by Oxa (WellDoneSoft) on 30 Dec 2017
  • Hello!

    The scope is "individually for each market", not "individually for each trigger", so of course it can affect other triggers that potentially rely on this variable to do their job in the same market.
  • #3 by londolozi on 31 Dec 2017
  • So If I use ctt_market_id
    Will the trigger only use the ctt (counter) for it's market?
  • #4 by londolozi on 31 Dec 2017
  • Hello! The scope is "individually for each market", not "individually for each trigger", so of course it can affect other triggers that potentially rely on this variable to do their job in the same market.

    There is only ever one ctt per market. While ctt may start again and have another value it is only ever for another market.
    My question remains?
  • #5 by Oxa (WellDoneSoft) on 01 Jan 2018
  • Sorry, I do not quite understand your question.

    Please formulate the problem and what is needed of the trigger.
  • #6 by londolozi on 02 Jan 2018
  • I require a trigger to count from 0 to a divisor (in my case 20) <ctt> is the variable
    A variable <rtt> is the time from bm_backmtime until event_start / 20

    Every increment of ctt, I change the offered lay_price to r_ticks(backp,-ctt) Starting at -20 and stepping toward 0 (reverse for this part)

    When now_time > bm_backmtime + (rtt*ctt) I cancel the lay and offer a new lay.
    ctt increments again.

    The old lay is cancelled and a new lay is offered.

    By the time I reach event start I should be at the initial backp r_ticks(backp,0)

    I want a counter for each individual market. It will only act once, after I have matched a particular horse with a specified amount.

     
       
Pages:
Actions