JapaneseCandlestickPatternsLibrary   "JapaneseCandlestickPatterns" 
Japanese Candlestick Patterns is a library of functions that enables the detection of popular Japanese candlestick patterns such as Doji, Hammer, and Engulfing, among others. The library provides a simple yet powerful way to analyze financial markets and make informed trading decisions. Japanese Candlestick Patterns library can help you identify potential trading opportunities.
 isDojiCandle() 
 isGravestoneDojiCandle() 
 isDragonflyDojiCandle() 
 isEveningDojiStarCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isLongLeggedDojiCandle() 
 isMorningDojiStarCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isBullishCounterattackLinesCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isBearishCounterattackLinesCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isDarkCloudCoverCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isBullishEngulfingCandle() 
 isBearishEngulfingCandle() 
 isHammerCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isHangingManCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isHaramiBearishCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isHaramiBullishCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isInNeckCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isOnNeckCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isPiercingCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 threeBlackCrowsCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isThrustingNeckCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isUpsideGapTwoCrowsCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isAbandonedBabyTopCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isAbandonedBabyBottomCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isEveningStarCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isInvertedHammerCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isMorningStarCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isShootingStarCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isRisingThreeMethodsCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isFallingThreeMethodsCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isUpsideTasukiGapCandle(isUpTrend) 
  Parameters:
     isUpTrend (bool) 
 isDownsideGapTasukiCandle(isDownTrend) 
  Parameters:
     isDownTrend (bool) 
 isLongLowerShadowCandle() 
 isLongUpperShadowCandle()
Penunjuk dan strategi
gFancyMALibrary   "gFancyMA" 
 printLbl(y, x, c, m, b, s) 
  Parameters:
     y (float) 
     x (int) 
     c (color) 
     m (string) 
     b (bool) 
     s (string)
debugLibrary   "debug" 
Show Array or Matrix Elements In Table
Use anytime you want to see the elements in an array or a matrix displayed.
Effective debugger, particularly for strategies and complex logic structures.
Look in code to find instructions. Reach out if you need assistance.
 Functionality includes: 
 
 Viewing the contents of an array or matrix on screen. 
 Track variables and variable updates using debug()
 Track if and when local scopes fire using debugs()
 
Types Allowed:
 
 string
 float
 int
 string
 
 debug(_col, _row, _name, _value, _msg, _ip) 
  Debug Variables in Matrix
  Parameters:
     _col (int) : (int) Assign Column
     _row (int) : (int) Assign Row
     _name (matrix) : (simple matrix) Matrix Name
     _value (string) : (string) Assign variable as a string (str.tostring())
     _msg (string) 
     _ip (int) : (int) (default 1) 1 for continuous updates. 2 for barstate.isnew updates. 3 for barstate.isconfirmed updates. -1 to only add once
  Returns: Returns Variable _value output and _msg formatted as '_msg: variableOutput' in designated column and row
 debug(_col, _row, _name, _value, _msg, _ip) 
  Parameters:
     _col (int) 
     _row (int) 
     _name (matrix) 
     _value (float) 
     _msg (string) 
     _ip (int) 
 debug(_col, _row, _name, _value, _msg, _ip) 
  Parameters:
     _col (int) 
     _row (int) 
     _name (matrix) 
     _value (int) 
     _msg (string) 
     _ip (int) 
 debug(_col, _row, _name, _value, _msg, _ip) 
  Parameters:
     _col (int) 
     _row (int) 
     _name (matrix) 
     _value (bool) 
     _msg (string) 
     _ip (int) 
 debugs(_col, _row, _name, _msg) 
  Debug Scope in Matrix - Identify When Scope Is Accessed
  Parameters:
     _col (int) : (int) Column Number
     _row (int) : (int) Row Number
     _name (matrix) : (simple matrix) Matrix Name
     _msg (string) : (string) Message
  Returns: Message appears in debug panel using _col/_row as the identifier
 viewArray(_arrayName, _pos, _txtSize, _tRows, s_index, s_border, _rowCol, bCol, _fillCond, _offset) 
  Array Element Display (Supports float , int , string , and bool )
  Parameters:
     _arrayName (float ) : ID of Array to be Displayed
     _pos (string) : Position for Table
     _txtSize (string) : Size of Table Cell Text
     _tRows (int) : Number of Rows to Display Data In (columns will be calculated accordingly)
     s_index (bool) : (Optional. Default True.) Show/Hide Index Numbers
     s_border (bool) : (Optional. Default False.) Show/Hide Border
     _rowCol (string) 
     bCol (color) : = (Optional. Default Black.) Frame/Border Color.
     _fillCond (bool) : (Optional) Conditional statement. Function displays array only when true. For instances where size is not immediately known or indices are na. Default = true, indicating array size is set at bar_index 0.
     _offset (int) : (Optional) Use to view historical array states. Default = 0, displaying realtime bar.
  Returns: A Display of Array Values in a Table
 viewArray(_arrayName, _pos, _txtSize, _tRows, s_index, s_border, _rowCol, bCol, _fillCond, _offset) 
  Parameters:
     _arrayName (int ) 
     _pos (string) 
     _txtSize (string) 
     _tRows (int) 
     s_index (bool) 
     s_border (bool) 
     _rowCol (string) 
     bCol (color) 
     _fillCond (bool) 
     _offset (int) 
 viewArray(_arrayName, _pos, _txtSize, _tRows, s_index, s_border, _rowCol, bCol, _fillCond, _offset) 
  Parameters:
     _arrayName (string ) 
     _pos (string) 
     _txtSize (string) 
     _tRows (int) 
     s_index (bool) 
     s_border (bool) 
     _rowCol (string) 
     bCol (color) 
     _fillCond (bool) 
     _offset (int) 
 viewArray(_arrayName, _pos, _txtSize, _tRows, s_index, s_border, _rowCol, bCol, _fillCond, _offset) 
  Parameters:
     _arrayName (bool ) 
     _pos (string) 
     _txtSize (string) 
     _tRows (int) 
     s_index (bool) 
     s_border (bool) 
     _rowCol (string) 
     bCol (color) 
     _fillCond (bool) 
     _offset (int) 
 viewMatrix(_matrixName, _pos, _txtSize, s_index, _resetIdx, s_border, bCol, _fillCond, _offset) 
  Matrix Element Display (Supports , , , and )
  Parameters:
     _matrixName (matrix) : ID of Matrix to be Displayed
     _pos (string) : Position for Table
     _txtSize (string) : Size of Table Cell Text
     s_index (bool) : (Optional. Default True.) Show/Hide Index Numbers
     _resetIdx (bool) 
     s_border (bool) : (Optional. Default False.) Show/Hide Border
     bCol (color) : = (Optional. Default Black.) Frame/Border Color.
     _fillCond (bool) : (Optional) Conditional statement. Function displays matrix only when true. For instances where size is not immediately known or indices are na. Default = true, indicating matrix size is set at bar_index 0.
     _offset (int) : (Optional) Use to view historical matrix states. Default = 0, displaying realtime bar.
  Returns: A Display of Matrix Values in a Table
 viewMatrix(_matrixName, _pos, _txtSize, s_index, _resetIdx, s_border, bCol, _fillCond, _offset) 
  Parameters:
     _matrixName (matrix) 
     _pos (string) 
     _txtSize (string) 
     s_index (bool) 
     _resetIdx (bool) 
     s_border (bool) 
     bCol (color) 
     _fillCond (bool) 
     _offset (int) 
 viewMatrix(_matrixName, _pos, _txtSize, s_index, _resetIdx, s_border, bCol, _fillCond, _offset) 
  Parameters:
     _matrixName (matrix) 
     _pos (string) 
     _txtSize (string) 
     s_index (bool) 
     _resetIdx (bool) 
     s_border (bool) 
     bCol (color) 
     _fillCond (bool) 
     _offset (int) 
 viewMatrix(_matrixName, _pos, _txtSize, s_index, _resetIdx, s_border, bCol, _fillCond, _offset) 
  Parameters:
     _matrixName (matrix) 
     _pos (string) 
     _txtSize (string) 
     s_index (bool) 
     _resetIdx (bool) 
     s_border (bool) 
     bCol (color) 
     _fillCond (bool) 
     _offset (int)
