PINE LIBRARY
已更新 PivotPointsDailyTraditional

Library "PivotPointsDailyTraditional"
Provides the traditional daily pivot values and a pivot vacinity function.
P(level, daysPrior) Returns the P value.
Parameters:
level: The level to caclulate.
daysPrior: The number of days in the past to do the calculation.
R(level, daysPrior) Calculates the R value for a given pivot level.
Parameters:
level: The level to caclulate.
daysPrior: The number of days in the past to do the calculation.
S(level, daysPrior) Calculates the S value for a given pivot level.
Parameters:
level: The level to caclulate.
daysPrior: The number of days in the past to do the calculation.
vacinity(value, daysPrior, maxLevel) Returns a value representing where the provided value is in relation to each pivot level.
Parameters:
value: The value to compare against.
daysPrior: The number of days in the past to do the calculation.
maxLevel: The maximum number of pivot levels to include.
Provides the traditional daily pivot values and a pivot vacinity function.
P(level, daysPrior) Returns the P value.
Parameters:
level: The level to caclulate.
daysPrior: The number of days in the past to do the calculation.
R(level, daysPrior) Calculates the R value for a given pivot level.
Parameters:
level: The level to caclulate.
daysPrior: The number of days in the past to do the calculation.
S(level, daysPrior) Calculates the S value for a given pivot level.
Parameters:
level: The level to caclulate.
daysPrior: The number of days in the past to do the calculation.
vacinity(value, daysPrior, maxLevel) Returns a value representing where the provided value is in relation to each pivot level.
Parameters:
value: The value to compare against.
daysPrior: The number of days in the past to do the calculation.
maxLevel: The maximum number of pivot levels to include.
版本注释
v2 Updated "DailyLevels" reference.版本注释
v3 Referenced API Update版本注释
v4 Updated with latest Daily version.版本注释
Library "PivotPointsDailyTraditional"Provides the traditional daily pivot values and a pivot vacinity function.
P(daysPrior)
Returns the P value.
Parameters:
daysPrior (simple int): The number of days in the past to do the calculation.
R(level, daysPrior)
Calculates the R value for a given pivot level.
Parameters:
level (int): The level to caclulate.
daysPrior (simple int): The number of days in the past to do the calculation.
S(level, daysPrior)
Calculates the S value for a given pivot level.
Parameters:
level (int): The level to caclulate.
daysPrior (simple int): The number of days in the past to do the calculation.
vacinity(value, daysPrior, maxLevel)
Returns a value representing where the provided value is in relation to each pivot level.
Parameters:
value (float): The value to compare against.
daysPrior (simple int): The number of days in the past to do the calculation.
maxLevel (simple int): The maximum number of pivot levels to include.
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。