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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想使用这个脚本库吗?

复制以下行并将其粘贴到您的脚本中。