ATR_InfoWhat Is the Average True Range (ATR)? 
The average true range (ATR) is a technical analysis indicator, introduced by market technician J. Welles Wilder Jr. in his book New Concepts in Technical Trading Systems, that measures market volatility by decomposing the entire range of an asset price for that period.
Each instrument per unit of time passes its average value of the true range, but there are moments when the volatility explodes or abruptly decays, these phenomena introduce large distortions into the average value of the true range.
The ATR_WPB function calculates the average value of the true range for the specified number of bars, while excluding paranormally large and paranormally small bars from the calculation of the average.
For example, if the instrument has passed a small ATR value, then it has many chances to continue moving, but if the instrument has passed its ATR value, then the chances of continuing to move are extremely low.
Library   "ATR_Info" 
ATR_Info: Calculates ATR without paranormal bars
 ATR_WPB(source, period, psmall, pbig) 
  ATR_WPB: Calculates ATR without paranormal bars
  Parameters:
     source (float) : ATR_WPB: (series float) The sequence of data on the basis of which the ATP calculation will be made
     period (int) : ATR_WPB: (int) Sequence size for ATR calculation
     psmall (float) : ATR_WPB: (float) Coefficient for paranormally small bar
     pbig (float) : ATR_WPB: (float) Coefficient for paranormally big bar
  Returns: ATR_WPB: (float) ATR without paranormal bars
