Pages:
Actions
  • #1 by no44 on 21 Apr 2016
  • hi,

    is there a way to ask mfp for the number of winners in the last 10 bets (can be any number but 10 for ease of use)
    not just the number of winners since the last loser.

    many thanks

    erik
  • #2 by MarkV on 21 Apr 2016
  • Hi
    Perhaps try a counter, something like this:
    Constant: mktcount, value 0
    Constant: wincount, value 0

    TRIGGER market count
    set user variable, name: mktcount, value: mktcount+1, globally
    first matching selection
    once per market
    status: settled
    no conditions

    TRIGGER win count
    set user variable, name: wincount, value: wincount+1, globally
    first matching selection
    once per market
    status: settled
    Conditions:
    trigger <market count> number of runs is greater than 0
    and selections trigger expression last_won is greater than 0
  • #3 by no44 on 21 Apr 2016
  • hi, thanks for that, i suppose i can simplify this by setting my account depth to "X" entries, which would negate the need for "trigger market count"; this way it ought to only return the number of wins per "X" account entries, true?
  • #4 by MarkV on 21 Apr 2016
  • Hi
    The two triggers above are independent of account statement depth, other than the condition that checks the market has been settled in profit to increment the win counter. I included the market counter so you could derive wins per overall number of markets traded.

    You could add some reset triggers to this, e.g. reset to zero after 10 markets, or if you wanted to run the win counter on it's own, just remove this condition:
    trigger <market count> number of runs is greater than 0   
  • #5 by no44 on 26 Apr 2016
  • hi, thanks for helping me think this through.
    i'm only interested in the last 10 bets on a rolling basis, so the win count can only be as low as 0 or as high as 10, the idea is to adjust the stakes relative to the number of wins in a sequence of 10.
    that's why i tried to tie it to the account depth of only 10, but this doesn't seem to work.
    any suggestions are greatly appreciated.
    erik 
  • #6 by mcbee on 27 Apr 2016
  • hi
    you need to use a formula (IF(hist_1_pl>0,1,0)+IF(hist_2_pl>0,1,0) add formula up to 10 ) , in a variable to count the number of winning bets.
    if you need more help, use your free trigger request using this link
    https://community.welldonesoft.com/marketfeeder-make-me-a-trigger/

    mcbee
Pages:
Actions