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



สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?