ClassicScott

MyVolatilityBands

ClassicScott Обновлено   
Library "MyVolatilityBands"
Just a lil' library of volatility bands that I use in some scripts

bollingerbands(src, lkbk, mult, basis)
  Bollinger Bands
  Parameters:
    src (float): float
    lkbk (int): int
    mult (float): float
    basis (float)
  Returns: Bollinger Bands

donchianchannels(src, lkbk, band_width)
  Donchian Channels
  Parameters:
    src (float): float
    lkbk (int): int
    band_width (float): float
  Returns: Donchian Channels with an outer band of varying thickness adjusted by the band_width input

doublehalfdonchianchannels(src, lkbk, divisor)
  Double Half Donchian Channels
  Parameters:
    src (float): float
    lkbk (int): int
    divisor (float): float
  Returns: two adjustable bases calculated using Donchian Channels calculation that act as a measure of volatility
Информация о релизе:
v2

Updated:
bollingerbands(src, lkbk, mult, basis, band_width)
  Bollinger Bands
  Parameters:
    src (float): float
    lkbk (int): int
    mult (float): float
    basis (float)
    band_width (float)
  Returns: Bollinger Bands with an outer band of varying thickness adjusted by the band_width input

doublehalfdonchianchannels(src, lkbk, divisor)
  Double Half Donchian Channels
  Parameters:
    src (float): float
    lkbk (int): int
    divisor (float): float
  Returns: two adjustable bases calculated using Donchian Channels calculation that can act as a measure of volatility for below chart indicators
Информация о релизе:
v3

Added:
keltnerchannels(atr_lkbk, mult, basis, band_width)
  Keltner Channels
  Parameters:
    atr_lkbk (simple int): int
    mult (float): float
    basis (float): float
    band_width (float): float
  Returns: Keltner Channels with an outer band of varying thickness adjustable by the band_width input

Updated:
bollingerbands(src, lkbk, mult, basis, band_width)
  Bollinger Bands
  Parameters:
    src (float): float
    lkbk (int): int
    mult (float): float
    basis (float): float
    band_width (float): float
  Returns: Bollinger Bands with an outer band of varying thickness adjustable by the band_width input

donchianchannels(src, lkbk, band_width)
  Donchian Channels
  Parameters:
    src (float): float
    lkbk (int): int
    band_width (float): float
  Returns: Donchian Channels with an outer band of varying thickness adjustable by the band_width input

Библиотека Pine

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

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

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

Хотите использовать эту библиотеку?

Скопируйте текст в буфер обмена и вставьте в свой скрипт.