Library "TR_HighLow"
TODO: add library description here

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

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

ZigZag(_a_PHiLo, _a_IHiLo, _a_FHiLo, _a_DHiLo, _Histories, _Provisional_PHiLo, _Provisional_IHiLo, _Color1, _Width1, _Color2, _Width2, _ShowLabel, _ShowHighLowBar, _HighLowBarWidth, _HighLow_LabelSize)
  TODO: Draw a zig-zag line.
  Parameters:
    _a_PHiLo: TODO: High-Low price array
    _a_IHiLo: TODO: High-Low INDEX array
    _a_FHiLo: TODO: High-Low flag array sequence 1:High 2:Low
    _a_DHiLo: TODO: High-Low Price Differential Array
    _Histories: TODO: Array size (High-Low length)
    _Provisional_PHiLo: TODO: Provisional High-Low Price
    _Provisional_IHiLo: TODO: Provisional High-Low INDEX
    _Color1: TODO: Normal High-Low color
    _Width1: TODO: Normal High-Low width
    _Color2: TODO: Provisional High-Low color
    _Width2: TODO: Provisional High-Low width
    _ShowLabel: TODO: Label display flag True: Displayed False: Not displayed
    _ShowHighLowBar: TODO: High-Low bar display flag True:Show False:Hide
    _HighLowBarWidth: TODO: High-Low bar width
    _HighLow_LabelSize: TODO: Label Size
  Returns: TODO: No return value

TrendLine(_a_PHiLo, _a_IHiLo, _Histories, _MultiLine, _StartWidth, _EndWidth, _IncreWidth, _StartTrans, _EndTrans, _IncreTrans, _ColorMode, _Color1_1, _Color1_2, _Color2_1, _Color2_2, _Top_High, _Top_Low, _Bottom_High, _Bottom_Low)
  TODO: Draw a Trend Line
  Parameters:
    _a_PHiLo: TODO: High-Low price array
    _a_IHiLo: TODO: High-Low INDEX array
    _Histories: TODO: Array size (High-Low length)
    _MultiLine: TODO: Draw a multiple Line.
    _StartWidth: TODO: Line width start value
    _EndWidth: TODO: Line width end value
    _IncreWidth: TODO: Line width increment value
    _StartTrans: TODO: Transparent rate start value
    _EndTrans: TODO: Transparent rate finally
    _IncreTrans: TODO: Transparent rate increase value
    _ColorMode: TODO: 0:Nomal 1:Gradation
    _Color1_1: TODO: Gradation Color 1_1
    _Color1_2: TODO: Gradation Color 1_2
    _Color2_1: TODO: Gradation Color 2_1
    _Color2_2: TODO: Gradation Color 2_2
    _Top_High: TODO: _Top_High Value for Gradation
    _Top_Low: TODO: _Top_Low Value for Gradation
    _Bottom_High: TODO: _Bottom_High Value for Gradation
    _Bottom_Low: TODO: _Bottom_Low Value for Gradation
  Returns: TODO: No return value

Fibonacci(_a_Fibonacci, _a_PHiLo, _Provisional_PHiLo, _Index, _FrontMargin, _BackMargin)
  TODO: Draw a Fibonacci line
  Parameters:
    _a_Fibonacci: TODO: Fibonacci Percentage Array
    _a_PHiLo: TODO: High-Low price array
    _Provisional_PHiLo: TODO: Provisional High-Low price (when _Index is 0)
    _Index: TODO: Where to draw the Fibonacci line
    _FrontMargin: TODO: Fibonacci line front-margin
    _BackMargin: TODO: Fibonacci line back-margin
  Returns: TODO: No return value

Fibonacci(_a_Fibonacci, _a_PHiLo, _Provisional_PHiLo, _Index1, _FrontMargin1, _BackMargin1, _Transparent1, _Index2, _FrontMargin2, _BackMargin2, _Transparent2)
  TODO: Draw a Fibonacci line
  Parameters:
    _a_Fibonacci: TODO: Fibonacci Percentage Array
    _a_PHiLo: TODO: High-Low price array
    _Provisional_PHiLo: TODO: Provisional High-Low price (when _Index is 0)
    _Index1: TODO: Where to draw the Fibonacci line 1
    _FrontMargin1: TODO: Fibonacci line front-margin 1
    _BackMargin1: TODO: Fibonacci line back-margin 1
    _Transparent1: TODO: Transparent rate 1
    _Index2: TODO: Where to draw the Fibonacci line 2
    _FrontMargin2: TODO: Fibonacci line front-margin 2
    _BackMargin2: TODO: Fibonacci line back-margin 2
    _Transparent2: TODO: Transparent rate 2
  Returns: TODO: No return value

High_Low_Judgment(_Length, _Extension, _Difference)
  TODO: Judges High-Low
  Parameters:
    _Length: TODO: High-Low Confirmation Length
    _Extension: TODO: Length of extension when the difference did not open
    _Difference: TODO: Difference size
  Returns: TODO: _HiLo=High-Low flag 0:Neither high nor low、1:High、2:Low、3:High-Low
_PHi=high price、_PLo=low price、_IHi=High Price Index、_ILo=Low Price Index、
_Cnt=count、_ECnt=Extension count、
_DiffHi=Difference from Start(High)、_DiffLo=Difference from Start(Low)、
_StartHi=Start value(High)、_StartLo=Start value(Low)

