Painting indicators below price

Forums ProRealTime English forum ProRealTime platform support Painting indicators below price

  • This topic has 5 replies, 3 voices, and was last updated 9 months ago by avatarJS.
Viewing 6 posts - 1 through 6 (of 6 total)
  • #227936

    Is there a way to plot indicators below price candles?

    For example, when a moving average line cross a candle, the candle is painted below the MA line and not above, as I would like. Other platforms have options to paint indicators below price. Is this possible with PRT?

    #227938

    I must be misunderstanding your question … see attached, when any MA crosses below price then price appears above the MA?

     

    #227940

    Sorry for being unclear… what I mean is that I would like the price candles to be painted above all indicators, so that they don’t get partially covered by indicators… the price candles should cover the indicators. This way the charts remains enough clear-looking, even if there are many indicators on it.

    A programmer would describe this by saying that price candles should have an higher z-index than indicators.

    1 user thanked author for this post.
    #227941
    JS

    Hi,

    Do you mean something like that…?

    1 user thanked author for this post.
    #227943

    Yes, exactly.

    #227944
    JS

    “A programmer would describe this by saying that price candles should have an higher z-index than indicators”

    That’s right, the “z-index” is called here: “alpha” value for transparency purpose (alpha value varies from 0 to 255)

    When you set the alpha values for the indicator lower than the alpha values of the candles, the indicator hides behind the candles…

    2 users thanked author for this post.
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