Author Topic: help with my trigger  (Read 3005 times)

Tags:
  • All members
  • Posts: 314
help with my trigger
« on: 15 Sep 2015, 19:48 »
Hi,
I have set a trigger up, and its based on using a liability % stake, so, if I use say a 5% liability of a £250 bank, this is £12.50 risk or liability, and the stake is £12.50 / (lay_price - 1) - or
(bank_size * perc_bet) / (lay_price - 1)

Now, there is no way to have a virtual bank size, so I have had to use a variable in my constants, which today I set at £250. By the end of the day, I had made £16.79, so my new size is £266.79

I would like some help on having MFP calculate the stake based on the current HIGHEST bank, and if there is a loss, I want it still to stake calculated on the highest bank. I also want MFP to remember across sessions, the highest bank achieved, and somehow update that value somewhere?

I don't really want to ask for a trigger as I won't learn by doing that, I would rather get some help/advice

Can anybody help?

Thanks

Mark.

  • Moderator
  • Posts: 3654
*
Re: help with my trigger
« Reply #1 on: 15 Sep 2015, 20:09 »
Hi
Please search forum for "maxbank", I'm sure you will find something you can adapt for your requirement.  ;)
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.

  • All members
  • Posts: 314
Re: help with my trigger
« Reply #2 on: 15 Sep 2015, 20:30 »
Hi
Please search forum for "maxbank", I'm sure you will find something you can adapt for your requirement.  ;)

I did a search for that, and it came back with your post here....

  • Élite
  • Posts: 3694
  • Gender: Male
*
Re: help with my trigger
« Reply #3 on: 15 Sep 2015, 21:34 »
hi
have a new trigger to record the maximum bank using a variable.


mcbee
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.

  • Moderator
  • Posts: 3654
*
Re: help with my trigger
« Reply #4 on: 16 Sep 2015, 07:29 »
Hi
Need to run the search from forum home page to see all results.
http://community.welldonesoft.com/archive/something-so-simple-has-a-snag-for-loss-recoupment-on-next-bet/
http://community.welldonesoft.com/general-discussion-12/help-with-recoupment/
as mcbee says he probably has an updated version of this.
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.

  • Guest
Re: help with my trigger
« Reply #5 on: 16 Sep 2015, 12:33 »
Hi,

I use a current_bet variable. The variable increases when the bank increases, but does not decrease when I have a loss, unless I want it to under certain circumstances.

Firstly, the current_bet is initialised as a fraction of the actual balance eg 1/80th, either once time only or once per session. When a race settles and I have a win, my variable trigger acts on that settled market (and before the betting trigger in the next market) and increases the current_bet figure according to instructions.

I imagine tying the curent_bet to an overall highest balance achieved balance would not be insurmountable by any means.

Larp

 

Please note, BetFair is seems to be currently OFFLINE