Dean_Crypto

time between close 1.0 - find active charts



Title: Time Between Close (TBC) Indicator
Description:
The Time Between Close (TBC) Indicator is designed to help traders visualize the time between candle closes in seconds. The timeframe option default is set to 1 second. This is in order to check how often a candle is produced on the one second timeframe regardless of what timeframe your chart is on. These values of time between candles are then averaged using the moving average length.
So if you have a moving average length of 60, it will look at the past 60 candles and count the time between each candle, and give you an average in seconds. The shortest time between candles that it can go is 1 second.
The increment option should only be adjusted to a higher timeframes when you need to see further back because the existing plot is very short.
Note, this indicator is not suitable for BTC as BTC generally always has several ticks per second and the indicator will always show up as 1 second.

1. Timeframe options: Set the timeframe for measuring the time between candle closes (default: 1 second).
2. Moving average length: Choose between simple moving average (SMA) or exponential moving average (EMA) for calculating the average time between candle closes.
3. Time increment option: Adjust the time increment for the color gradient (default: 5 seconds). Increase this value for higher timeframes to see further back when the existing plot is too short.
4. Customizable label sizes, label distances, and horizontal line transparencies.

To get an idea of the gradient,

These are the colors from fastest moving to slowest:

Blue
Light Blue
Cyan
Light Green
Green
Yellow-Green
Yellow
Orange
Red-Orange
Red


Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом, вы можете свободно им пользоваться. Можно добавить его в избранное и использовать на графике. Вы не можете просматривать или менять его исходный код.
Отказ от ответственности

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

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