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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明