High_Low_Data_AddedAndUpdated(_HiLo, _Histories, _PHi, _PLo, _IHi, _ILo, _DiffHi, _DiffLo, _a_PHiLo, _a_IHiLo, _a_FHiLo, _a_DHiLo)
  TODO: Adds and updates High-Low related arrays from given parameters
  Parameters:
    _HiLo: TODO: High-Low flag
    _Histories: TODO: Array size (High-Low length)
    _PHi: TODO: Price Hi
    _PLo: TODO: Price Lo
    _IHi: TODO: Index Hi
    _ILo: TODO: Index Lo
    _DiffHi: TODO: Difference in High
    _DiffLo: TODO: Difference in Low
    _a_PHiLo: TODO: High-Low price array
    _a_IHiLo: TODO: High-Low INDEX array
    _a_FHiLo: TODO: High-Low flag array 1:High 2:Low
    _a_DHiLo: TODO: High-Low Price Differential Array
  Returns: TODO: _PHiLo price array、_IHiLo indexed array、_FHiLo flag array、_DHiLo price-matching array、
Provisional_PHiLo Provisional price、Provisional_IHiLo 暫定インデックス

High_Low(_a_PHiLo, _a_IHiLo, _a_FHiLo, _a_DHiLo, _a_Fibonacci, _Length, _Extension, _Difference, _Histories, _ShowZigZag, _ZigZagColor1, _ZigZagWidth1, _ZigZagColor2, _ZigZagWidth2, _ShowZigZagLabel, _ShowHighLowBar, _ShowTrendLine, _TrendMultiLine, _TrendStartWidth, _TrendEndWidth, _TrendIncreWidth, _TrendStartTrans, _TrendEndTrans, _TrendIncreTrans, _TrendColorMode, _TrendColor1_1, _TrendColor1_2, _TrendColor2_1, _TrendColor2_2, _ShowFibonacci1, _FibIndex1, _FibFrontMargin1, _FibBackMargin1, _FibTransparent1, _ShowFibonacci2, _FibIndex2, _FibFrontMargin2, _FibBackMargin2, _FibTransparent2, _ShowInfoTable1, _TablePosition1, _ShowInfoTable2, _TablePosition2)
  TODO: Draw the contents of the High-Low array.
  Parameters:
    _a_PHiLo: TODO: High-Low price array
    _a_IHiLo: TODO: High-Low INDEX array
    _a_FHiLo: TODO: High-Low flag sequence 1:High 2:Low
    _a_DHiLo: TODO: High-Low Price Differential Array
    _a_Fibonacci: TODO: Fibonacci Gnar Matching
    _Length: TODO: Length of confirmation
    _Extension: TODO: Extension Length of extension when the difference did not open
    _Difference: TODO: Difference size
    _Histories: TODO: High-Low Length
    _ShowZigZag: TODO: ZigZag Display
    _ZigZagColor1: TODO: Colors of ZigZag1
    _ZigZagWidth1: TODO: Width of ZigZag1
    _ZigZagColor2: TODO: Colors of ZigZag2
    _ZigZagWidth2: TODO: Width of ZigZag2
    _ShowZigZagLabel: TODO: ZigZagLabel Display
    _ShowHighLowBar: TODO: High-Low Bar Display
    _ShowTrendLine: TODO: Trend Line Display
    _TrendMultiLine: TODO: Trend Multi Line Display
    _TrendStartWidth: TODO: Line width start value
    _TrendEndWidth: TODO: Line width end value
    _TrendIncreWidth: TODO: Line width increment value
    _TrendStartTrans: TODO: Starting transmittance value
    _TrendEndTrans: TODO: Transmittance End Value
    _TrendIncreTrans: TODO: Increased transmittance value
    _TrendColorMode: TODO: color mode
    _TrendColor1_1: TODO: Trend Color 1_1
    _TrendColor1_2: TODO: Trend Color 1_2
    _TrendColor2_1: TODO: Trend Color 2_1
    _TrendColor2_2: TODO: Trend Color 2_2
    _ShowFibonacci1: TODO: Fibonacci1 Display
    _FibIndex1: TODO: Fibonacci1 Index No.
    _FibFrontMargin1: TODO: Fibonacci1 Front margin
    _FibBackMargin1: TODO: Fibonacci1 Back Margin
    _FibTransparent1: TODO: Fibonacci1 Transmittance
    _ShowFibonacci2: TODO: Fibonacci2 Display
    _FibIndex2: TODO: Fibonacci2 Index No.
    _FibFrontMargin2: TODO: Fibonacci2 Front margin
    _FibBackMargin2: TODO: Fibonacci2 Back Margin
    _FibTransparent2: TODO: Fibonacci2 Transmittance
    _ShowInfoTable1: TODO: InfoTable1 Display
    _TablePosition1: TODO: InfoTable1 position
    _ShowInfoTable2: TODO: InfoTable2 Display
    _TablePosition2: TODO: InfoTable2 position
  Returns: TODO: 無し
techindicator

مكتبة باين

كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشور تحكمه قوانين الموقع.


يعمل أيضًا:

إخلاء المسؤولية