Author Topic: Help write a trigger!!  (Read 6004 times)

Tags:
  • All members
  • Posts: 29
  • Karma: +0/-0
Help write a trigger!!
« on: Wed, 16 September, 2009, 21:20 »
Hi,
i never write a trigger only used the examples.

-Open all market with total goal.
-I want lay 6+Goal if the odd go down<20
-Green up 20% of original ammount layed, or stop loss at 50%

Any expert can help me?

  • Élite
  • Posts: 103
  • Karma: +3/-0
  • Gender: Male
*
Re: Help write a trigger!!
« Reply #1 on: Thu, 17 September, 2009, 14:30 »
I’ll have a go but I’ll need a bit more info.

-Open all market with total goal.
Don’t think this can be done

-I want lay 6+Goal if the odd go down<20
No problem, but what if there under 20 pre kick off?

-Green up 20% of original ammount layed, or stop loss at 50%
So if £100 layed at 20. Back to win £20 if odds move up?
Or green all of it if odds move 20% up and take loss if 50% down?

  • All members
  • Posts: 29
  • Karma: +0/-0
Re: Help write a trigger!!
« Reply #2 on: Thu, 17 September, 2009, 15:44 »
I’ll have a go but I’ll need a bit more info.

-Open all market with total goal.
Don’t think this can be done

-I want lay 6+Goal if the odd go down<20
No problem, but what if there under 20 pre kick off?

-Green up 20% of original ammount layed, or stop loss at 50%
So if £100 layed at 20. Back to win £20 if odds move up?
Or green all of it if odds move 20% up and take loss if 50% down?

First thank x reply, and sorry for my english.

My idea is:
-lay if ODD 6+Goal move down example after a goal, if <20, start lay 10 euro.
-Green up if 20% of intial 10 euro
-Stop loss if odd move down, for one max loss 50% of 10 euro layed.

  • Élite
  • Posts: 103
  • Karma: +3/-0
  • Gender: Male
*
Re: Help write a trigger!!
« Reply #3 on: Thu, 17 September, 2009, 16:56 »
Ok try this attached trigger. It's not finished but does the basics, need to tweak the formula for greening up. I haven't used it inplay yet so test mode only for now.

Let me know what you think

  • All members
  • Posts: 29
  • Karma: +0/-0
Re: Help write a trigger!!
« Reply #4 on: Thu, 17 September, 2009, 17:00 »
Ur very gentle ,after test post my impression...

  • All members
  • Posts: 29
  • Karma: +0/-0
Re: Help write a trigger!!
« Reply #5 on: Thu, 17 September, 2009, 21:14 »
Hi,
I tried to make the trigger, but I think is not good at the beginning, the plan is that after a goal, the share is even lower than the 20, so I think that the trigger should start during the game and not before, also because the share will always be high.
I know you've done so much and I thank you anyway, even if you want to continue or stop.

  • Élite
  • Posts: 103
  • Karma: +3/-0
  • Gender: Male
*
Re: Help write a trigger!!
« Reply #6 on: Sat, 19 September, 2009, 09:36 »
Made a few changes but not tested inplay.
Will now check every 60 seconds that 6+ goals is over 20. Then check every 20 seconds If current lay price is under 20 and the remembered price is over 20.

  • All members
  • Posts: 29
  • Karma: +0/-0
Re: Help write a trigger!!
« Reply #7 on: Sat, 19 September, 2009, 16:54 »
Hi,

before my congratulation..ur very a god person.
I try now ur trigger with Deportivo-Espaniol...but ODD is 6 at 45° after 3 goal..and any lay was placed :'(