PINE LIBRARY
Updated

UkutaLabs_General_library

464
Library "UkutaLabs_General_library"
Just testing libraries to see how they work in indicators

isGreenBar()

isRedBar()

barColor()
Release Notes
v2

Added:
GetTimeFramePeriod()

Updated:
barColor()
  1 = Green
-1 = Red
0 = Doji
Release Notes
v3

Added:
IsTwoUpBar()

IsTwoDownBar()

IsInsideBar()

IsOutsideBar()

IsHigherClose()

IsLowerClose()
Release Notes
v4

Added:
GetHAlign(textJustify)
  Parameters:
    textJustify (string)

GetFontSize(fontSize)
  Parameters:
    fontSize (string)
Release Notes
v5

Added:
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
v6

Added:
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
v7

Updated:
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
v8

Added:
GetInputSource(InputSource)
  Parameters:
    InputSource (string)

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.