Colour coding the bars

Forums ProRealTime English forum ProBuilder support Colour coding the bars

Viewing 13 posts - 1 through 13 (of 13 total)
  • #79838

    Hello,

    Complete noob when it comes to coding (am trying my best to learn!), so any help is greatly appreciated. Is it possible to colour code the bars that close outside the bollinger bands?

    Ex. (Note, my candlestick colour scheme is black/white)

    Candle(s) close outside the upper bollinger band, it gets painted blue.

    Candle(s) close outside the lower bollinger band, it gets painted red.

    Thank you.

    #79839

    There you go. I tested it on EurUsd daily and it worked:

     

    #79840

    Roberto, many many thanks for this!

    Question, if I was to replace bollingers and use the Keltner Channels found here (https://www.prorealcode.com/topic/keltner-channel-2/), would it work the samw?

    #79841

    It is, this is the modified code:

     

    #79842

    I added line 5.

    #79843

    Roberto,  thank you for providing this! This works great!

    #190370

    Good evening Roberto:

    is it possibile to get the same system but with the intraday stocastic indicator ???

    specifically smoohed stochastic 5.3.3     80/20

    overbought entry red colored bar    >80

    entry into oversold green colored bar     <20

    THANK YOU

    #190378

    I think that this indicator that color candlesticks based on the chosen oscillator might be of interest to you: 3D Candlesticks (CCI,RSI,Stochastic,Cycle,DI)

    #190679

    Thanks Nikolas but i’m not able to edit a script … i’ll ask roberto on the italian forum to specify better.. ..  Tank you

    #190703

    There you go:

    #190871

    Grazie Roberto  ..fine settimana lo provo

    per l’intanto grazie per la gentilezza

    TANKS ROBERTO !

    #190876

    Grazie Roberto ..fine settimana lo provo

    per l’intanto grazie per la gentilezza

    TANKS ROBERTO !

    Gia testato  ok perfetto  … solo un’ultima  richiesta se possibile :

    è possibile invertire  i colori ?  il verde in ipercomprato / rosso in ipervenduto ? Grazie
    ……………

    Already tested ok perfect … just one last request if possible: is it possible to invert the colors? green overbought / red oversold? Thanks

    #190879

    Swap lines 12 and 14.

Viewing 13 posts - 1 through 13 (of 13 total)

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