When to stop a strategy and money management code snippet

Forums ProRealTime English forum ProOrder support When to stop a strategy and money management code snippet

Viewing 7 posts - 16 through 22 (of 22 total)
  • #174637

    Wow, the drawdown code is good, but it hasn’t had the desired effect.

     

    Another question:

     

    If in the last 10 operations the winrate is higher than 80%, operate with the usual amount of € pip.

     

    If in the last 10 trades the winrate is less than 80%, trade with half the usual amount of € pip.

     

    I need code … thanks!

    #174768

    There you go:

    #174782

    You are Big!

    #174801

    Link to Roberto code above added as Log 297 here …

    Snippet Link Library

    1 user thanked author for this post.
    #174861

    What if we did the same but with an ATR?
    If strategyprofit is above ATR, operate with the usual € pip.
    If strategyprofit is below ATR, trade with half a € pip.

    #174864

    Sorry with traductors.

     

    🙁

    #174865

    It’s impossible to compare STRATEGYPROFIT to ATR, they are two different scales.
    STRATEGYPROFIT can range from -100K to +100K (or even more), while ATR is a price range (could be from 0 to a few hundreds).
    Even if applied to STRATEGYPROFIT, it can be compared to itself, as it normally cannot be compared to CLOSE.

Viewing 7 posts - 16 through 22 (of 22 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login