formula coding for fav p/l
Pages:
1
Actions
Choose an action
Print
#1 by
racepro on 16 Apr 2014
Hi,
I would like to know the code used to refer to the profit/loss amount showing for the fav.
example:
-3.60 Nadal 1.70
5.10 Murray 2.80
In the above example I would like to refer to -.360 being the loss of the fav.
Thanks
R
racepro
#2 by MarkV on 16 Apr 2014
Hi
The condition is:
favourites profit/loss is less than x
or in a trigger expression:
selections trigger expression r_1_profit_loss is less than x
MarkV
#3 by
racepro on 25 Apr 2014
Hi Mark,
Apologies for late reply. I just returned from holidays a few hours ago.
I'll check this out and reply
Many thanks
R
racepro
#4 by
racepro on 26 Apr 2014
Mark,
How can I use it as a 'bet amount' ?
eg: 2nd Fav shows +5.00
place that amount on Fav.
Thanks
R
racepro
#5 by MarkV on 26 Apr 2014
Quote from: racepro on 26 Apr 2014, 08:24
Mark,
How can I use it as a 'bet amount' ?
eg: 2nd Fav shows +5.00
place that amount on Fav.
Thanks
R
Hi
In the amount box put: r_2_profit_loss
MarkV
#6 by
racepro on 26 Apr 2014
Hi Mark,
Does this formula look okay?
My trigger places a bet whenever the 2nd fav shows a profit
and places total profit on Fav.
IF(r_2_profit_loss>0,r_2_profit_loss,0)
Thanks if you can correct
R
racepro
#7 by MarkV on 26 Apr 2014
Hi
Yes the formula looks OK. Another way to do it is:
amount: r_2_profit_loss
condition: and second favourites profit and loss is greater than 0
MarkV
#8 by
racepro on 26 Apr 2014
Thanks Mark,
Works well
R
racepro
#9 by
racepro on 28 Apr 2014
Hi Mark,
Just a quick question.
If I place a minus sign in front of the formula r_1_profit_loss does it turn it into a positive
EG: if the fav showed a loss of say -3.00 and I wanted to bet that amount (3.00)
would I use -r1_profit_loss as the bet amount ?
Thanks in advance
R
racepro
#10 by MarkV on 28 Apr 2014
Hi
If you pop the variable (or any variable or expression) into the View User Variables window, you can see the live value. Having just tried it, yes what you suggest works fine. See screenshot
MarkV
#11 by
racepro on 28 Apr 2014
Thanks Mark, quite a neat function !
R
racepro
Pages:
1
Actions
Choose an action
Print
Desktop View
Hello Guest
Home
Recent Posts
Register
Login
Mobile View