VWAP Band indicator

Forums ProRealTime English forum ProBuilder support VWAP Band indicator

Tagged: 

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

    Hello @Nicolas

    I am looking for a solution to code a VWAP indicator with the same bands/SD as the PRT VWAP Band indicator.

    As you can see on the screenshots (on the left the PRT one), the indicators you have created with the help of PRT (https://www.prorealcode.com/topic/is-there-any-working-intraday-vwap/#post-116309) do not give the same bands as the original indicator present on the platform.

    In my manual trading one of my strategies is based on buy/sell when rejecting prices between SD2 and SD3 of the PRT VWAP Band indicator.

    Is it possible to have the code to obtain the same bands as the PRT indicator in order to integrate it into a trading robot?

    Thank you for your help 🙂

    #147113

    You are right there is a difference, while it is exactly the same but for CFD instrument (look at attached picture).

    The formula might have changed between 10.3 and v11, I’ll try to know more about the new VWAP formula and let you know.

    1 user thanked author for this post.
    #155248

    hello Nicolas,

    Any feedback on this? Big differences between built-in and recoded

    #196706

    Any news on this topic?

    #196713

    Here is the new version of the custom code of the PRT VWAP Bands, it works the same as the internal indicator now:

    4 users thanked author for this post.
    #237268

    Hi,

    I have found that this indicator does not match the VWAP indicator in Prorealtime v12 that comes by default.

    You don’t know why this happens?

    I attach a screenshot where you can see that the green line is that of Nicolas’ VWAP and the blue line is that of the indicator that comes by default on the Prorealtime platform v12.

     

    Thank you so much.

    #237270
    JS

    Hi,

    When I compare the indicators, there is a minimal difference between… (screenshot)

    (difference occurs during the first bar of the day)

    The difference in your screenshot is so big because the settings of the (default) VWAP don’t match…

    Time interval: 1 day

    Interval mode: Reset at each interval

    Data accuracy: Historical data graph (default (H+L+C)/3)

    1 user thanked author for this post.
    #237347

    Hello,

    Thank you very much JS, you are absolutely right. There are 2 ways to see the intraday vwap chart. One is that it uses reset on each interval (every day) and the other is that it uses it continuously.

    In my case, I was referring to the continuous or sliding way. (Sorry, it was my fault for not detailing)

    When I compare it with the platform’s VWAP, they don’t match. I don’t know what I should change in the indicator so that it can match me. Can anyone help me with this problem?

    Thank you so much

    #237380
    JS

    Hi,

    Hereby the continuous VWAP (bands):

     

    1 user thanked author for this post.
    #237428

    Hello,

    Thank you very much again, I tried JS your VWAP indicator but I have seen that it does not work very well.

    I attached a screenshot with the configuration I have in the platform’s Bandas VWAP (blue line) and the two VWAPs made with code. The green line is the intraday PRC_VWAP  that resets at each interval and the VWAP (red line) is the last code posted by you in the community.

    Thank you very much.

     

    #237430
    JS

    Hi,

    When the last code is used, the continuous VWAP, and you want to compare it with the standard indicator, VWAP Bands, you should NOT set a time interval but take the setting “all” (todos)…

    You should also use the “typical price”…

    1 user thanked author for this post.
    #237987

    Hi guys is there any update with this please?

    I seem to be unable to add the default VWA Bands (Daily) into a trading system as its not in the selectable list even though its added to and visible on the chart.

    Many Thanks

    #238190

    I was trying to verify that the VWAP statement, see code in image, tracked with the stock VWAP Bands(Daily) VWAP.

    It tracks perfectly till it gets to 1am every Monday where it deviates.

    When it deviates it appears to jump to a value which is equivalent to the typical price of that candle.

    Then going forward eventually deviates back.

    I can’t figure out how the  mechanism of the jump or the return back.

    I was using the ‘Dax’ German40 (DFB) on 1 hour  Timeframe.

    Tried others and they too have a jump to the Typical Price, However the days and times differ.

    Any idea’s…

     

    1 user thanked author for this post.
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