MACD histogram candle colours for high and low

Forums ProRealTime English forum ProBuilder support MACD histogram candle colours for high and low

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

    Hi all,

    I have created a MACD Histogram and i’m trying to get the bars change colour to show a change from one bar to the other, example –

    if historgam bar is coloured RED, this indicates a decrease value when compared to the previous bar and if histogram bar is greater than the previous bar this is coloured Green. this works up to the zero line and on both uptrend and downtrend.

    I’ve supplied an attachment showing what i would like to programme

    #14045

    I’ve been looking at the manual provided by Pro RealTime but the “COLOURED” syntax only works if the variable has not been allocated, what if the variable has already been declared?

    when i set up the indicator i can change the colour to either one or the other and when they cross the zero line it is either GREEN (0,255,0) or RED (255,0,0) what if i want to get bars next to each other to have different colours?

    I can’t see how to program this in and don’t see any indicators showing this either on this forum?

    any help would be gratefully received.

     

     

    NickleB

     

    #14083

    The indicator is available in MT4 and called aodivergence. i don’t know if this can be changed to Pro Realtime, anyway i ouldn’t knw how any way. I can share this if you need to look at the coding.

     

     

    #14602

    hi all,

    I’ve still not had any joy with this, has anyone had a chance to look at this and giveme some pointers, please remember i’m not a coder and have limited knowledge.

     

    thanks in advance

    #14609

     

    #14873

    Hi Supertiti,

    thank you for the super indicator!!

    I’ll try and figure out what you did, the atttachment shows exactly what i wanted!!

    yours humblely

    NickleB

     

    humble

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