Pages:
Actions
  • #1 by Elf on 11 Feb 2022
  • I'm trying to write a trigger that doesn't fire until the last Traded market price book % exceeds 100%. In excel I would divide 1 by the last traded price to produce a percentage then sum the last price percentage. Is there any way of doing this?
  • #2 by MarkV on 11 Feb 2022
  • Hi
    Have a look here. Could be of help.
  • #3 by Elf on 11 Feb 2022
  • I see that calculates the percentage. Would I have to add a condition to that so it does not fire till perc is over 100%?
  • #4 by MarkV on 11 Feb 2022
  • Hi
    Yes, the trigger continuously calculates last traded book % every second in the user variable: ltpbook
    so the condition for the betting trigger is:
    and selections trigger expression ltpbook is greater than 100
  • #5 by Elf on 11 Feb 2022
  • Many thanks, I'll give that a go.
Pages:
Actions