yohtza

Bpa

yohtza Обновлено   
Library "Bpa"
TODO: library of Brooks Price Action concepts

isBreakoutBar(atr, high, low, close, open, tail, size)
  TODO: check if the bar is a breakout based on the specified conditions
  Parameters:
    atr: TODO: atr value
    high: TODO: high price
    low: TODO: low price
    close: TODO: close price
    open: TODO: open price
    tail: TODO: decimal value for a percent that represent the size of the tail of the bar that cant be preceeded to be considered strong close
    size: TODO: decimal value for a percent that represents by how much the breakout bar should be bigger than others to be considered one
  Returns: TODO: boolean value, true if breakout bar, false otherwise
Информация о релизе:
v2
Информация о релизе:
v3
Информация о релизе:
v4

Added:
bullMicrochannel()

bearMicrochannel()
Информация о релизе:
v5

Removed:
bullMicrochannel()

bearMicrochannel()
Информация о релизе:
v6

Added:
isBreakoutBar2(atr, tail, size)
  TODO: check if the bar is a breakout based on the specified conditions
  Parameters:
    atr: TODO: atr value
    tail: TODO: decimal value for a percent that represent the size of the tail of the bar that cant be preceeded to be considered strong close
    size: TODO: decimal value for a percent that represents by how much the breakout bar should be bigger than others to be considered one
  Returns: TODO: boolean value, true if breakout bar, false otherwise
Информация о релизе:
v7

Added:
breakoutAbove(lookback)
  TODO: check if the bar is breaking out above a specified number of previous bars
  Parameters:
    lookback: TODO: number of previous bars to lookback
  Returns: TODO: boolean value

breakoutBelow(lookback)
  TODO: check if the bar is breaking below a specified number of previous bars
  Parameters:
    lookback: TODO: number of previous bars to lookback
  Returns: TODO: boolean value
Информация о релизе:
v8

Added:
breakoutFollowthrough(atr, tail, size)
  check if there's followthrough after a breakout
  Parameters:
    atr: value for breakout bar
    tail: decimal value for a percent that represent the size of the tail of the bar that cant be preceeded to be considered strong close
    size: decimal value for a percent that represents by how much the breakout bar should be bigger than others to be considered one
  Returns: boolean value
Информация о релизе:
v9
Информация о релизе:
v10

Added:
minFollowthrough()
  check for minimal followthrough needed after breakout
  Returns: boolean
Информация о релизе:
v11

Added:
isTrendBar()
  check if the bar is a trend bar
  Returns: boolean

isDoji()
  check if the bar is a doji bar
  Returns: boolean
Информация о релизе:
v12

Added:
isBullTrendBar()
  check if the bar is a bull trend bar
  Returns: boolean

isBearTrendBar()
  check if the bar is a bear trend bar
  Returns: boolean

Библиотека Pine

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

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

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

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

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