Williams Accumulation Distribution on Price

Forums ProRealTime English forum ProBuilder support Williams Accumulation Distribution on Price

Viewing 4 posts - 1 through 4 (of 4 total)
  • #227133

    Hello, is there any way to overlay Williams Accumulation Distribution Indicator on actual price instead of below it? ProRealTime does not seem to allow it to overlay it on Price instead of plotting it below. Is there a code to do it? Thank you.

    #227150

    Default indicator of the platform can’t be applied on price when they are not intended to be used this way. Particulary for Williams Accumulation Distribution, which doesnt share the same scale (volume) vs price ..

    A workaround is to create a normalized indicator:

    This code snippet normalizes the Williams Accumulation Distribution Indicator values to the scale of the highest to lowest prices on the visible part of the chart, making it possible to overlay it directly on the price chart. The visiblebars (all barindex loaded) variable  is used to dynamically adjust to the visible part of the chart, ensuring that the normalization is relevant to the current view.

    Keep in mind that the effectiveness of this normalization approach can vary depending on the volatility and the range of the Williams Accumulation Distribution values compared to the price range. This method is meant to visually assist in analysis rather than serve as a direct trading signal.

     

    #227208

    Thank you, but I have another question. Is there any way to plot this Normalized WAD  right over the price instead of running it parallel and at a distance? I would love to actually overlay straight on Price rather then run it parallel. Please see picture below to see how it appears now and Normalized WAD is a blue line.

    #227225

    Change the line:

    visiblebars = max(1,barindex)

    with

    visiblebars = 100

    100 is the period of normalization, change it as desired to get the curve to a close distance of price rather than using the whole asset history.

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

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