Last Traded Book
Pages:
1
Actions
Choose an action
Print
#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?
Elf
#2 by MarkV on 11 Feb 2022
Hi
Have a look
here
. Could be of help.
MarkV
#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%?
Elf
#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
MarkV
#5 by Elf on 11 Feb 2022
Many thanks, I'll give that a go.
Elf
Pages:
1
Actions
Choose an action
Print
Desktop View
Hello Guest
Home
Recent Posts
Register
Login
Mobile View