Show Horizontal Line for last high and low

Forums ProRealTime English forum ProBuilder support Show Horizontal Line for last high and low

Currently, there are 0 users and 1 guest visiting this topic.
View all attachments
Viewing 6 posts - 1 through 6 (of 6 total)
  • #177330 Report

    Hi

    would like to add horizontal lines for

    • last day High (yhigh)
    • last day low (ylow)
    • day before last high (yy high)
    • day before last low (yy low)

    anyone programmed this already ?

    any clues how to solve this ?

     

    thx

    t

    #177331 Report

    Hi

    here my first attempt, but I can’t see any line…

     

    // shows line for last 2 days high and low
    DEFPARAM DRAWONLASTBARONLY = true

    R = 0
    V = 255
    B = 255
    a = 0

    DRAWHLINE(DHigh(1))//Coloured(R,V,B,a)
    DRAWHLINE(DLow(1))//Coloured(R,V,B,a)
    DRAWHLINE(DHigh(2))//Coloured(R,V,B,a)
    DRAWHLINE(DLow(2))//Coloured(R,V,B,a)

    Return

    #177333 Report

    Several of my strategies are based on this logic and work quite well. In many different markets.

    1 user thanked author for this post.
    #177334 Report

    HI @phoentzs

    but how did you program this into the chart ?

    thx

    t

    #177335 Report

    Draw in yourself if you want to see it or … there is an indicator somewhere in the library that does that. I don’t know exactly which one, I’m on the phone. Just look for Dhigh.

    #177336 Report

    HI

    think I got it

     

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

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