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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。