Home
Help
Login
Register
Our partners:
BetFair Software Community
/
MarketFeeder Pro - all-in-one betting bot for BetFair
/
Triggered betting
(Moderator:
MarkV
)
/
formula coding for fav p/l
ID:
5209
, Pages:
1
Go Down
Author
Topic: formula coding for fav p/l (Read 5261 times)
Tags:
racepro
All members
Posts: 829
formula coding for fav p/l
«
on:
16 Apr 2014, 11:09 »
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
Logged
My grandma taught me not to run downstairs and never back odds on.
MarkV
Moderator
Posts: 3631
Re: formula coding for fav p/l
«
Reply #1 on:
16 Apr 2014, 11:20 »
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
Logged
Please read the following
disclaimer
with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.
racepro
All members
Posts: 829
Re: formula coding for fav p/l
«
Reply #2 on:
25 Apr 2014, 18:50 »
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
Logged
My grandma taught me not to run downstairs and never back odds on.
racepro
All members
Posts: 829
Re: formula coding for fav p/l
«
Reply #3 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
Logged
My grandma taught me not to run downstairs and never back odds on.
MarkV
Moderator
Posts: 3631
Re: formula coding for fav p/l
«
Reply #4 on:
26 Apr 2014, 11:18 »
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
Logged
Please read the following
disclaimer
with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.
racepro
All members
Posts: 829
Re: formula coding for fav p/l
«
Reply #5 on:
26 Apr 2014, 17:56 »
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
Logged
My grandma taught me not to run downstairs and never back odds on.
MarkV
Moderator
Posts: 3631
Re: formula coding for fav p/l
«
Reply #6 on:
26 Apr 2014, 18:30 »
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
Logged
Please read the following
disclaimer
with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.
racepro
All members
Posts: 829
Re: formula coding for fav p/l
«
Reply #7 on:
26 Apr 2014, 20:33 »
Thanks Mark,
Works well
R
Logged
My grandma taught me not to run downstairs and never back odds on.
racepro
All members
Posts: 829
Re: formula coding for fav p/l
«
Reply #8 on:
28 Apr 2014, 17:09 »
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
Logged
My grandma taught me not to run downstairs and never back odds on.
MarkV
Moderator
Posts: 3631
Re: formula coding for fav p/l
«
Reply #9 on:
28 Apr 2014, 18:44 »
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
Logged
Please read the following
disclaimer
with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.
racepro
All members
Posts: 829
Re: formula coding for fav p/l
«
Reply #10 on:
28 Apr 2014, 19:51 »
Thanks Mark, quite a neat function !
R
Logged
My grandma taught me not to run downstairs and never back odds on.
Pages:
1
Go Up
BetFair Software Community
/
MarketFeeder Pro - all-in-one betting bot for BetFair
/
Triggered betting
(Moderator:
MarkV
)
/
formula coding for fav p/l
Please note, BetFair is seems to be currently
OFFLINE