Indicator value on chart

Forums ProRealTime English forum ProBuilder support Indicator value on chart

Viewing 6 posts - 16 through 21 (of 21 total)
  • #168963

    You can access CLOSED candles. When you see a new price on the chart it’s because it’s CLOSE, which may change until the candle is closed, but you cannot access the previous value retained on the same forming candle.

    Each candle is a single unit, be it 1 Day, 1 hour or 1 second. You cannot access its multiple values whenever you see it changing on the chart.

    The solution is to use MTF (Multi Time Frame) support that allows to use several TF’s.

    You could use, say 1h TF as your setup TF, then use a lower TF to access the 1h candle while it’s being built:

     

    1 user thanked author for this post.
    #168993

    Hi Zigo,

    What if the next value on your chart is -137 (i.e. CCI increased 1 up but is still <0). How do I colour the number in green to indicate that it increased up?

    #168995

    Tnx Zigo,

    But what if the next value on your chart is -137 (i.e. CCI increased 1 up but is still <0). How do I colour the number in green to indicate that it increased up?

    #169020

    Change line 4 and line 8

    4 if mycci < mycci[1] then 8 elsif mycci> mycci[1] then

    #169023

    “Aanpassing”

     

    #169025

    @Zigo

    Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read.

    Thank you 🙂

     

Viewing 6 posts - 16 through 21 (of 21 total)

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