dakixr

BTC - Hotness Index

dakixr 已更新   
### Script Description

#### BTC - Hotness Index

This Pine Script, version 4, aims to generate a "Hotness Index" for Bitcoin (BTC) trading by utilizing a Pi Cycle Top Indicator. The script operates in a daily (`1D`) time frame and involves calculating two Simple Moving Averages (SMA) based on `close` prices:

- 111-day SMA (`D_111SMA`)
- 350-day SMA (`D_350SMA`) multiplied by 2

The primary indicator (`pi_indicator`) is derived by dividing `D_111SMA` by `D_350SMA`.

##### Sell Signal
A sell signal is plotted as a histogram if `pi_indicator` crosses above 1 (`pi_plot` variable).

##### Buy Signal
A buy signal is plotted as a histogram if `pi_indicator` crosses below 0.35 (`pi_plot_buy` variable).

##### Horizontal Lines
Two horizontal lines are included to denote the "Buy Zone" and "Sell Zone":

- "Sell Zone" at `pi_indicator` level of 1
- "Buy Zone" at `pi_indicator` level of 0.35

##### Plotting
Histogram plots are used for visualizing the signals:
- Sell signals are colored red (`RGB: 255, 59, 59`)
- Buy signals are colored green (`RGB: 82, 255, 59`)

This script provides traders a visual guide for potential buy/sell opportunities based on the Pi Cycle Top Indicator and the Hotness Index for Bitcoin. It operates under the terms of the Mozilla Public License 2.0.
版本注释:
New short term indicator add-on
版本注释:
...
版本注释:
Indexed in range 0 to 1
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?