Tommy_Rich

TR_HighLow_Lib

Tommy_Rich Mis à jour   
Library "TR_HighLow_Lib"
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: 無し
Notes de version:
v2

更新:
Fibonacci(_a_Fibonacci, _a_PHiLo, _Provisional_PHiLo, _Index1, _FrontMargin1, _BackMargin1, _Transparent1, _TextColor1, _Index2, _FrontMargin2, _BackMargin2, _Transparent2, _TextColor2)
  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
    _TextColor1: TODO: Fibonacci text color 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
    _TextColor2: TODO: Fibonacci text color 2
  Returns: TODO: No return value

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: 無し
Notes de version:
v3

更新:
TrendLine(_a_PHigh, _a_PLow, _a_IHigh, _a_ILow, _Histories, _MultiLine, _StartWidth, _EndWidth, _IncreWidth, _StartTrans, _EndTrans, _IncreTrans, _ColorMode, _Color1_1, _Color1_2, _Color2_1, _Color2_2)
  TODO: Draw a Trend Line
  Parameters:
    _a_PHigh: TODO: High price array
    _a_PLow: TODO: Low price array
    _a_IHigh: TODO: High INDEX array
    _a_ILow: TODO: 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
  Returns: TODO: No return value

High_Low_Data_AddedAndUpdated(_HiLo, _Histories, _PHi, _PLo, _IHi, _ILo, _DiffHi, _DiffLo, _a_PHiLo, _a_IHiLo, _a_FHiLo, _a_DHiLo, _a_PHigh, _a_IHigh, _a_PLow, _a_ILow)
  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
    _a_PHigh: TODO: High Price Differential Array
    _a_IHigh: TODO: High INDEX array
    _a_PLow: TODO: Low Price Differential Array
    _a_ILow: TODO: Low INDEX 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_PHigh, _a_PLow, _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_PHigh: TODO: High price array
    _a_PLow: TODO: Low price 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: 無し
Notes de version:
v4

Fibonacci text size and text position support

更新:
Fibonacci(_Index2, _FrontMargin2, _BackMargin2, _Transparent2, _TextColor2, _TextMargin2, _LabelSize2)
  Parameters:
    _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
    _TextColor2: TODO: Fibonacci text color 2
    _TextMargin2: TODO: Fibonacci text margin 2
    _LabelSize2: TODO: Fibonacci label size 2
  Returns: TODO: No return value