CandlesGroup_TypesLibrary   "CandlesGroup_Types" 
CandlesGroup Type allows you to efficiently store and access properties of all the candles in your chart.
You can easily manipulate large datasets, work with multiple timeframes, or analyze multiple symbols simultaneously. By encapsulating the properties of each candle within a CandlesGroup object, you gain a convenient and organized way to handle complex candlestick patterns and data.
For usage instructions and detailed examples, please refer to the comments and examples provided in the source code.
 method init(_self) 
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) 
 method init(_self, propertyNames) 
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) 
     propertyNames (string ) 
 method get(_self, key) 
  get values array from a given property name
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     key (string) : : key name of selected property. Default is "index"
  Returns: values array
 method size(_self) 
  get size of values array. By default it equals to current bar_index
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
  Returns: size of values array
 method push(_self, key, value) 
  push single value to specific property
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     key (string) : : key name of selected property
     value (float) : : property value
  Returns: CandlesGroup object
 method push(_self, arr) 
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) 
     arr (float ) 
 method populate(_self, ohlc) 
  populate ohlc to CandlesGroup
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     ohlc (float ) : : array of ohlc
  Returns: CandlesGroup object
 method populate(_self, values, propertiesNames) 
  populate values base on given properties Names
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     values (float ) : : array of property values
     propertiesNames (string ) : : an array stores property names. Use as keys to get values
  Returns: CandlesGroup object
 method populate(_self) 
  populate values (default setup)
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
  Returns: CandlesGroup object
 method lookback(arr, bars_lookback) 
  get property value on previous candles. For current candle, use *.lookback()
  Namespace types: float 
  Parameters:
     arr (float ) : : array of selected property values
     bars_lookback (int) : : number of candles lookback. 0 = current candle. Default is 0
  Returns: single property value
 method highest_within_bars(_self, hiSource, start, end, useIndex) 
  get the highest property value between specific candles
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     hiSource (string) : : key name of selected property
     start (int) : : start bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true
     end (int) : : end bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true. Default is 0
     useIndex (bool) : : use index instead of lookback value. Default = false
  Returns: the highest value within candles
 method highest_within_bars(_self, returnWithIndex, hiSource, start, end, useIndex) 
  get the highest property value and bar index between specific candles
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     returnWithIndex (bool) : : the function only applicable when it is true
     hiSource (string) : : key name of selected property
     start (int) : : start bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true
     end (int) : : end bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true. Default is 0
     useIndex (bool) : : use index instead of lookback value. Default = false
  Returns:  
 method highest_point_within_bars(_self, hiSource, start, end, useIndex) 
  get a Point object which contains highest property value between specific candles
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     hiSource (string) : : key name of selected property
     start (int) : : start bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true
     end (int) : : end bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true. Default is 0
     useIndex (bool) : : use index instead of lookback value. Default = false
  Returns: Point object contains highest property value
 method lowest_within_bars(_self, loSource, start, end, useIndex) 
  get the lowest property value between specific candles
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     loSource (string) : : key name of selected property
     start (int) : : start bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true
     end (int) : : end bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true. Default is 0
     useIndex (bool) : : use index instead of lookback value. Default = false
  Returns: the lowest value within candles
 method lowest_within_bars(_self, returnWithIndex, loSource, start, end, useIndex) 
  get the lowest property value and bar index between specific candles
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     returnWithIndex (bool) : : the function only applicable when it is true
     loSource (string) : : key name of selected property
     start (int) : : start bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true
     end (int) : : end bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true. Default is 0
     useIndex (bool) : : use index instead of lookback value. Default = false
  Returns:  
 method lowest_point_within_bars(_self, loSource, start, end, useIndex) 
  get a Point object which contains lowest property value between specific candles
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     loSource (string) : : key name of selected property
     start (int) : : start bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true
     end (int) : : end bar for calculation. Default is candles lookback value from current candle. 'index' value is used if 'useIndex' = true. Default is 0
     useIndex (bool) : : use index instead of lookback value. Default = false
  Returns: Point object contains lowest property value
 method time2bar(_self, t) 
  Convert UNIX time to bar index of active chart
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     t (int) : : UNIX time
  Returns: bar index
 method time2bar(_self, timezone, YYYY, MMM, DD, hh, mm, ss) 
  Convert timestamp to bar index of active chart. User defined timezone required
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     timezone (string) : : User defined timezone
     YYYY (int) : : Year
     MMM (int) : : Month
     DD (int) : : Day
     hh (int) : : Hour. Default is 0
     mm (int) : : Minute. Default is 0
     ss (int) : : Second. Default is 0
  Returns: bar index
 method time2bar(_self, YYYY, MMM, DD, hh, mm, ss) 
  Convert timestamp to bar index of active chart
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     YYYY (int) : : Year
     MMM (int) : : Month
     DD (int) : : Day
     hh (int) : : Hour. Default is 0
     mm (int) : : Minute. Default is 0
     ss (int) : : Second. Default is 0
  Returns: bar index
 method get_prop_from_time(_self, key, t) 
  get single property value from UNIX time
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     key (string) : : key name of selected property
     t (int) : : UNIX time
  Returns: single property value
 method get_prop_from_time(_self, key, timezone, YYYY, MMM, DD, hh, mm, ss) 
  get single property value from timestamp. User defined timezone required
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     key (string) : : key name of selected property
     timezone (string) : : User defined timezone
     YYYY (int) : : Year
     MMM (int) : : Month
     DD (int) : : Day
     hh (int) : : Hour. Default is 0
     mm (int) : : Minute. Default is 0
     ss (int) : : Second. Default is 0
  Returns: single property value
 method get_prop_from_time(_self, key, YYYY, MMM, DD, hh, mm, ss) 
  get single property value from timestamp
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     key (string) : : key name of selected property
     YYYY (int) : : Year
     MMM (int) : : Month
     DD (int) : : Day
     hh (int) : : Hour. Default is 0
     mm (int) : : Minute. Default is 0
     ss (int) : : Second. Default is 0
  Returns: single property value
 method bar2time(_self, index) 
  Convert bar index of active chart to UNIX time
  Namespace types: CandlesGroup
  Parameters:
     _self (CandlesGroup) : : CandlesGroup object
     index (int) : : bar index
  Returns: UNIX time
 Point 
  A point on chart
  Fields:
     price (series float) : : price value
     bar (series int) : : bar index
     bartime (series int) : : time in UNIX format of bar
 Property 
  Property object which contains values of all candles
  Fields:
     name (series string) : : name of property
     values (float ) : : an array stores values of all candles. Size of array = bar_index
 CandlesGroup 
  Candles Group object which contains properties of all candles
  Fields:
     propertyNames (string ) : : an array stores property names. Use as keys to get values
     properties (Property ) : : array of Property objects
gFancyMALibrary   "GalacticS2021" 
 printLbl(y, x, c, m, b) 
  Parameters:
     y (float) 
     x (int) 
     c (color) 
     m (string) 
     b (bool)
