TheGrindToday

BTC Dominance & Counter-Trend Indicator

This script looks at BTC dominance in price-action and scores it (out of the last 100 closed bars). Essentially this looks at the price action of the current security/crypto and tracks whether it traded in-trend with BTC or against the trend with BTC to show when BTC is most prominently dominating.

Currently the code is restricted to the previous 100 trades prior to the bar (you can change this) but only because, for whatever reason, pine scripting doesn't actually allow you to calculate the number of bars currently in the view (lots of people asking for this via StackOverflow but no response yet). Essentially every bar shows the number of trades out of the last 100 that traded in-synch with BTC, the lower the number, the less dominant BTC has been against that security.


Green highlight means it traded positive (upwards) against BTC going down, and red means it traded negative against BTC going up.

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?