High_Low(_a_PHiLo, _a_IHiLo, _a_FHiLo, _a_DHiLo, _a_PHigh, _a_PLow, _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, _FibTextColor1, _FibTextMargin1, _FibLabelSize1, _ShowFibonacci2, _FibIndex2, _FibFrontMargin2, _FibBackMargin2, _FibTransparent2, _FibTextColor2, _FibTextMargin2, _FibLabelSize2, _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_PHigh: TODO: High price array
    _a_PLow: TODO: Low price 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
    _FibTextColor1: TODO: Fibonacci1 TextColor
    _FibTextMargin1: TODO: Fibonacci1 TextMargin
    _FibLabelSize1: TODO: Fibonacci1 LabelSize
    _ShowFibonacci2: TODO: Fibonacci2 Display
    _FibIndex2: TODO: Fibonacci2 Index No.
    _FibFrontMargin2: TODO: Fibonacci2 Front margin
    _FibBackMargin2: TODO: Fibonacci2 Back Margin
    _FibTransparent2: TODO: Fibonacci2 Transmittance
    _FibTextColor2: TODO: Fibonacci2 TextColor
    _FibTextMargin2: TODO: Fibonacci2 TextMargin
    _FibLabelSize2: TODO: Fibonacci2 LabelSize
    _ShowInfoTable1: TODO: InfoTable1 Display
    _TablePosition1: TODO: InfoTable1 position
    _ShowInfoTable2: TODO: InfoTable2 Display
    _TablePosition2: TODO: InfoTable2 position
  Returns: TODO: 無し
Notes de version:
v5

The color of the trend line corresponding to the selected Fibonacci can now be changed.

更新:
Fibonacci(_a_Fibonacci, _a_PHiLo, _a_IHiLo, _Provisional_PHiLo, _Index1, _FrontMargin1, _BackMargin1, _Transparent1, _TextColor1, _TextMargin1, _LabelSize1, _ChangeColor1, _TrendColor1, _TrendLineWidth1, _Index2, _FrontMargin2, _BackMargin2, _Transparent2, _TextColor2, _TextMargin2, _LabelSize2, _ChangeColor2, _TrendColor2, _TrendLineWidth2)
  TODO: Draw a Fibonacci line
  Parameters:
    _a_Fibonacci: TODO: Fibonacci Percentage Array
    _a_PHiLo: TODO: High-Low price array
    _a_IHiLo: TODO: High-Low INDEX 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
    _TextColor1: TODO: Fibonacci text color 1
    _TextMargin1: TODO: Fibonacci text margin 1
    _LabelSize1: TODO: Fibonacci label size 1
    _ChangeColor1: TODO: Change the color of the corresponding trend line 1
    _TrendColor1: TODO: Color of trend line to be changed 1
    _TrendLineWidth1: TODO: Width of trend line to be changed 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
    _TextColor2: TODO: Fibonacci text color 2
    _TextMargin2: TODO: Fibonacci text margin 2
    _LabelSize2: TODO: Fibonacci label size 2
    _ChangeColor2: TODO: Change the color of the corresponding trend line 2
    _TrendColor2: TODO: Color of trend line to be changed 2
    _TrendLineWidth2: TODO: Width of trend line to be changed 2
  Returns: TODO: No return value

High_Low(_a_PHiLo, _a_IHiLo, _a_FHiLo, _a_DHiLo, _a_PHigh, _a_PLow, _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, _FibTextColor1, _FibTextMargin1, _FibLabelSize1, _FibTitle1, _FibChangeColor1, _FibTrendColor1, _FibTrendLineWidth1, _ShowFibonacci2, _FibIndex2, _FibFrontMargin2, _FibBackMargin2, _FibTransparent2, _FibTextColor2, _FibTextMargin2, _FibLabelSize2, _FibTitle2, _FibChangeColor2, _FibTrendColor2, _FibTrendLineWidth2, _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_PHigh: TODO: High price array
    _a_PLow: TODO: Low price 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
    _FibTextColor1: TODO: Fibonacci1 TextColor
    _FibTextMargin1: TODO: Fibonacci1 TextMargin
    _FibLabelSize1: TODO: Fibonacci1 LabelSize
    _FibTitle1: TODO: Fibonacci1 Title
    _FibChangeColor1: TODO: Fibonacci1 Change the color of the trend line?
    _FibTrendColor1: TODO: Fibonacci1 Trend line color
    _FibTrendLineWidth1: TODO: Fibonacci1 Trend line width
    _ShowFibonacci2: TODO: Fibonacci2 Display
    _FibIndex2: TODO: Fibonacci2 Index No.
    _FibFrontMargin2: TODO: Fibonacci2 Front margin
    _FibBackMargin2: TODO: Fibonacci2 Back Margin
    _FibTransparent2: TODO: Fibonacci2 Transmittance
    _FibTextColor2: TODO: Fibonacci2 TextColor
    _FibTextMargin2: TODO: Fibonacci2 TextMargin
    _FibLabelSize2: TODO: Fibonacci2 LabelSize
    _FibTitle2: TODO: Fibonacci2 Title
    _FibChangeColor2: TODO: Fibonacci2 Change the color of the trend line?
    _FibTrendColor2: TODO: Fibonacci2 Trend line color
    _FibTrendLineWidth2: TODO: Fibonacci2 Trend line width
    _ShowInfoTable1: TODO: InfoTable1 Display
    _TablePosition1: TODO: InfoTable1 position
    _ShowInfoTable2: TODO: InfoTable2 Display
    _TablePosition2: TODO: InfoTable2 position
  Returns: TODO: 無し
Notes de version:
v6

(1) Bug Fixes
(2) Fibonacci label position adjustment support
Notes de version:
v7

(1) Bug Fixes
(2) Fibonacci label position adjustment support

Bibliothèque Pine

Dans le véritable esprit de TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur ! Vous pouvez utiliser cette bibliothèque à titre privé ou dans d'autres publications open-source, mais la réutilisation de ce code dans une publication est régie par notre Règlement.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser cette bibliothèque?

Copiez le texte dans le presse-papiers et collez-le dans votre script.