Z-Score Distance From VWAP

v10.3
Z-Score Distance From VWAP

In this indicator, the Z-Score distance is the current standard deviation from the intraday VWAP of the price.

If the exceed a certain deviation (such as 2 standard deviation), the indicator highlight an oversold or overbought area from which the price could tend to return to its mean, the VWAP.

The VWAP is the  Volume Weighted Average Price, in this indicator it is compute only for intraday trading because it resets its own value on each new day.

I included a minimal period setting for the calculation of the standard deviation (default period is 100), as soon as 100 bars have elapsed the SD is calculated with the summation of all present bar during the day (such as the VWAP does too), and a smoothing function for the curve (not used by default).

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Hans63 • 01/08/2019 #

    it does not appear on the chart when plotted

    • Nicolas • 01/08/2019 #

      This indicator needs Volumes. Verify that this is the case for the instrument you applied the indicator on..

  2. Carlos Garcia • 01/08/2019 #

    why doesn´t work on Dax?

    • Nicolas • 01/08/2019 #

      Try to restrain to trading hours when Volumes are present (customized trading hours: righ click in the price chart).

  3. Carlos Garcia • 01/08/2019 #

    Thank you!

  4. Choliver • 01/08/2019 #

    Bonsoir Nicolas,
    Merci pour cet indicateur.
    Même s’il n’y a officiellement pas de volume sur les CFD, le Vwap est quand même calculé et apparait sur les charts CFD type Dax UT 15 (en Daily – et même sur des unités de temps plus petites – 60 min par exemple). Très instructif !
    En revanche, cet indicateur VWAP – Z score est sûrement bien pratique, mais il n’apparait pas.
    Serait-il possible de lui permettre d’être utilisable aussi avec des CFD ?
    Merci. 🙂
    Bon début de semaine.

  5. arnaudat • 01/08/2019 #

    Bonjour,
    je suis tombé sur cet indicateur par des recherches sur les écarts types et il me semble réellement excellent. Il donne une “information” nouvelle vis à vis d’autres indicateurs. Le seul soucis c’est qu’il s’affiche la première fois (je vois bien la courbe) mais disparait à chaque nouvelle bougie (ie minute si UT1, 5 minute si UT5). Pour le faire réapparaitre il suffit que je modifie la période par exemple ce qui le fait se recalculer et s’afficher. Si je comprends le problème je ne vois pas pourquoi il y en a un et encore moins comment le résoudre …
    Merci par avance,
    Arnaud

    • Nicolas • 01/08/2019 #

      Il y a peut-être une erreur de calcul causée par un division par zéro, j’ai retrouvé une autre version corrigée ici: https://www.prorealcode.com/topic/z-score-distance-from-vwap/#post-90008

  6. arnaudat • 01/08/2019 #

    Merci nicolas, j’ai déjà pris cette version et en plus je suis sur les futures. Par contre du coup je viens de l’installer sur CFD (PRT V10.3) et là je n’ai pas le bug … Ca vient donc de la V11 sur Future et c’est de ma faute car vous indiquiez bien que c’était pour la V10.3 … J’essayerai de chercher pourquoi mais en attendant je vais le laisser sur la 10.3 !
    Merci

  7. ullle73 • 01/08/2019 #

    hi nicolas, when im making a strategy out of this i get the error “PRC_VWAP z-score” called from “vwap z-score” returns 6 values but your code needs 7. how can i fix this?

    • Nicolas • 01/08/2019 #

      Please open a new topic in the ProOrder forum section and post the code there in order to check what could be wrong, thank you.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+2 more likes

Related users ' posts
GraHal Is this the Discussion Topic you need @Gregg https://www.prorealcode.com/topic/scalping-i...
bertrandpinoy bonjour Nicolas y a t il une possibilité de signal sonore dès qu une vente ou un achat serai...
Nicolas Oui cela nécessitera une adaptation du code cependant, merci de formuler une demande sur le ...
Madrosat Bonjour Nicolas la formule du stop loss est elle vraiment valable ?? il n'y a pas au depart ...
Nicolas Il y a peut-être un erreur en effet, essayer avec: set stop ploss (averagetruerange[14] * ...
Madrosat ok merci Nicolas c'est avec /pipsize que ça fonctionne
Francesco78 @snucke the results are not the same because the pictures refers to a few years ago. I am no...
snucke @Francesco78 i mean the results differ when i test on my own. so im curious of what the p...
sfl still working, using with filters like : trendFilterUp=close>average[190](close) tren...
Nicolas Better to download the file from the page and import it into your platform in order to not c...
marcov66 Hi Nicolas, thanks for sharing the VWAP Date Indicator. It is really powerful. Nevertheless,...
Nicolas Are you sure you are using the same exact date, hours, minutes, seconds for anchor?
Nicolas
7 years ago
swapping Bonjour Nicolas, comment doit-on modifier le code (ou ajouter la variable "style") pour que ...
Nicolas Il faut changer la dernière ligne du code par : return ibuf108 style(line,2) as "Vostro", ...
swapping Merci beaucoup Nicolas, c'est mieux ainsi ...
BERTJES82 Hi Nicolas, is it possible to adjust the starting date of the VWAP on the charts? Thanks in ...
Nicolas Yes, have a look there: https://www.prorealcode.com/prorealtime-indicators/vwap-date-anchored/
Dadoo Merci Nicolas!
JanWd Hi Francesco, nice algorithme, works with me on other markets as well !
Francesco78 thank you Janwd. Do you mind sharing where it works? happy new year!
Aaron Bennett Nice analysis, with the proposed tweak I'm seeing great performance since 2008/QE on the CAC...
Jan Wind Thanks for the indicator. Seems to indicate the start of the short term trend quite well, ...
Nicolas Questo indicatore è stato progettato solo per i dati intraday, ma potrebbe essere adattato a...
MrCrous //FR Bonjour, Dans le code ci dessus, je ne comprends pas ce que fait la ligne : linea...
Nicolas J'ai déjà répondu à cette question quelque part sur le forum. Il faudrait chercher un topic ...
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...
Nicolas No sorry, please use this file instead into a prorealtime trading platform.
rdabbs I just installed this indicator. It opens in its own pane rather than overlaid on the chart ...
Nicolas Just apply it on your price chart instead and you're ok.
Wilko I am not familiar with the screener function, but I am quite certain it should be quite simp...
Gubben @Wilko have you had a look at this again since MTF support? Heard you talk on Börssnack btw..
Wilko @Gubben not really. It was something I posted to show that simpler is usually better. Hope y...
DANY overfit
fatlung Excuse me. I would like to the time zone applied to this strategy.
UkCoopDownUnder Hi, ProOrder does not recognise, "avfullnessthreshold" any ideas, thanks
diegofe_2000 cordial saludo NICOLAS , gracias por excelente indicador. ¿ es posible obtenerlo en MT4 ? ...
Nicolas Lo siento, pero no estoy trabajando para ayudar a la gente aquí de forma gratuita para promo...
diegofe_2000 Nicolas , gracias por tu atención. La pregunta era por curiosidad (yo no trabajo ni manejo ...
larmhen
7 years ago
HerveS_67 Bonjour, A quoi correspondent les données S, M, L ? Hello, What do the data S, M, L?
Vinks_o_7 aux paramètres à rentrer : 5 20 et 200...
Maxime Baudin Nice, thanks!
rowestock Hi Nicolas, I am revisiting this indicator and wanted to ask, is it possible to replace sty...
Nicolas Why not, please add a new request in our probuilder forums.
majid52026 Hi I want MBXF Timing for mq5 Does anyone have this indicator???
dertopen Hi Nicolas good work for the code translation when i chek the mbfx system site i see in t...
Nicolas Yes, just change the color by yourself in the indicator settings window.
JanWd Thank you for the coding, it seems promising. FTSE gives for the short term (5 min) promis...
Jan Wind 21.04.2019: I retested the strategy for the DAX 5 minutes , it works fine for 10.000 bars, b...
bertrandpinoy hello Francesco, are you still working on this strategy?
Nacho Buenos días Raul, tengo puesto este sistema desde hace unos días en una cuenta demo en la ve...
Dominik Hola Raul ... it looks wonderful :-) Why does it not work if I use less than 100,000 € capi...
Bobbi Hola y gracias por compartir! Descubrí que en 5 minutos teníamos algo muy bueno! Pero no ...

Top