Author Topic: Collective greenup trigger question  (Read 1087 times)

Tags:
  • All members
  • Posts: 14
  • Gender: Male
Collective greenup trigger question
« on: 22 Apr 2017, 06:59 »
I'm working with the example trigger, and made a change for it to reset and start again, once the greenup happens
I have profit target set on 1%

Problem i found, is with the second greenup profit margin. That fires too early

So for example, i have 3 successful greenups, but for the same profit of just the first one

How can i make it "forget" the last profit?

Maybe a user set variable (named repetition), on the greenup trigger, like "repetition + 1"?
And add "max_liab*repetition"?

I'm learning in the meantime so i rather not have a trigger handed to me, but just a few pointers



  • Moderator
  • Posts: 3597
*
Re: Collective greenup trigger question
« Reply #1 on: 22 Apr 2017, 12:03 »
Hi
great you are learning, it's more fun too :)

you need to do the repetition in a "trigger block" with a "close block" trigger

this article describes it

some things to look for in the greening up trigger:
against last matched bet should be ticked and should do the trick, but,
the condition that sums the matching selections tradeout_net may need the last repetition's profit added to it (write the trade p/l to a user variable after green/red)

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