Can we use the existing indicator to our personal program

Forums ProRealTime English forum ProBuilder support Can we use the existing indicator to our personal program

Viewing 7 posts - 1 through 7 (of 7 total)
  • #218913

    Hello all,

    I am a new comer, and I would like to use VWAP  band for my personal indicator, but find that there is some difference in data when calculating the standard deviation of the VWAP, my formula is as follow:

    VWAP= SUMMATION[60](volume*typicalprice)/SUMMATION[60](volume)

    The calcuated VWAP is the same as the default VWAP band (60Min)

    However, when I calculate the standard deviation and the VWAP band, it is difference from the default VWAP band, please help me to figure out this problem with thanks.

    SD=std[60](typicalprice[60]-vwap[60])

    Or can we use the default VWAP band to my indicator, thanks in advance.

    #218914
    JS

    Hi and welcome,

     

    You use the formula of the standard deviation incorrectly, to calculate the standard deviation of the VWAP you must use the formula like this:

     

    SD=std[60](VWAP)

    #218923

    Hi JS,

     

    Thanks for your prompt reply.

    However, after adjustment, the result is still different from the default VWAP band result, can you give me further advise?

    #218928
    JS

    Unfortunately, there are many different calculations in circulation, the ones where the bands are calculated with the standard deviation can be found here:

    https://www.prorealcode.com/prorealtime-indicators/vwap-bands/

    I think the standard VWAP is not calculated with the standard deviation, even though it says, but with this formula:

    sd = SUMMATION[60](max(abs(high-vwap),abs(vwap-low)))/60

    #218945

    Hi JS,

    Thanks for your prompt response and help. Unfortunately, both result of your formula and the other circulated formula are not the same as the standard VWAP Band result.

    I think the main reason of the difference is the formula of the std from the ProBuilder, and someone also said that there is a multiplier that need to multiple, it is difficult for us to follow.  On the hand, are there any method that we can extract the calculation from the default VWAP band to our program, thanks in advance.

     

    #218954
    JS

    Hi,

    The calculation of the internal (Default) VWAP is not known to me and I don’t think it’s public…

    #218959

    Hi JS,

    Noted with thanks for your support.

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

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