PINE LIBRARY
Updated UkutaLabs_General_library

Library "UkutaLabs_General_library"
Just testing libraries to see how they work in indicators
isGreenBar()
isRedBar()
barColor()
Just testing libraries to see how they work in indicators
isGreenBar()
isRedBar()
barColor()
Release Notes
v2Added:
GetTimeFramePeriod()
Updated:
barColor()
1 = Green
-1 = Red
0 = Doji
Release Notes
v3Added:
IsTwoUpBar()
IsTwoDownBar()
IsInsideBar()
IsOutsideBar()
IsHigherClose()
IsLowerClose()
Release Notes
v4Added:
GetHAlign(textJustify)
Parameters:
textJustify (string)
GetFontSize(fontSize)
Parameters:
fontSize (string)
Release Notes
v5Added:
GetLineStyle(lineStyle)
/string lineStyle = input.string(defval="Solid",title="Line Style",options=["Dashed","Solid","Dotted"], group="<Your Group Name>")
Parameters:
lineStyle (string)
Updated:
barColor()
/ 1 = Green
/ -1 = Red
/ 0 = Doji
GetHAlign(textJustify)
/string textAlign = input.string(defval="Right", title="Text Alignment", options=["Left", "Center", "Right"], group="<Your Group Name>")
Parameters:
textJustify (string)
GetFontSize(fontSize)
/string fontSize = input.string(defval="Tiny", title="Font Size", options=["Tiny", "Small", "Medium", "Large"], group="<Your Group Name>")
Parameters:
fontSize (string)
Release Notes
v6Added:
GetVAlign(TextVAlignment)
/string TextVAlign = input.string(defval="Top", title="Text VAlignment", options=["Top", "Bottom"], group="<Your Group Name>")
Parameters:
TextVAlignment (string)
Updated:
GetHAlign(TextHAlignment)
/string textAlign = input.string(defval="Right", title="Text Alignment", options=["Left", "Center", "Right"], group="<Your Group Name>")
Parameters:
TextHAlignment (string)
Release Notes
v7Updated:
GetVAlign(TextVAlignment)
/string TextVAlign = input.string(defval="Top", title="Text VAlignment", options=["Top", "Bottom"], group="<Your Group Name>")
/These values are reversed on purpose
Parameters:
TextVAlignment (string)
Release Notes
v8Added:
GetInputSource(InputSource)
Parameters:
InputSource (string)
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.