PINE LIBRARY

PriceTimeInteractive

Updated
█ OVERVIEW
This library was intended to Get price of given time.input

█ CREDITS
Credits to TradingView for CAGR Custom Range.

█ FUNCTIONS

ohlc_time()
  : Get OHLC price of given time.input
  Parameters:
    : : Time (t) must be using time.input
  Returns: : OHLC

hlc_time()
  : Get HLC price of given time.input
  Parameters:
    : : Time (t) must be using time.input
  Returns: : HLC

hl_time()
  : Get HL price of given time.input
  Parameters:
    : : Time (t) must be using time.input
  Returns: : HL
Release Notes
v2

Added:
o_time()
  : Get Open price of given time
  Parameters:
    : : Time (t)
  Returns: : Open

h_time()
  : Get High price of given time
  Parameters:
    : : Time (t)
  Returns: : High

l_time()
  : Get Low price of given time
  Parameters:
    : : Time (t)
  Returns: : Low

c_time()
  : Get Close price of given time
  Parameters:
    : : Time (t)
  Returns: : Close

price_time()
  : Get any OHLC price of given time
  Parameters:
    : : Time (t)
  Returns: : OHLC
inputinputsohlcpriceTIMEtimesessions

Pine library

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 a publication is governed by House rules.


Also on:

Disclaimer