OPEN-SOURCE SCRIPT

Cumulative Delta SAJID AHMED

Indicator Concept:
Purpose:
The indicator measures the cumulative difference between the strength of buyers and sellers. It uses volume along with price direction to calculate market strength.

Calculation Method:
For each candlestick, the Delta is calculated as follows:

If the candlestick closes green (Close > Open):
Delta = +Volume
If the candlestick closes red (Close < Open):
Delta = -Volume
If the candlestick closes neutral (Close = Open):
Delta = 0
The cumulative Delta is then summed for the last 21 candles (default value, adjustable in settings).

Display:
The indicator is displayed as columns:

Green columns: When the cumulative Delta is positive (indicating stronger buying pressure).
Red columns: When the cumulative Delta is negative (indicating stronger selling pressure).
A dashed horizontal line at the zero level for reference.
Background shading changes based on the indicator's value:
Light green for positive zones.
Light red for negative zones.
How to Use the Indicator:
Rising green columns: Indicate increasing buying pressure.
Rising red columns: Indicate increasing selling pressure.
Column color changes from red to green: May signal a potential market reversal.
Longer columns: Represent stronger pressure in the respective direction.
Adjustable Settings:
Length: The number of candles used in the calculation (default: 21).
This value can be modified in the indicator settings as needed.
Utility:
This indicator is useful for:

Assessing the strength of the current trend.
Identifying potential market turning points.
Measuring cumulative buying and selling pressure.
Confirming price breakouts with strong volume.
Volume

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?


Juga pada:

Penafian