john_everist

Volume Distribution Deviation

This indicator explores the question - "Does a currency's PERCENTAGE of trading volume verses other currencies show an insight into market sentiment?"

Specifically, it calculates the average market share based on the same time of day for a given number of days back (10 days by default) for trades involving the selected currency then presents fluctuations from that average as a percentage.

For example, assume that currencies involving EUR (EURUSD, EURAUD, EURCAD etc…) on average account for 20% of trading volume at 8am GMT (London open) however today at London open EUR crosses account for 30% at London open – 50% higher than usual. Does this information give us a heads up for market sentiment for the next few hours? And what if EUR volume was 50% higher than average and USD was 30% lower than average – should we focus on EUR and pass on USD that session?

Note that the indicator is not presenting information regarding volume quantity – it is showing you interest in that currency within the volume occurring that day. I already have an indicator that compares volume quantity to average volume quantity for that time of day, this takes the concept a little further and shows the normalised deviations from that average. So if USD volume was up 50% and NZD was up 50% they will show as equal on the indicator even though the actual traded volume of USD is probably x10 higher.

I find the 15 minute timeframe gives the most meaningful data. I use an 8 window chart and display the deviations for each currency (NZD, AUD, JPY, CHF, EUR, GBP, CAD, USD). If you set to 'Automatic' the indicator will automatically chose the currency based on the currency you crossed with gold (OANDA:XAUNZD, OANDA:XAUAUD, OANDA:XAUJPY, OANDA:XAUCHF, OANDA:XAUEUR, OANDA:XAUGBP, OANDA:XAUCAD, OANDA:XAUUSD). I tend to look at the average deviation rather than an isolated spike.

There are features in the indicator to try to summarise and highlight impactful data - highlighted deviations over a set tolerance (10% by default) and the SMA of the deviations.

Good luck



Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?