Hide currently active candle

Forums ProRealTime English forum ProBuilder support Hide currently active candle

Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • #92745

    Is there a way to hide the currently active candle? I only want to see completed candle formations so for instance on a 30 minute chart I don’t care for where price is at or what the currently forming candle looks like. The most current price is too distracting so I only want to act on the completed structure and not randomly flapping distraction at the end of the chart.

    Thanks.

    #92746

     

    Hello Grantx

    Yes, here is a code that answers your request

    #92749

    Setting Alpha to 0, the 4th (optional) colour parameter called fade or transparency, will make objects invisible.

    You can use it also for background colours.

    #92750

    You also need to add

    to make previous candles visible.

    #223661

    Hi Roberto

    This code for making current candle completely invisible does not seem to work. I have a dark background. Would you be able to post a full code that can achieve this. Only current candle invisible, rest of the candles show

     

    thanks

    PJ

    #223667

    This was intended for the current candle only.

    To apply it to the whole chart, simply remove the line DEFPARAM DrawOnLastBarOnly=true.

    #223673

    removing the line DEFPARAM DrawOnLastBarOnly=true. fades the entire chart – border colour still. But I want the current candle to be invisible and to show all closed candles.

    When i hide price, everything is gone. When i dont, nothing happens. Could you please try in your end. Just the current bar needs to go rest can remain

    #223679
    JS

    Try this one…

    #223682

    thanks. it does work however, the background is not totally black so it does not hide the current candle but makes it black which is totally visible.

    #223683
    JS

    I know the problem; it works perfectly with a white background but with a black background it is more difficult. The background and the candle must be exactly the same color, you can adjust this a little bit in the “setup”…

    #223688

    Yes, its very difficult to achieve same background colour and candle colour. Not sure if there is any solution.

    Even if its shows a faint candle, its does not achieve the purpose.

    #223740

    This code:

    will make your chart as #3 (in my pic).

     

     

     

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

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