Pages:
Actions
  • #1 by soylolo on 22 Apr 2017
  • 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


  • #2 by MarkV on 22 Apr 2017
  • 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)

Pages:
Actions