how to code MFE exit

Forums ProRealTime English forum ProOrder support how to code MFE exit

Viewing 4 posts - 16 through 19 (of 19 total)
  • #157626

    like this the correct/best way to do it?

     

     

    #157647

    To add…. Im not sure it is anything to do with the entry/exit as the error happens on the 3rd bar. so no where near when it should be reversing.

    ive attached the screenshots of when it quit – 0920

    also current MFE value is 1

    current positionperf is -0.00119

     

    any ideas appreciated as this change is a +25% increase to algo. again no issues in backtest, just on Live, IG, DAX 1MIN DFB

     

    #157696

    Try add check that barindex – tradeindex > 0

    Back test not reliable on this matter as it cannot detect division by zero so I’m not surprise if it cannot detect summation with negative value too

    1 user thanked author for this post.
    #157699

    Thanks DJ, i’ll try that.

Viewing 4 posts - 16 through 19 (of 19 total)

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