Higher time frame candle direction Text

Forums ProRealTime English forum ProBuilder support Higher time frame candle direction Text

Viewing 5 posts - 1 through 5 (of 5 total)
  • #102890

    Good day,

    I would like to add text on the side of an hourly chart that can tell me if the 4 hour candle is bullish or bearish. I have seen the indicator that draws rectangles of higher time frame candles but I don’t know how to change it so that I can add text.

    On hourly chart the text should say if the 4 hour chart’s close is higher or lower than the open.

    thank you,

    Justin

    #102902

    The information on how to  DRAWTEXT is on the HELP dropdown (top toolbar) under language documentation. 

    A comprehensive example is provided on the link below

    https://www.prorealcode.com/documentation/drawtext/

    #102907

    I understand how to draw text but where I get confused is how to get 4-hourly data into the code so I can draw text on an hourly chart if you know what I mean?

    I just want the text on the hourly to tell me if the close is <or> than the close but I am not sure where to even start.

    for example: Dopen > dclose but I don’t know how to do it with 4 hour bars.

    How do I go about that?

    #102908

    I have seen the indicator that draws rectangles of higher time frame candles but I don’t know how to change it so that I can add text.

    Post the code here of the Indicator you want Drawtext adding into.

    Above will be easier and quicker for somebody to help you than to try and explain how to do it.

    #102909

    There you go:

     

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

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