Author Topic: Over Martingale  (Read 5932 times)

Tags:
  • All members
  • Posts: 34
Over Martingale
« on: 20 Jan 2016, 01:33 »
hi,


I have download the trigger on this post:
http://community.welldonesoft.com/marketfeeder-triggered-betting/martin_overs/90/


I did some changes, but now on the test game in time machine the trigger not enter in 4.5 market. can help to resolve this problem?
I have tested several versions but never works right.
I attach the bot and the logs of this game.
best regards

  • Moderator
  • Posts: 3597
*
Re: Over Martingale
« Reply #1 on: 20 Jan 2016, 08:55 »
Hi
Without checking your logs I would say the Lay 4.5 did not execute because some conditions were not met or there was no lay price on offer. The user requested many extra conditions for that trigger, e.g. lay book %, time since last goal, minimum spread between best back and lay prices etc. and if any one of these were not met, there would be no bet.

That trigger was a modification of the original example trigger on the website. Since then we have had the new cross-market variables and market betting codes added to the program which makes things much easier. Here is the new trigger for OU Martingale to OU8.5.
http://marketfeederpro.com/learn/triggers/over-under-martingale/
You should be able to modify this one easier to your max number of goals, or simply add only the markets up to your max OU. Or, you can request a modification at the trigger development service here:
http://community.welldonesoft.com/marketfeeder-make-me-a-trigger/
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: 34
Re: Over Martingale
« Reply #2 on: 20 Jan 2016, 19:56 »
what is the correct formula if i want to recovery previous market?
Is this correct formula? 
(init_bet - football7_market_settled_pl)/(1-commission)




  • Moderator
  • Posts: 3597
*
Re: Over Martingale
« Reply #3 on: 20 Jan 2016, 23:00 »
Hi
Are you meaning recovering the total amount lost from the previous soccer game?

new trigger: set user variable, name: init_bet
value: last_lost+init_bet
market status: idle
execute: once per market
condition:
markets betting code is Over/Under (Soccer) 0.5

this should update init_bet before OU 0.5 goes in-play with total losses, if any, from previous soccer game, ready for first trigger Total Score is 0
but I think at this point your lay liability will be huge!
the above is untested, please use test mode when testing.
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: 34
Re: Over Martingale
« Reply #4 on: 21 Jan 2016, 01:01 »
I put some screenshots about my new configuration.
The accounts are not correct when it passes previous lost on market 1.5 to market 2.5

  • Moderator
  • Posts: 3597
*
Re: Over Martingale
« Reply #5 on: 21 Jan 2016, 15:57 »
Hi
Your screenshot shows the previous OU market as inplay and not settled when the next lay is triggered:
so in the formula (init_bet - football7_market_settled_pl)/(1-commission)
football7_market_settled_pl =0 because it is not settled.

you need another condition in the next laying trigger to check the last market is settled and in loss:
and selections trigger expression football7_market_settled_pl is less than 0
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: 34
Re: Over Martingale
« Reply #6 on: 22 Jan 2016, 14:58 »
hi,


Tks for your help, i put new screenshots to confirm if everything is ok!!




  • Moderator
  • Posts: 3597
*
Re: Over Martingale
« Reply #7 on: 22 Jan 2016, 17:25 »
Hi
The amount formula should be (init_bet - football7_market_settled_pl)/(1-commission)
I was trying to explain that the value for football_7_market_settled_pl is zero because the previous market has not been settled. The new condition should fix that.

Also markets name contains should be in quotation marks:
and markets name contains "2.5"
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: 34
Re: Over Martingale
« Reply #8 on: 27 Jan 2016, 20:39 »
hi again,


Still not work properly. I put in quotation marks what you had written.
I attach new screenshots!




  • Moderator
  • Posts: 3597
*
Re: Over Martingale
« Reply #9 on: 27 Jan 2016, 22:55 »
Hi
you also need this condition in the laying trigger:
and selections trigger expression football7_market_settled_pl is less than 0
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: 34
Re: Over Martingale
« Reply #10 on: 28 Jan 2016, 12:18 »
hi,

After this change, the bot now is not enter on market 2.5.
Sscreenshot in attach!


  • Moderator
  • Posts: 3597
*
Re: Over Martingale
« Reply #11 on: 28 Jan 2016, 15:50 »
Hi
This is wrong:
and selections trigger expression football7_market_settled_pl is less than "0"
It should be:
and selections trigger expression football7_market_settled_pl is less than 0
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: 34
Re: Over Martingale
« Reply #12 on: 28 Jan 2016, 16:05 »
That was my desperate attempt and had put the quotes, i tried without the quotes and with quotes.

  • Moderator
  • Posts: 3597
*
Re: Over Martingale
« Reply #13 on: 28 Jan 2016, 16:39 »
Hi
Please can you try and test the original trigger from the link in Reply#1. This will check if there is a problem with the settings, or the trigger.
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: 3597
*
Re: Over Martingale
« Reply #14 on: 28 Jan 2016, 19:22 »
Hi
OK I have tested your trigger using test mode and I can see the problem.

Because you are laying 1 goal ahead (2 markets in front of current score) this is what is happening

after 1 goal:

OU 0.5 > no bet > market is settled by betfair
OU 1.5 > LAY & DISTRIBUTE LOSS > market is not yet settled by betfair > market still inplay
OU 2.5 > you want to lay now, but you need OU 1.5 loss for amount formula > OU 1.5 is still inplay and not settled by betfair until after 2nd goal

You can try with an "assumed" P/L before the market is settled, for example using market_max_pl:
(init_bet - football7_market_max_pl)/(1-commission) for the amount
and condition:
and selections trigger expression football7_market_max_pl is less than 0

Or
In your strategy maybe wait for 2 goals before you start to recover the first lay?
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.

 

Please note, BetFair is seems to be currently OFFLINE