Author Topic: Creating a dutching trigger  (Read 3878 times)

  • All members
  • Posts: 57
  • Karma: +0/-0
Creating a dutching trigger
« on: Mon, 22 June, 2015, 10:03 »
Hi, just starting to try and get my head around triggers.

How would I go about creating a trigger that would dutch the first three favourites ONLY if their back prices reflect a domiant market by those three. By this, I mean that they are clearly the top 3 picks and there is a sizable gap in the market to the back price of the fourth favourite.

I am reading the manual, but need a help along.

  • Moderator
  • Posts: 2791
  • Karma: +229/-0
*
Re: Creating a dutching trigger
« Reply #1 on: Mon, 22 June, 2015, 10:28 »
Hi
Some or all of these conditions should cover your requirement:
selections rank is equal or less than 3
and selections trigger expression match_b_book is greater than 60 (or your min back book % for the top 3 selections)
and third favourites back price is less than r_ticks(r_4_back_price, -x)

where x is the minimum number of ticks difference between 3rd and 4th fav back prices

You can modify or use one of these triggers:
http://marketfeederpro.com/learn/triggers/by-tag/tags/dutching/
  
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: 57
  • Karma: +0/-0
Re: Creating a dutching trigger
« Reply #2 on: Tue, 23 June, 2015, 11:25 »
Thanks MarkV, that worked first time!

So how would I be able to bet a percentage of my wallet?
And also how can I specify only to bet if profit is at a certain %?

  • All members
  • Posts: 23
  • Karma: +1/-0
Re: Creating a dutching trigger
« Reply #3 on: Tue, 23 June, 2015, 11:44 »
Percentage of your wallet is easy. Let's say 5%. You put amount to bet : balance * 0.05

  • Moderator
  • Posts: 2791
  • Karma: +229/-0
*
Re: Creating a dutching trigger
« Reply #4 on: Tue, 23 June, 2015, 12:20 »
Hi
The profitability of a dutch is determined by the book%

Example:
If your back book % of selections in the back dutch is 99.5%, your profit if one of them wins will be 0.5%
If your back book % of selections in the back dutch is 60%, your profit if one of them wins will be 40%

So to formulate the condition to specify a minimum profit % (say 25%):
and selections trigger expression match_b_book is equal or less than 75

this condition should come after your conditions to choose the selections.
  
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: 57
  • Karma: +0/-0
Re: Creating a dutching trigger
« Reply #5 on: Thu, 25 June, 2015, 07:09 »
Thanks MarkV, that makes sense.

If I don't use ticks but want to use prices, let's say I want the third favourite to be less than $7 and the fourth favourite to be greater than $15, would I word it like this?

AND third favourite's back price is equal or less than 7
AND at least one selection's back price is equal or greater than r_4_back_price, 15

Is that how to specify the fourth favourite's price? Note, I want it's price to be greater than 15 at the same time as the third favourites price is less than 7.

  • Moderator
  • Posts: 2791
  • Karma: +229/-0
*
Re: Creating a dutching trigger
« Reply #6 on: Thu, 25 June, 2015, 07:39 »
Hi
You're not far off.

and third favourites back price is equal or less than 7
and selections trigger expression r_4_back_price is equal or greater than 15

both conditions must be true for the trigger to fire.

incidentally you could do the same using:

and selections trigger expression r_3_back_price is equal or less than 7
and selections trigger expression r_4_back_price is equal or greater than 15
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: 57
  • Karma: +0/-0
Re: Creating a dutching trigger
« Reply #7 on: Thu, 25 June, 2015, 08:07 »
Percentage of your wallet is easy. Let's say 5%. You put amount to bet : balance * 0.05

Thanks VaultDweller, good info. I can see now that you can also specify which wallet to use i.e aus_balance (or funds) or test_balance etc.

  • All members
  • Posts: 57
  • Karma: +0/-0
Re: Creating a dutching trigger
« Reply #8 on: Thu, 02 July, 2015, 07:57 »
Hi
Some or all of these conditions should cover your requirement:
selections rank is equal or less than 3
and selections trigger expression match_b_book is greater than 60 (or your min back book % for the top 3 selections)
and third favourites back price is less than r_ticks(r_4_back_price, -x)

where x is the minimum number of ticks difference between 3rd and 4th fav back prices

You can modify or use one of these triggers:
http://marketfeederpro.com/learn/triggers/by-tag/tags/dutching/
 

i am testing this trigger (in test mode) and noticed today that it placed a bet on just the favourite, rather than dutching the first three favourites. The log said
"Checking condition and Selection's Rank is equal or less than 3.
15:53:05   Condition is: TRUE. valid for 1 selections: 6. Vitalism."

And as all the other conditions were true a bet was placed on just this favourite, whereas it should have placed a dutch bet on the first three favourites.

What has happened here?

  • All members
  • Posts: 602
  • Karma: +32/-5
  • Gender: Male
Re: Creating a dutching trigger
« Reply #9 on: Thu, 02 July, 2015, 08:54 »
Hi,

In the trigger file, the selections option should be "All Matching Selections". Perhaps you had it set to "First Matching Selection"??

  • All members
  • Posts: 57
  • Karma: +0/-0
Re: Creating a dutching trigger
« Reply #10 on: Thu, 02 July, 2015, 09:06 »
Thanks LarpHager, I have it set to "selection's rank is equal or less than 3". it does still dutch back the three favourites tho on this setting (at times anyway). I will try your suggestion.

Also had a problem on the race before this one whereby all conditions should have been matched but a bet was not placed. The favourite was definitely paying higher than $2 yet I received this log message.

Checking condition and Favourite's Back Price is greater than 2.
15:19:14   Condition is: FALSE.

What could have gone wrong? I have checked it's price and it was definitely greater than 2.

  • All members
  • Posts: 602
  • Karma: +32/-5
  • Gender: Male
Re: Creating a dutching trigger
« Reply #11 on: Thu, 02 July, 2015, 13:56 »
Hi,

All the conditions of the trigger may not have been fulfilled at that point.

Also, I would include this condition on the dutching trigger.

and "selections Trigger Expression matching_number is equal to 3"


I have briefly tested a sample trigger for you using Marks suggestions and a bit of my own, and it is attached. Copy it into your own trigger and take what you need from it but do test it.

Larp