Author Topic: Please, help with my trigger  (Read 3967 times)

Tags:
  • All members
  • Posts: 60
Please, help with my trigger
« on: 29 Aug 2012, 21:33 »
Hello to all.

First of all sorry for my bad english.
Im new on mkf and i would need to build a new trigger (i think is easy, but no for me yet)

I need to build a trigger in soccer markets that work as follow.

The idea is to bet at back price as soon as back (back best price) is changing

but  i need to bet at specific predefined range of back price.

For example if want back at range "1,8 to 2.1", but only one time for each back price-->no duplicate bets.


Example in match odds game.

Back price is 2,3 -->then no bet because is out of my predefinde range (1.8 to 2.1)

Few minutes later back price changes to 2-->then bet because is my range (1.8 to 2.1)

Few minutes later back price changes again to 1.9 -->then bet because is in my range (1.8 to 2.1) and not placed bets before at 1.9

Few minutes later back prices changes to 1,85-->then bet because is in my range (1.8 to 2.1) and not placed bets before at 1.85

Few seconds later back price come again to 1.9-->NO BET because i bet before at 1.9 and i dont want duplicate it

Few seconds later back price moves to 1.8-->then bet because is in my range (1.8 to 2.1) and not placed bets before at 1.80

Few seconds later back price is 1.7 -->then no bet because is out of my predefined range (1.8 to 2.1)

I dont want bet at specific favourite, only when back price reach my predefined range

I hope you could help me!!

Thanks to all

Regards

  • All members
  • Posts: 60
Re: Please, help with my trigger
« Reply #1 on: 16 Sep 2012, 19:08 »
Nobody can help me?


  • Moderator
  • Posts: 3604
*
Re: Please, help with my trigger
« Reply #2 on: 16 Sep 2012, 22:06 »
Hi
There are 26 tick increments (prices) inclusive in your specified range. You could simply have one trigger for each. I’ve done the top and bottom three, and you can fill in the rest of them.

It will back once at the specified price and will also set a set a flag to indicate that this price has been actioned. All flags are reset when the trigger file is (re)loaded.
 
I’m sure there is a more efficient way but I can’t think of it just now. The trigger file is untested. Please use test mode.
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: 60
Re: Please, help with my trigger
« Reply #3 on: 16 Sep 2012, 22:32 »
Thank Mark!!!!!

I will test it

Regards

  • All members
  • Posts: 60
Re: Please, help with my trigger
« Reply #4 on: 17 Sep 2012, 00:26 »
Ok. I have tested it, the trigger looks ok, but makes the pc to work very very slow, and if i increase the number of matches, it dont work properly.

Any way to optimize it to work fast?

The problem using this trigger is that the makets not refresh fast

Regards

  • Moderator
  • Posts: 3604
*
Re: Please, help with my trigger
« Reply #5 on: 17 Sep 2012, 19:02 »
Hi
I’ve been trying another way using remember, but am not getting anywhere. See screenshot. The problem is you are using price as if it were a selection. i.e. we need to remember which price has had a bet placed on it, so as to stop duplicate bets at the same price (same as in the longhand version above). I’m a bit stuck on this. Perhaps someone else might be able to help?
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: 60
Re: Please, help with my trigger
« Reply #6 on: 17 Sep 2012, 19:59 »
Ok. thanks MarkV

Could someone help us?


  • All members
  • Posts: 60
Re: Please, help with my trigger
« Reply #7 on: 18 Sep 2012, 21:46 »
The question is....
Is there any kind of variable that remember the backed prices in a selection and if actual back price was matched before in that selection dont duplicate it?

 

Please note, BetFair is seems to be currently OFFLINE