OPEN-SOURCE SCRIPT

Vol (Wyckoff)

Telah dikemas kini
I like TradingView Built-in Volume indicator, because it is overlay with price chart, and has appropriate scale.
I made similar style volume indicator and added concept of Laws of Wyckoff.

caution : You need {Chart settings} → {Appearance} → {Bottom margin} is set 0 %, to make chart look good.
: You need {Chart settings} → {Symbol} → {body} ,{Borders} and {Wick} are set dark color, to easier to identify the color of candles.


This 3 Laws of Wyckoff are my interpretation, not the original.

///////// The Law of Supply and Demand //////////
I define the Demand as volume that is larger than the previous volume and has close > open bar.
I define the Supply as volume that is larger than the previous volume and has close <= open bar.
Volume Flow is value difference between Demand MA and Supply MA.
I imitate the idea of "Volume Flow v3" by oh92.

syot kilat


///////// The Law of Cause and Effect //////////
Enough volume(Cause) makes reliable price movement(Effect).
If there is not enough volume, its price movement is suspicious.
I define enough volume as volume that is larger than previous volume.
I define large volume as volume that is larger than previous volume and over volume MA(using all volume).
I define "not enough volume" as volume that is smaller than previous volume.
I borrowed the idea from "The Lie Detector" by LucF.

Enough volume(increasing volume) is painted by dark color and Large volume(increasing volume and over volume MA) is painted by light color.
"Not enough volume"(decreasing volume) is painted by empty color(default is black).
This coloring are reflected to price candles.
So, you need {Chart settings} → {Symbol} → {body} ,{Borders} and {Wick} are set dark color, to easier to identify the color of candles.

syot kilat


///////// The Law of Effort and Result //////////
If volume (effort) cannot move price (result), it may be Absorption(potential reversal).
"Factor of Volume Density" determines the threshold of Absorption.
Small Absorption is displayed by gray square at bottom.
Large Absorption is displayed by white square at bottom.

syot kilat


///////// Volume Spike //////////
Volume Spike sometimes precede or confirm trend direction.
"Factor of Volume Spike" determines the threshold of Volume Spike.
Volume Spike is displayed by light bulb.

syot kilat
Nota Keluaran
fixed spell mistake.
Nota Keluaran
If You want to use this script as normal style(separated pane),
right click this indicator and "Move to" New pane below, and then turn off "Scale Adjustment" from this indicator's settings{Style}.

syot kilat
Nota Keluaran
added No Demand / Supply candle and TR Spike.
Nota Keluaran
Major update !!
volumespreadanalysisVolumeVSAwyckoff

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian