PINE LIBRARY
已更新 Bpa

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
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發行說明
v4Added:
bullMicrochannel()
bearMicrochannel()
發行說明
v5Removed:
bullMicrochannel()
bearMicrochannel()
發行說明
v6Added:
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
發行說明
v7Added:
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
發行說明
v8Added:
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發行說明
v10Added:
minFollowthrough()
check for minimal followthrough needed after breakout
Returns: boolean
發行說明
v11Added:
isTrendBar()
check if the bar is a trend bar
Returns: boolean
isDoji()
check if the bar is a doji bar
Returns: boolean
發行說明
v12Added:
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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。