PINE LIBRARY
Updated

Higher_Time_Frame

358
Library "Higher_Time_Frame"

IsGreenBar(oCandle)
  Parameters:
    oCandle (Candle)

IsRedBar(oCandle)
  Parameters:
    oCandle (Candle)

BarColor(oCandle)
  / 1 = Green
/ -1 = Red
/ 0 = Doji
  Parameters:
    oCandle (Candle)

CalculateEMA(oCandle, Period, InputValue, MAValue)
  Parameters:
    oCandle (Candle)
    Period (int)
    InputValue (float)
    MAValue (float)

Candle
  Fields:
    UID (series int)
    HighPrice (series float)
    LowPrice (series float)
    OpenPrice (series float)
    ClosePrice (series float)
    HighIndex (series int)
    LowIndex (series int)
    OpenIndex (series int)
    CloseIndex (series int)
Release Notes
v2

Updated:
Candle
  Fields:
    UID (series int)
    HighPrice (series float)
    LowPrice (series float)
    OpenPrice (series float)
    ClosePrice (series float)
    HighIndex (series int)
    LowIndex (series int)
    OpenIndex (series int)
    CloseIndex (series int)
    PreviousCandle (Candle)
    MAHigh (series float)
    MALow (series float)
    MAOpen (series float)
    MAClose (series float)
Release Notes
v3

Updated:
Candle
  Fields:
    UID (series int)
    HighPrice (series float)
    LowPrice (series float)
    OpenPrice (series float)
    ClosePrice (series float)
    HighIndex (series int)
    LowIndex (series int)
    OpenIndex (series int)
    CloseIndex (series int)
    PreviousCandle (Candle)
    MAHigh (series float)
    MALow (series float)
    MAOpen (series float)
    MAClose (series float)
    Volume (series float)
    AvgVolume (series float)
Release Notes
v4
Release Notes
v5

Added:
Tracking
  Fields:
    b5 (series int)
    b15 (series int)
    b30 (series int)
    b60 (series int)
    b120 (series int)
    b240 (series int)
    b1380 (series int)
    s5 (series int)
    s15 (series int)
    s30 (series int)
    s60 (series int)
    s120 (series int)
    s240 (series int)
    s1380 (series int)
Release Notes
v6

Added:
ResetTracking(t)
  Parameters:
    t (Tracking)
Release Notes
v7

Removed:
ResetTracking(t)

Tracking
Release Notes
v8

Added:
CBM
  Fields:
    OpenLine (series line)
    CloseLine (series line)
    HOpenLine (series line)
    HCloseLine (series line)

Updated:
Candle
  Fields:
    UID (series int)
    HighPrice (series float)
    LowPrice (series float)
    OpenPrice (series float)
    ClosePrice (series float)
    HighIndex (series int)
    LowIndex (series int)
    OpenIndex (series int)
    CloseIndex (series int)
    PreviousCandle (Candle)
    MAHigh (series float)
    MALow (series float)
    MAOpen (series float)
    MAClose (series float)
    Volume (series float)
    AvgVolume (series float)
    oCBM (CBM)
Release Notes
v9

Updated:
CBM
  Fields:
    OpenLine (series line)
    CloseLine (series line)
    HOpenLine (series line)
    HCloseLine (series line)
    H2OpenLine (series line)
    H2CloseLine (series line)

Disclaimer

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.