PINE LIBRARY
Updated Higher_Time_Frame

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)
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
v2Updated:
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
v3Updated:
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
v4Release Notes
v5Added:
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
v6Added:
ResetTracking(t)
Parameters:
t (Tracking)
Release Notes
v7Removed:
ResetTracking(t)
Tracking
Release Notes
v8Added:
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
v9Updated:
CBM
Fields:
OpenLine (series line)
CloseLine (series line)
HOpenLine (series line)
HCloseLine (series line)
H2OpenLine (series line)
H2CloseLine (series line)
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 publications is governed by House Rules.
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.
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 publications is governed by House Rules.
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.