Tommy_Rich

TR_Base_Lib

Tommy_Rich Updated   
Library "TR_Base_Lib"
TODO: add library description here

SetHighLowArray()

ChangeHighLowArray()

ShowLabel(_Text, _X, _Y, _Style, _Size, _Yloc, _Color)
  TODO: Function to display labels
  Parameters:
    _Text: TODO: text (series string) Label text.
    _X: TODO: x (series int) Bar index.
    _Y: TODO: y (series int/float) Price of the label position.
    _Style: TODO: style (series string) Label style.
    _Size: TODO: size (series string) Label size.
    _Yloc: TODO: yloc (series string) Possible values are yloc.price, yloc.abovebar, yloc.belowbar.
    _Color: TODO: color (series color) Color of the label border and arrow
  Returns: TODO: No return values

GetColor(_Index)
  TODO: Function to take out 12 colors in order
  Parameters:
    _Index: TODO: color number.
  Returns: TODO: color code

Tbl_position(_Pos)
  TODO: Table display position function
  Parameters:
    _Pos: TODO: position.
  Returns: TODO: Table position

Tbl_position_JP(_Pos)
  TODO: テーブル表示位置 日本語表示位置を定数に変換
  Parameters:
    _Pos: TODO: 日本語表示位置
  Returns: TODO: _result:表示位置の定数を返す

TfInMinutes(_Tf)
  TODO: 足変換、TimeFrameを分に変換
  Parameters:
    _Tf: TODO: TimeFrame文字
  Returns: TODO: _result:TimeFrameを分に変換した値、_chartTf:チャートのTimeFrameを分に変換した値

TfName_JP(_tf)
  TODO: TimeFrameを日本語足名に変換して返す関数 引数がブランクの時はチャートの日本語足名を返す
  Parameters:
    _tf: TODO: TimeFrame文字
  Returns: TODO: _result:日本語足名

DeleteLine()
  TODO: Delete Line
  Parameters:
    : TODO: No parameter
  Returns: TODO: No return value

DeleteLabel()
  TODO: Delete Label
  Parameters:
    : TODO: No parameter
  Returns: TODO: No return value
Release Notes:
v2

更新:
SetHighLowArray()

ChangeHighLowArray()
Release Notes:
v3

更新:
ShowLabel(_Text, _Tooltip, _X, _Y, _Style, _Size, _Yloc, _Color, _TextColor)
  TODO: Function to display labels
  Parameters:
    _Text: TODO: text (series string) Label text.
    _Tooltip: TODO: text (series string) Tooltip text.
    _X: TODO: x (series int) Bar index.
    _Y: TODO: y (series int/float) Price of the label position.
    _Style: TODO: style (series string) Label style.
    _Size: TODO: size (series string) Label size.
    _Yloc: TODO: yloc (series string) Possible values are yloc.price, yloc.abovebar, yloc.belowbar.
    _Color: TODO: color (series color) Label border and arrow color
    _TextColor: TODO: color (series color) Label text color
  Returns: TODO: No return values
Release Notes:
v4

更新:
SetHighLowArray()

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.

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.

Want to use this library?

Copy the following line and paste it in your script.