lib_zigLibrary   "lib_zig" 
Object oriented implementation of ZigZag
 method tostring(this, date_format) 
  Namespace types: Zigzag
  Parameters:
     this (Zigzag) 
     date_format (simple string) 
 method update(this) 
  Namespace types: Zigzag
  Parameters:
     this (Zigzag) 
 method draw(this, colors) 
  Namespace types: Zigzag
  Parameters:
     this (Zigzag) 
     colors (PivotColors type from robbatt/lib_pivot/19) 
 Zigzag 
  Fields:
     max_pivots (series__integer) 
     hldata (|robbatt/lib_pivot/19;HLData|#OBJ) 
     pivots (array__|robbatt/lib_pivot/19;Pivot|#OBJ)
lib_pivotLibrary   "lib_pivot" 
Object oriented implementation of Pivot methods.
 method tostring(this) 
  Converts HLData to a json string representation
  Namespace types: HLData
  Parameters:
     this (HLData) : HLData
  Returns: string representation of Pivot
 method tostring(this, date_format) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     date_format (simple string) 
 method tostring(this, date_format) 
  Namespace types: Pivot 
  Parameters:
     this (Pivot ) 
     date_format (simple string) 
 method get_color(this, mode) 
  Namespace types: PivotColors
  Parameters:
     this (PivotColors) 
     mode (int) 
 method get_label_text(this) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
 method direction(this) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
 method same_direction_as(this, other) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     other (Pivot) 
 method exceeds(this, price) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     price (float) 
 method exceeds(this, other) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     other (Pivot) 
 method exceeded_by(this, price) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     price (float) 
 method exceeded_by(this, other) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     other (Pivot) 
 method retracement_ratio(this, lastPivot, sec_lastPivot) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     lastPivot (Pivot) 
     sec_lastPivot (Pivot) 
 ratio_target(sec_lastPivot, lastPivot, target_ratio) 
  Parameters:
     sec_lastPivot (Pivot) 
     lastPivot (Pivot) 
     target_ratio (float) 
 method update(this, ref_highest, ref_lowest) 
  Namespace types: HLData
  Parameters:
     this (HLData) 
     ref_highest (float) 
     ref_lowest (float) 
 method update(this, bar_time, bar_idx, price, prev) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     bar_time (int) 
     bar_idx (int) 
     price (float) 
     prev (Pivot) 
 method create_next(this, bar_time, bar_idx, price) 
  Namespace types: Pivot
  Parameters:
     this (Pivot) 
     bar_time (int) 
     bar_idx (int) 
     price (float) 
 HLData 
  HLData wraps the data received from ta.highest, ta.highestbars, ta.lowest, ta.lowestbars, as well as the reference sources
  Fields:
     length (series int) : lookback length for pivot points
     highest_offset (series int) : offset to highest value bar
     lowest_offset (series int) : offset to lowest value bar
     highest (series float) : highest value within lookback bars
     lowest (series float) : lowest value within lookback bars
     new_highest (series bool) : update() will set this true if the current candle forms a new highest high at the last (current) bar of set period (length)
     new_lowest (series bool) : update() will set this true if the current candle forms a new lowest low at the last (current) bar of set period (length)
     new_highest_fractal (series bool) : update() will set this true if the current candle forms a new fractal high at the center of set period (length)
     new_lowest_fractal (series bool) : update() will set this true if the current candle forms a new fractal low at the center of set period (length)
 PivotColors 
  Pivot colors for different modes
  Fields:
     hh (series color) : Color for Pivot mode 2 (HH)
     lh (series color) : Color for Pivot mode 1 (LH)
     hl (series color) : Color for Pivot mode -1 (HL)
     ll (series color) : Color for Pivot mode -2 (LL)
 Pivot 
  Pivot additional pivot data around basic Point
  Fields:
     point (Point type from robbatt/lib_plot_objects/5) 
     mode (series int) : can be -2/-1/1/2 for LL/HL/LH/HH
     price_movement (series float) : The price difference between this and the previous pivot point in the opposite direction
     retracement_ratio (series float) : The ratio between this price_movement and the previous
     prev (Pivot)
Global_Public_Holidays_23_24Library   "Global_Public_Holidays_23_24" 
 NYSE_closed() 
 LSE_closed() 
 JPX_closed() 
 ASX_closed() 
 FX_closed()
lib_plot_objectsLibrary   "lib_plot_objects" 
library wrapping basic builtin object constructors, to be able to do calculations with points/lines/boxes/triangles/polygons via libraries and on securities. inspired by Trendoscope's ( and ) with added update mechanism to not have to recreate objects on every iteration for continously drawn items, automated xloc selection for coordinates, compatibility check for Points, added Triangle and Polygon types, object reflection via tostring to valid json (logging via webhook)
 method assert_same_xloc(a, b, test) 
  checks two points for compatibility, i.e. having the same xloc
  Namespace types: Point
  Parameters:
     a (Point) 
     b (Point) 
     test (Test type from robbatt/lib_unit/6) 
 method assert_same_xloc(a, b, test) 
  checks two lines for compatibility, i.e. having the same xloc
  Namespace types: Line
  Parameters:
     a (Line) 
     b (Line) 
     test (Test type from robbatt/lib_unit/6) 
 method or_default(args) 
  checks args oject for being na, if so, provide a default instead
  Namespace types: LineArgs
  Parameters:
     args (LineArgs) 
 method or_default(args) 
  checks args oject for being na, if so, provide a default instead
  Namespace types: LabelArgs
  Parameters:
     args (LabelArgs) 
 method or_default(args) 
  checks args oject for being na, if so, provide a default instead
  Namespace types: BoxArgs
  Parameters:
     args (BoxArgs) 
 method or_default(args) 
  checks args oject for being na, if so, provide a default instead
  Namespace types: BoxTextArgs
  Parameters:
     args (BoxTextArgs) 
 method x(point, xloc) 
  automatically returns the correct x coordinate, based on the point's set xloc
  Namespace types: Point
  Parameters:
     point (Point) 
     xloc (string) 
 method tostring(this, date_format) 
  converts object to json representation
  Namespace types: Point
  Parameters:
     this (Point) 
     date_format (string) 
 method tostring(this, date_format) 
  converts object to json representation
  Namespace types: Point 
  Parameters:
     this (Point ) 
     date_format (string) 
 method tostring(this) 
  converts object to json representation
  Namespace types: LineArgs
  Parameters:
     this (LineArgs) 
 method tostring(this, date_format) 
  converts object to json representation
  Namespace types: Line
  Parameters:
     this (Line) 
     date_format (string) 
 method tostring(this) 
  Namespace types: LabelArgs
  Parameters:
     this (LabelArgs) 
 method tostring(this, date_format) 
  Namespace types: Label
  Parameters:
     this (Label) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: LineFill
  Parameters:
     this (LineFill) 
     date_format (string) 
 method tostring(this) 
  Namespace types: BoxArgs
  Parameters:
     this (BoxArgs) 
 method tostring(this) 
  Namespace types: BoxTextArgs
  Parameters:
     this (BoxTextArgs) 
 method tostring(this, date_format) 
  Namespace types: Box
  Parameters:
     this (Box) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: Triangle
  Parameters:
     this (Triangle) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: TriangleFill
  Parameters:
     this (TriangleFill) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: Polygon
  Parameters:
     this (Polygon) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: PolygonFill
  Parameters:
     this (PolygonFill) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: Line 
  Parameters:
     this (Line ) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: Box 
  Parameters:
     this (Box ) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: Triangle 
  Parameters:
     this (Triangle ) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: Polygon 
  Parameters:
     this (Polygon ) 
     date_format (string) 
 method tostring(this, date_format) 
  Namespace types: PolygonFill 
  Parameters:
     this (PolygonFill ) 
     date_format (string) 
 method create_center(points) 
  Namespace types: Point 
  Parameters:
     points (Point ) 
 method create_center(this, other) 
  Namespace types: Point
  Parameters:
     this (Point) 
     other (Point) 
 method create_center(this) 
  Namespace types: Line
  Parameters:
     this (Line) 
 method create_line(this, other, args) 
  Namespace types: Point
  Parameters:
     this (Point) 
     other (Point) 
     args (LineArgs) 
 method create_triangle(this, b, c, args) 
  Namespace types: Point
  Parameters:
     this (Point) 
     b (Point) 
     c (Point) 
     args (LineArgs) 
 method create_triangle(this, c) 
  Namespace types: Line
  Parameters:
     this (Line) 
     c (Point) 
 method create_box(this, other, txt, args, text_args) 
  Namespace types: Point
  Parameters:
     this (Point) 
     other (Point) 
     txt (string) 
     args (BoxArgs) 
     text_args (BoxTextArgs) 
 method create_box(this, txt, args, text_args) 
  Namespace types: Line
  Parameters:
     this (Line) 
     txt (string) 
     args (BoxArgs) 
     text_args (BoxTextArgs) 
 method create_polygon(points, args) 
  Namespace types: Point 
  Parameters:
     points (Point ) 
     args (LineArgs) 
 method create_polygon(start, others, args) 
  Namespace types: Point
  Parameters:
     start (Point) 
     others (Point ) 
     args (LineArgs) 
 method create_fill(this, other, fill_color) 
  Namespace types: Line
  Parameters:
     this (Line) 
     other (Line) 
     fill_color (color) 
 method create_fill(this, fill_color) 
  Namespace types: Triangle
  Parameters:
     this (Triangle) 
     fill_color (color) 
 method create_fill(this, fill_color) 
  Namespace types: Polygon
  Parameters:
     this (Polygon) 
     fill_color (color) 
 method create_label(this, txt, args, tooltip) 
  Namespace types: Point
  Parameters:
     this (Point) 
     txt (string) 
     args (LabelArgs) 
     tooltip (string) 
 method create_label(this, txt, args, tooltip) 
  Namespace types: Line
  Parameters:
     this (Line) 
     txt (string) 
     args (LabelArgs) 
     tooltip (string) 
 method create_label(this, txt, args, tooltip) 
  Namespace types: Box
  Parameters:
     this (Box) 
     txt (string) 
     args (LabelArgs) 
     tooltip (string) 
 method create_label(this, txt, args, tooltip) 
  Namespace types: Triangle
  Parameters:
     this (Triangle) 
     txt (string) 
     args (LabelArgs) 
     tooltip (string) 
 method create_label(this, txt, args, tooltip) 
  Namespace types: Polygon
  Parameters:
     this (Polygon) 
     txt (string) 
     args (LabelArgs) 
     tooltip (string) 
 method update(this, bar_time, bar_idx, price) 
  Namespace types: Point
  Parameters:
     this (Point) 
     bar_time (int) 
     bar_idx (int) 
     price (float) 
 method update(this, update) 
  Namespace types: Point
  Parameters:
     this (Point) 
     update (Point) 
 method update(this, point) 
  Namespace types: Label
  Parameters:
     this (Label) 
     point (Point) 
 method update(this, start, end) 
  Namespace types: Line
  Parameters:
     this (Line) 
     start (Point) 
     end (Point) 
 method update(this, left_top, right_bottom) 
  Namespace types: Box
  Parameters:
     this (Box) 
     left_top (Point) 
     right_bottom (Point) 
 method update(this, a, b, c) 
  Namespace types: Triangle
  Parameters:
     this (Triangle) 
     a (Point) 
     b (Point) 
     c (Point) 
 method update(this, points) 
  Namespace types: Polygon
  Parameters:
     this (Polygon) 
     points (Point ) 
 method delete(this) 
  Namespace types: Line
  Parameters:
     this (Line) 
 method delete(this) 
  Namespace types: Label
  Parameters:
     this (Label) 
 method delete(this) 
  Namespace types: LineFill
  Parameters:
     this (LineFill) 
 method delete(this) 
  Namespace types: Box
  Parameters:
     this (Box) 
 method delete(this) 
  Namespace types: TriangleFill
  Parameters:
     this (TriangleFill) 
 method delete(this) 
  Namespace types: Triangle
  Parameters:
     this (Triangle) 
 method delete(this) 
  Namespace types: Polygon
  Parameters:
     this (Polygon) 
 method delete(this) 
  Namespace types: PolygonFill
  Parameters:
     this (PolygonFill) 
 method delete(this) 
  Namespace types: Line 
  Parameters:
     this (Line ) 
 method delete(this) 
  Namespace types: Label 
  Parameters:
     this (Label ) 
 method delete(this) 
  Namespace types: LineFill 
  Parameters:
     this (LineFill ) 
 method delete(this) 
  Namespace types: Box 
  Parameters:
     this (Box ) 
 method delete(this) 
  Namespace types: TriangleFill 
  Parameters:
     this (TriangleFill ) 
 method delete(this) 
  Namespace types: Polygon 
  Parameters:
     this (Polygon ) 
 method delete(this) 
  Namespace types: Triangle 
  Parameters:
     this (Triangle ) 
 method delete(this) 
  Namespace types: PolygonFill 
  Parameters:
     this (PolygonFill ) 
 method draw(this) 
  Namespace types: Label
  Parameters:
     this (Label) 
 method draw(this) 
  Namespace types: Line
  Parameters:
     this (Line) 
 method draw(this) 
  Namespace types: Box
  Parameters:
     this (Box) 
 method draw(this) 
  Namespace types: Triangle
  Parameters:
     this (Triangle) 
 method draw(this) 
  Namespace types: Polygon
  Parameters:
     this (Polygon) 
 method draw(this) 
  Namespace types: LineFill
  Parameters:
     this (LineFill) 
 method draw(this) 
  Namespace types: TriangleFill
  Parameters:
     this (TriangleFill) 
 method draw(this) 
  Namespace types: PolygonFill
  Parameters:
     this (PolygonFill) 
 Point 
  Fields:
     bar_time (series int) : time based x coordinate
     bar_idx (series int) : bar index based x coordinate
     price (series float) : price based y coordinate
     xloc (series string) : To select if x coordinate is represented by bar_idx or bar_time. Possible values: xloc.bar_index and xloc.bar_time. Default is xloc.bar_index.
 LabelArgs 
  Fields:
     text_color (series color) : Text color.
     bg_color (series color) : Color of the label border and arrow.
     text_font_family (series string) : The font family of the text. Optional. The default value is font.family_default. Possible values: font.family_default, font.family_monospace.
     yloc (series string) : Possible values are yloc.price, yloc.abovebar, yloc.belowbar. If yloc=yloc.price, y argument specifies the price of the label position. If yloc=yloc.abovebar, label is located above bar. If yloc=yloc.belowbar, label is located below bar. Default is yloc.price.
     style (series string) : Label style. Possible values: label.style_none, label.style_xcross, label.style_cross, label.style_triangleup, label.style_triangledown, label.style_flag, label.style_circle, label.style_arrowup, label.style_arrowdown, label.style_label_up, label.style_label_down, label.style_label_left, label.style_label_right, label.style_label_lower_left, label.style_label_lower_right, label.style_label_upper_left, label.style_label_upper_right, label.style_label_center, label.style_square, label.style_diamond, label.style_text_outline. Default is label.style_label_down.
     size (series string) : Label size. Possible values: size.auto, size.tiny, size.small, size.normal, size.large, size.huge. Default value is size.normal.
     text_align (series string) : Label text alignment. Possible values: text.align_left, text.align_center, text.align_right. Default value is text.align_center.
 Label 
  Fields:
     point (Point) : The Label coordinates
     txt (series string) : Label text. Default is empty string.
     args (LabelArgs) : Wrapper for reusable arguments for label.new()
     tooltip (series string) : Hover to see tooltip label.
     plot (series label) : The label object to be added and plotted via draw()
 LineArgs 
  Fields:
     line_color (series color) : Line color.
     style (series string) : Line style. Possible values: line.style_solid, line.style_dotted, line.style_dashed, line.style_arrow_left, line.style_arrow_right, line.style_arrow_both.
     width (series int) : Line width in pixels.
     extend (series string) : f extend=extend.none, draws segment starting at point (x1, y1) and ending at point (x2, y2). If extend is equal to extend.right or extend.left, draws a ray starting at point (x1, y1) or (x2, y2), respectively. If extend=extend.both, draws a straight line that goes through these points. Default value is extend.none.
 Line 
  Fields:
     start (Point) : starting point of the line
     end (Point) 
     args (LineArgs) : Wrapper for reusable arguments for line.new()
     plot (series line) : The line object to be added and plotted via draw()
 LineFill 
  Fields:
     a (Line) : The first Line object
     b (Line) : The second Line object
     fill_color (series color) : The color used to fill the space between the lines.
     plot (series linefill) : The linefill object to be added and plotted via draw()
 BoxArgs 
  Fields:
     border_color (series color) : Color of the four borders. Optional. The default is color.blue.
     border_width (series int) : Width of the four borders, in pixels. Optional. The default is 1 pixel.
     border_style (series string) : Style of the four borders. Possible values: line.style_solid, line.style_dotted, line.style_dashed. Optional. The default value is line.style_solid.
     bg_color (series color) : Background color of the box. Optional. The default is color.blue.
     extend (series string) : When extend.none is used, the horizontal borders start at the left border and end at the right border. With extend.left or extend.right, the horizontal borders are extended indefinitely to the left or right of the box, respectively. With extend.both, the horizontal borders are extended on both sides. Optional. The default value is extend.none.
 BoxTextArgs 
  Fields:
     text_color (series color) : The color of the text. Optional. The default is color.black.
     text_size (series string) : The size of the text. An optional parameter, the default value is size.auto. Possible values: size.auto, size.tiny, size.small, size.normal, size.large, size.huge.
     text_halign (series string) : The horizontal alignment of the box's text. Optional. The default value is text.align_center. Possible values: text.align_left, text.align_center, text.align_right.
     text_valign (series string) : The vertical alignment of the box's text. Optional. The default value is text.align_center. Possible values: text.align_top, text.align_center, text.align_bottom.
     text_wrap (series string) : Defines whether the text is presented in a single line, extending past the width of the box if necessary, or wrapped so every line is no wider than the box itself (and clipped by the bottom border of the box if the height of the resulting wrapped text is higher than the height of the box). Optional. The default value is text.wrap_none. Possible values: text.wrap_none, text.wrap_auto.
     text_font_family (series string) : The font family of the text. Optional. The default value is font.family_default. Possible values: font.family_default, font.family_monospace.
 Box 
  Fields:
     left_top (Point) : top-left corner of the box
     right_bottom (Point) : bottom-right corner of the box
     txt (series string) : The text to be displayed inside the box. Optional. The default is empty string.
     args (BoxArgs) : Wrapper for reusable arguments for box.new()
     text_args (BoxTextArgs) 
     plot (series box) : The box object to be added and plotted via draw()
 Triangle 
  Fields:
     a (Point) : first Corner
     b (Point) : second Corner
     c (Point) : third Corner
     args (LineArgs) : Wrapper for reusable arguments for line.new()
     plot_ab (series line) : The line object to be added and plotted via draw()
     plot_ac (series line) : The line object to be added and plotted via draw()
     plot_bc (series line) : The line object to be added and plotted via draw()
 TriangleFill 
  Fields:
     triangle (Triangle) : The Triangle object
     fill_color (series color) : The color used to fill the space between the lines.
     plot (series linefill) : The linefill object to be added and plotted via draw()
 Polygon 
  Fields:
     points (Point ) : array of points that make up the Polygon
     center (Point) : Center point of the Polygon, can be used for a label and will be center for PolygonFill
     args (LineArgs) : Wrapper for reusable arguments for line.new()
     plot (line ) : An array of Lines that form Polygon Border
 PolygonFill 
  Fields:
     poly (Polygon) : the Polygon
     fill_color (series color) : The color used to fill the space between the lines.
     plot_segments (line ) : An array of helper lines to create linefills
     plot_fills (linefill ) : An array of linefills that cover the Polygon surface
lib_drawing_compositesLibrary   "lib_drawing_composites" 
methods to draw and manage composite obejects. Based on Trendoscope's  added Triangle and Polygon composite objects, fixed tostring method output to be actual json
 method tostring(this, format_date, format, tz, pretty) 
  Converts lib_drawing_types/LineProperties object to a json string representation
  Namespace types: D.Point
  Parameters:
     this (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) : lib_drawing_types/LineProperties object
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) : if true adds a line feed after every property and a space before properties (default: true)
  Returns: string representation of lib_drawing_types/LineProperties
 method tostring(this, pretty) 
  Converts lib_drawing_types/LabelProperties object to a json string representation
  Namespace types: D.LineProperties
  Parameters:
     this (LineProperties type from HeWhoMustNotBeNamed/DrawingTypes/2) : lib_drawing_types/LabelProperties object
     pretty (simple bool) : if true adds a line feed after every property and a space before properties (default: true)
  Returns: string representation of lib_drawing_types/LabelProperties
 method tostring(this, format_date, format, tz, pretty) 
  Converts lib_drawing_types/BoxProperties object to a json string representation
  Namespace types: D.Line
  Parameters:
     this (Line type from HeWhoMustNotBeNamed/DrawingTypes/2) : lib_drawing_types/BoxProperties object
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) : if true adds a line feed after every property and a space before properties (default: true)
  Returns: string representation of lib_drawing_types/BoxProperties
 method tostring(this, pretty) 
  Converts lib_drawing_types/BoxText object to a json string representation
  Namespace types: D.LabelProperties
  Parameters:
     this (LabelProperties type from HeWhoMustNotBeNamed/DrawingTypes/2) : lib_drawing_types/BoxText object
     pretty (simple bool) : if true adds a line feed after every property and a space before properties (default: true)
  Returns: string representation of lib_drawing_types/BoxText
 method tostring(this, format_date, format, tz, pretty) 
  Converts lib_drawing_types/TriangleProperties object to a json string representation
  Namespace types: D.Label
  Parameters:
     this (Label type from HeWhoMustNotBeNamed/DrawingTypes/2) : lib_drawing_types/TriangleProperties object
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) : if true adds a line feed after every property and a space before properties (default: true)
  Returns: string representation of lib_drawing_types/TriangleProperties
 method tostring(this, format_date, format, tz, pretty) 
  Namespace types: D.Linefill
  Parameters:
     this (Linefill type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) 
 method tostring(this, pretty) 
  Namespace types: D.BoxProperties
  Parameters:
     this (BoxProperties type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     pretty (simple bool) 
 method tostring(this, pretty) 
  Namespace types: D.BoxText
  Parameters:
     this (BoxText type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     pretty (simple bool) 
 method tostring(this, format_date, format, tz, pretty) 
  Namespace types: D.Box
  Parameters:
     this (Box type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) 
 method tostring(this, pretty) 
  Namespace types: DC.TriangleProperties
  Parameters:
     this (TriangleProperties type from robbatt/lib_drawing_composite_types/1) 
     pretty (simple bool) 
 method tostring(this, format_date, format, tz, pretty) 
  Namespace types: DC.Triangle
  Parameters:
     this (Triangle type from robbatt/lib_drawing_composite_types/1) 
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) 
 method tostring(this, format_date, format, tz, pretty) 
  Namespace types: DC.Trianglefill
  Parameters:
     this (Trianglefill type from robbatt/lib_drawing_composite_types/1) 
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) 
 method tostring(this, format_date, format, tz, pretty) 
  Namespace types: DC.Polygon
  Parameters:
     this (Polygon type from robbatt/lib_drawing_composite_types/1) 
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) 
 method tostring(this, format_date, format, tz, pretty) 
  Namespace types: DC.Polygonfill
  Parameters:
     this (Polygonfill type from robbatt/lib_drawing_composite_types/1) 
     format_date (simple bool) 
     format (simple string) 
     tz (simple string) 
     pretty (simple bool) 
 method delete(this) 
  Namespace types: DC.Trianglefill
  Parameters:
     this (Trianglefill type from robbatt/lib_drawing_composite_types/1) 
 method delete(this) 
  Namespace types: DC.Triangle
  Parameters:
     this (Triangle type from robbatt/lib_drawing_composite_types/1) 
 method delete(this) 
  Namespace types: DC.Triangle 
  Parameters:
     this (Triangle  type from robbatt/lib_drawing_composite_types/1) 
 method delete(this) 
  Namespace types: DC.Trianglefill 
  Parameters:
     this (Trianglefill  type from robbatt/lib_drawing_composite_types/1) 
 method delete(this) 
  Namespace types: DC.Polygon
  Parameters:
     this (Polygon type from robbatt/lib_drawing_composite_types/1) 
 method delete(this) 
  Namespace types: DC.Polygonfill
  Parameters:
     this (Polygonfill type from robbatt/lib_drawing_composite_types/1) 
 method delete(this) 
  Namespace types: DC.Polygon 
  Parameters:
     this (Polygon  type from robbatt/lib_drawing_composite_types/1) 
 method delete(this) 
  Namespace types: DC.Polygonfill 
  Parameters:
     this (Polygonfill  type from robbatt/lib_drawing_composite_types/1) 
 method clear(this) 
  Namespace types: DC.Triangle 
  Parameters:
     this (Triangle  type from robbatt/lib_drawing_composite_types/1) 
 method clear(this) 
  Namespace types: DC.Trianglefill 
  Parameters:
     this (Trianglefill  type from robbatt/lib_drawing_composite_types/1) 
 method clear(this) 
  Namespace types: DC.Polygon 
  Parameters:
     this (Polygon  type from robbatt/lib_drawing_composite_types/1) 
 method clear(this) 
  Namespace types: DC.Polygonfill 
  Parameters:
     this (Polygonfill  type from robbatt/lib_drawing_composite_types/1) 
 method draw(this, is_polygon_section) 
  Namespace types: DC.Triangle
  Parameters:
     this (Triangle type from robbatt/lib_drawing_composite_types/1) 
     is_polygon_section (bool) 
 method draw(this) 
  Namespace types: DC.Trianglefill
  Parameters:
     this (Trianglefill type from robbatt/lib_drawing_composite_types/1) 
 method draw(this, is_polygon) 
  Namespace types: DC.Triangle 
  Parameters:
     this (Triangle  type from robbatt/lib_drawing_composite_types/1) 
     is_polygon (bool) 
 method draw(this) 
  Namespace types: DC.Polygon
  Parameters:
     this (Polygon type from robbatt/lib_drawing_composite_types/1) 
 method draw(this) 
  Namespace types: DC.Trianglefill 
  Parameters:
     this (Trianglefill  type from robbatt/lib_drawing_composite_types/1) 
 method draw(this) 
  Namespace types: DC.Polygonfill
  Parameters:
     this (Polygonfill type from robbatt/lib_drawing_composite_types/1) 
 method draw(this) 
  Namespace types: DC.Polygon 
  Parameters:
     this (Polygon  type from robbatt/lib_drawing_composite_types/1) 
 method draw(this) 
  Namespace types: DC.Polygonfill 
  Parameters:
     this (Polygonfill  type from robbatt/lib_drawing_composite_types/1) 
 method createCenter(this, other) 
  Namespace types: D.Point
  Parameters:
     this (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     other (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) 
 method createCenter(this) 
  Namespace types: D.Point 
  Parameters:
     this (Point  type from HeWhoMustNotBeNamed/DrawingTypes/2) 
 method createCenter(this, other1, other2) 
  Namespace types: D.Point
  Parameters:
     this (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     other1 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     other2 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) 
 method createLabel(this, labeltext, tooltip, properties) 
  Namespace types: D.Line
  Parameters:
     this (Line type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     labeltext (string) 
     tooltip (string) 
     properties (LabelProperties type from HeWhoMustNotBeNamed/DrawingTypes/2) 
 method createLabel(this, labeltext, tooltip, properties) 
  Namespace types: DC.Triangle
  Parameters:
     this (Triangle type from robbatt/lib_drawing_composite_types/1) 
     labeltext (string) 
     tooltip (string) 
     properties (LabelProperties type from HeWhoMustNotBeNamed/DrawingTypes/2) 
 method createTriangle(this, p2, p3, properties) 
  Namespace types: D.Point
  Parameters:
     this (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     p2 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     p3 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     properties (TriangleProperties type from robbatt/lib_drawing_composite_types/1) 
 method createTrianglefill(this, fill_color, transparency) 
  Namespace types: DC.Triangle
  Parameters:
     this (Triangle type from robbatt/lib_drawing_composite_types/1) 
     fill_color (color) 
     transparency (int) 
 method createPolygonfill(this, fill_color, transparency) 
  Namespace types: DC.Polygon
  Parameters:
     this (Polygon type from robbatt/lib_drawing_composite_types/1) 
     fill_color (color) 
     transparency (int) 
 method createPolygon(points, properties) 
  Namespace types: D.Point 
  Parameters:
     points (Point  type from HeWhoMustNotBeNamed/DrawingTypes/2) 
     properties (TriangleProperties type from robbatt/lib_drawing_composite_types/1)
lib_drawing_composite_typesLibrary   "lib_drawing_composite_types" 
User Defined Types for basic drawing structure. Other types and methods will be built on these. (added type Triangle and Polygon to )
 TriangleProperties 
  TriangleProperties object
  Fields:
     border_color (series color) : Box border color. Default is color.blue
     fill_color (series color) : Fill color
     fill_transparency (series int) 
     border_width (series int) : Box border width. Default is 1
     border_style (series string) : Box border style. Default is line.style_solid
     xloc (series string) : defines if drawing needs to be done based on bar index or time. default is xloc.bar_index
 Triangle 
  Triangle object
  Fields:
     p1 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) : point one
     p2 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) : point two
     p3 (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) : point three
     properties (TriangleProperties) : Triangle properties
     l12 (series line) : line object created
     l23 (series line) : line object created
     l31 (series line) : line object created
 Trianglefill 
  Trianglefill object
  Fields:
     triangle (Triangle) : to create a linefill for
     fill_color (series color) : Fill color
     transparency (series int) : Fill transparency range from 0 to 100
     object (series linefill) : linefill object created
 Polygon 
  Polygon object
  Fields:
     center (Point type from HeWhoMustNotBeNamed/DrawingTypes/2) : Point that triangles are using as common center
     triangles (Triangle ) : an array of triangles that form the Polygon
 Polygonfill 
  Polygonfill object
  Fields:
     _polygon (Polygon) : to create a fill for
     _fills (Trianglefill ) : an array of Trianglefill objects that match the array of triangles in _polygon
CalendarCadLibrary   "CalendarCad" 
This library provides date and time data of the important events on CAD. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 HighImpactNews2015To2023() 
  CAD high impact news date and time from 2015 to 2023
CalendarEurLibrary   "CalendarEur" 
This library provides date and time data of the important events on EUR. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 HighImpactNews2015To2019() 
  EUR high impact news date and time from 2015 to 2019
 HighImpactNews2020To2023() 
  EUR high impact news date and time from 2020 to 2023
CalendarGbpLibrary   "CalendarGbp" 
This library provides date and time data of the important events on GBP. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 HighImpactNews2015To2019() 
  GBP high impact news date and time from 2015 to 2019
 HighImpactNews2020To2023() 
  GBP high impact news date and time from 2020 to 2023
CalendarJpyLibrary   "CalendarJpy" 
This library provides date and time data of the important events on JPY. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 HighImpactNews2015To2023() 
  JPY high impact news date and time from 2015 to 2023
CalendarUsdLibrary   "CalendarUsd" 
This library provides date and time data of the important events on USD. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 HighImpactNews2015To2019() 
  USD high impact news date and time from 2015 to 2019
 HighImpactNews2020To2023() 
  USD high impact news date and time from 2020 to 2023
NewsEventsGbpLibrary   "NewsEventsGbp" 
This library provides date and time data of the high imact news events on GBP. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 gbpNews2015To2019() 
  GBP high imact news date and time from 2015 to 2019
 gbpNews2020To2023() 
  GBP high imact news date and time from 2020 to 2023
NewsEventsEurLibrary   "NewsEventsEur" 
This library provides date and time data of the high imact news events on EUR. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 eurNews2015To2019() 
  EUR high imact news date and time from 2015 to 2019
 eurNews2020To2023() 
  EUR high imact news date and time from 2020 to 2023
NewsEventsJpyLibrary   "NewsEventsJpy" 
This library provides date and time data of the high imact news events on JPY. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 jpyNews2015To2023() 
  JPY high imact news date and time from 2015 to 2023
NewsEventsCadLibrary   "NewsEventsCad" 
This library provides date and time data of the high imact news events on CAD. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 cadNews2015To2023() 
  CAD high imact news date and time from 2015 to 2023
NewsEventsUsdLibrary   "NewsEventsUsd" 
This library provides date and time data of the high imact news events on USD. Data source is csv exported from www.fxstreet.com and transformed into perfered format by C# script.
 usdNews2015To2019() 
  USD high imact news date and time from 2015 to 2019
 usdNews2020To2023() 
  USD high imact news date and time from 2020 to 2023
lib_priceactionLibrary   "lib_priceaction" 
a library for everything related to price action, starting off with displacements
 displacement(len, min_strength, o, c) 
  calculate if there is a displacement and how strong it is
  Parameters:
     len (int) : The amount of candles to consider for the deviation
     min_strength (float) : The minimum displacement strength to trigger a signal
     o (float) : The source series on which calculations are based
     c (float) : The source series on which calculations are based
  Returns: a tuple of (bool signal, float displacement_strength)






















