Hi
Is it possible to add ongoing stored values and at same time divide by amount of times triggered
eg if ongoing LTP every 30 seconds are 2/1 3/1 5/1 6/1
Can the ongoing stored value be 4/1 (2+3+5+6)/(4)
I understand how to add or divide 2 stored values but not more than 2
In above example the number 4 could be the number of triggers/signals
but cant find if a trigger amount could be used as an arithmetical value in equations,
as 2 stored values can.
Hope this makes sense
Any ideas please
edit
using more than 2( stored values,triggers, relative odds,LTP,back price,lay price ...etc)
Becomes clunky and elongated it seems with my preferable present BA set up
Adding/Dividing ongoing stored values
Have a look at this file (average).
If I remember rightly it gives you an average back price over 1 minute continuously. It may need to run for 1 minute before the calculations kick.
The rule AVGTOT is where the average is worked out.
The average price will show in the log as AVGTTT
Hopfuly this will point you in the right direction.
It was made a while ago ,its probably better to post it than trying to explain it.If I remember rightly it gives you an average back price over 1 minute continuously. It may need to run for 1 minute before the calculations kick.
The rule AVGTOT is where the average is worked out.
The average price will show in the log as AVGTTT
Hopfuly this will point you in the right direction.
You do not have the required permissions to view the files attached to this post.