Adding/Dividing ongoing stored values

A place to discuss anything.
Post Reply
StellaBot
Posts: 842
Joined: Thu Jan 26, 2017 11:52 am

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
StellaBot
Posts: 842
Joined: Thu Jan 26, 2017 11:52 am

*NUDGE*

Nobody got a scooby ?
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

Have a look at this file (average).
(A) AVERAGE.baf
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.
StellaBot
Posts: 842
Joined: Thu Jan 26, 2017 11:52 am

Thanks Dabbla

will try, then give feedback
StellaBot
Posts: 842
Joined: Thu Jan 26, 2017 11:52 am

Perfect Dabbla

Realise now why so many on here were slow to come forward!!!!! :D
BetBuddy
Posts: 153
Joined: Tue Jul 09, 2019 3:23 pm

StellaBot wrote:
Sat Aug 31, 2019 7:06 pm
Perfect Dabbla

Realise now why so many on here were slow to come forward!!!!! :D
Why ?
Post Reply

Return to “General discussion”