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腳本庫
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
免責聲明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Pine腳本庫
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
免責聲明
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.