How to Retrace?

  • This topic has 1 reply, 2 voices, and was last updated 1 year ago by avatarJS.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #195911

    can anyone help me out here….

    I want to add to my code that the entry should not be on the open of the next bar according to the following code but only after the opening and after the price has retraced x number of points.
    How would I do this for a long /and short)?

    >IF (c1 AND c2) AND not daysForbiddenEntry THEN
    BUY 1 CONTRACT AT MARKET
    ENDIF

    thankyou!

    #196073
    JS

    Hi @deltasystem

    You can use:

    HighRetracement = High – Close

    LowRetracement = Close – Low

     

    2 users thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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