Pages:
Actions
  • #1 by Ace on 24 Nov 2014
  • Hello Welldone

    How do you address functions within the selection variable “bu_bpricedat_{price}”?

    For example, I would like to address the unmatched layamount at r_ticks(backprice,-1).
    These commands do not work:

    bu_lpricedat_{r_ticks(backprice,-1)}
    bu_lpricedat_r_ticks(backprice,-1)
    bu_lpricedat_”r_ticks(backprice,-1)”

    Is it even possible? It sure works addressing values with odds, like:

    bu_lpricedat_6.8

    Best regards
  • #2 by Oxa (WellDoneSoft) on 24 Nov 2014
  • Hello,

    Unfortunately this variable has its limits. You can't attach a function to its end. The only option for you is to use a user variable, i.e. bu_lpricedat_UV, where UV is the name of the user variable, but user variables cannot be set individually for each selection. That is, if you are only interested in, let's say, the favourite, you can add a trigger that will set the user variable BPMINUS1 to r_ticks(backprice,-1) for the favourite, and repeat this action "no more often than once in 0.3 sec". The in the other trigger you can get the values of these:

    bu_lpricedat_BPMINUS1
    bu_lpricedat_BPMINUS1
    bu_lpricedat_BPMINUS1
  • #3 by Ace on 27 Nov 2014
  • Works! Thanks!
  • #4 by rhodesv on 04 Dec 2014
  • Trying this out too. Hopefully it works on my end.
Pages:
Actions