OPEN-SOURCE SCRIPT

Buyer/Seller Dominance ©TMW

Cập nhật

The "Buyer/Seller Dominance" indicator script, developed by Deepanshu Sharma under The Market Wisdom (TMW), is a powerful analytical tool designed for use on the TradingView platform. This script is released under the Mozilla Public License 2.0, and it offers traders and investors an innovative perspective on market dynamics by assessing the relative strength of buyers and sellers within a given time frame.

Key Features:

1. Dominance Calculation: The indicator calculates the dominance of buyers and sellers over a specified number of candles. Users can define the number of candles (`n`) to consider in the dominance calculation.

2. Visual Representation: The script provides a visual representation of buyer and seller dominance using colored columns on the price chart. Green columns represent buyer dominance, while red columns represent seller dominance.

3. Balance Line: The indicator includes a dashed horizontal line at the zero level, representing a balance point between buyer and seller dominance. When the green and red columns cross this line, it signifies shifts in market sentiment.

How it Works:

The script divides the historical price data into segments of specified candle count (`n`) and assesses each segment's dominance. It calculates the volume associated with both green (bullish) and red (bearish) candles within each segment.
If a candle's closing price is higher than its opening price, it is considered a green candle. Similarly, if the closing price is lower than the opening price, the candle is classified as red. The volume of each respective type of candle is then accumulated for each segment.
The script plots the cumulative green candle volume as the "Buyer Dominance" column and the cumulative red candle volume as the "Seller Dominance" column. This visual representation helps traders gauge the ebb and flow of buyer and seller strength in the market.


Disclaimer:
The indicator is provided for informational purposes only and should not be considered as financial advice. It's important to conduct thorough research and analysis before making any trading decisions. The creator, Deepanshu Sharma, and "The Market Wisdom" team are not responsible for any trading losses incurred based on the usage of this indicator.
Remember that trading involves risks, and historical performance may not necessarily predict future results. Always consider multiple indicators, market trends, and risk management strategies when making trading decisions.
Phát hành các Ghi chú
This updated version of the Buyer/Seller Dominance script displays a disclaimer indicating whether buyers or sellers are dominant in the market. The script calculates the dominance by comparing the total volume of green and red candles over a user-defined number of candles. The calculated dominance is displayed as a disclaimer in a table in the bottom right corner of the chart. This provides traders with an additional visual cue to help them make informed trading decisions.
Phát hành các Ghi chú
In this version of the script, the disclaimer section reveals whether buyers or sellers hold more power in trading. It calculates the gap between green (buyers) and red (sellers) candle volumes. If green is larger, it indicates "Buyers dominate by a certain amount (ratio)." If red is larger, it states "Sellers dominate by a certain amount (ratio)." Equal volumes mean "Buyers and sellers are balanced."
Phát hành các Ghi chú
Adjusted disclaimer size
Phát hành các Ghi chú
For backtesting, key data is displayed in the status line, offering a quick overview of a strategy's historical performance.
Phát hành các Ghi chú
The size of the disclaimer has been shortened
Phát hành các Ghi chú
The disclaimer is now positioned in the center at the bottom.
Advance/Decline Volume LineOn Balance Volume (OBV)sellersbuyersvolumeanalysisvolumeindicatorvolumeprofileanalysisVolume

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?


Ngoài ra, trên:

Thông báo miễn trừ trách nhiệm