Author Topic: Stop at a winner.  (Read 3437 times)

Tags:
  • All members
  • Posts: 41
  • Karma: +0/-0
Stop at a winner.
« on: Wed, 31 August, 2011, 21:58 »
Its has been quite a while since i played with xfeeder so moving over to Market Feeder after a long break is taking me some time.

I am trying to work on a trigger for the dogs, thanks to Mcbee who posted the trigger file to get me started.

I have added loss recoup with the following in amount to win.

(default_backa + last_lost)/(1-commission)

I now want to add a stop at a win function, in x feeder there was a stop chan function, having looked through manual i cant see anything similar for MF.

The file Mcbee posted and I have added the line to is attached.

Ultimately I want to get it working on multiple tracks at the same time but Walking before running is where I am trying to be :)

Regards

Console

  • All members
  • Posts: 958
  • Karma: +46/-2
Re: Stop at a winner.
« Reply #1 on: Wed, 31 August, 2011, 22:15 »
No stop channel,  but there is a deactivate trigger/block action, which would stop any more betting.

  • √Člite
  • Posts: 4458
  • Karma: +252/-10
  • Gender: Male
*
Re: Stop at a winner.
« Reply #2 on: Thu, 01 September, 2011, 05:40 »
hi
the easiest way is to add a condition to your betting trigger.
and trigger expression gh_total_won is equal or less than 0
what this will do is place bets if you have NOT made any profit, BUT will stop even if your profit is .01
or instead of 0, you could put your amount of profit that you want.


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.

  • √Člite
  • Posts: 4458
  • Karma: +252/-10
  • Gender: Male
*
Re: Stop at a winner.
« Reply #3 on: Thu, 01 September, 2011, 09:28 »
hi
here is the trigger to dutch in 2 different meetings.
the draw back is that you have to put the name of the meeting in the first 2 triggers, because the market name changes in every meeting with the time and distance.
so you will have to type, Sund in trigger 1 and Sheff in trigger 2
it will record the winner of the first race then the second race, then place the bets.

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.

  • All members
  • Posts: 41
  • Karma: +0/-0
Re: Stop at a winner.
« Reply #4 on: Fri, 02 September, 2011, 12:21 »
Thanks,

Ill keep building from there.

what a great resource this place is, I see its the same helpful people with most posts, hopefully I can pull my finger out and return some help to the forum once I'm up to speed.

Console