PINE LIBRARY
Atualizado

Pivots library

4 480
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.
Notas de Lançamento
Added sample codes.
Notas de Lançamento
v3: Added HTF sample.
Notas de Lançamento
v4: Added pivot types ('Classic', 'DM', 'Camarilla', 'Expected Pivot Points').
Notas de Lançamento
v5

- Added a pivot types "Floor" and "Tom DeMark's Pivot"
Notas de Lançamento
v6
Added "PP only" options.
Notas de Lançamento
v7

added a type 'HL2'
Notas de Lançamento
v8

added a type "Zone Analysis"
Notas de Lançamento
v9
Notas de Lançamento
v10
Notas de Lançamento
v11
added an option "OC2"

Aviso legal

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.