PINE LIBRARY
已更新 Pivots library

Library "Pivots"
TODO: add library description here
pivots(_type, _open, _high, _low, _clsoe) Calculates the pivot point and returns its value.
Parameters:
_type: Specifies the type of pivot point.
_open: The open price
_high: The high price
_low: The low price
_clsoe: The close price
Returns: Returns the value of the calculated pivot point as a tuple.
cpr(_high, _low, _clsoe) Calculate the Central Pivot Range
Parameters:
_high: The high price
_low: The low price
_clsoe: The close price
Returns: Returns the values as a tuple.
htf_ohlc(_htf) Calculate the HTF values
Parameters:
_htf: Resolution
Returns: Returns the values as a tuple.
TODO: add library description here
pivots(_type, _open, _high, _low, _clsoe) Calculates the pivot point and returns its value.
Parameters:
_type: Specifies the type of pivot point.
_open: The open price
_high: The high price
_low: The low price
_clsoe: The close price
Returns: Returns the value of the calculated pivot point as a tuple.
cpr(_high, _low, _clsoe) Calculate the Central Pivot Range
Parameters:
_high: The high price
_low: The low price
_clsoe: The close price
Returns: Returns the values as a tuple.
htf_ohlc(_htf) Calculate the HTF values
Parameters:
_htf: Resolution
Returns: Returns the values as a tuple.
發行說明
Added sample codes.發行說明
v3: Added HTF sample.發行說明
v4: Added pivot types ('Classic', 'DM', 'Camarilla', 'Expected Pivot Points').發行說明
v5- Added a pivot types "Floor" and "Tom DeMark's Pivot"
發行說明
v6Added "PP only" options.
發行說明
v7added a type 'HL2'
發行說明
v8added a type "Zone Analysis"
發行說明
v9發行說明
v10發行說明
v11added an option "OC2"
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。