Simple ADX and Day High/Low breakout

Forums ProRealTime English forum ProOrder support Simple ADX and Day High/Low breakout

  • This topic has 3 replies, 4 voices, and was last updated 3 years ago by avatarLéo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • #133103

    Very simple strategy based on Kevin Davey book , I simply used his entry with ADX and a breakup/down of previous days value. See the code below :

     

     

    I’m sure there is a lot of ways to improve it. I’m currently to convert my stoploss into a trailing stoploss (as I have a limited account with IG, the trailing function isnt allowed). Also for accounts like mine, you will need to launch a LONG only and SHORT only version, as you can’t put two orders in opposite direction.

    #145347

    Line 12 is not allowed, since you are using two different forms to set a SL, you should use SET STOP pLOSS or SET STOP %TRAILING.

    But almost everybody use external code snippets to replace the built-in SET STOP TRAILING.

    You can simply add lines 17-56  (unchanged) from this link https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/, then change only the settings for TRAILINGSTART and TRAILINGSTEP.

     

     

     

    #145355

    i will check that. problem with breakout is having lot of losing trades

    What is the WF result about that ?

    I don’t have the book Entry and Exit Confessions of a Champion Trader but it’s a very interesting trader

    #145398

    Hello

    Cf the code including trailing stop as suggested by Roberto

     

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

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