Show Horizontal Line for last high and low

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • #177330

    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

    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

    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

    HI @phoentzs

    but how did you program this into the chart ?

    thx

    t

    #177335

    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

    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