Library "lib_retracement_patterns" types and functions for XABCD pattern detection and plotting method set_tolerances(this, tolerance_Bmin, tolerance_Bmax, tolerance_Cmin, tolerance_Cmax, tolerance_Dmin, tolerance_Dmax) sets tolerances for B, C and D retracements. This creates another Pattern instance that is set as tolerances field on the original and...
Library "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)...
Library "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...
Library "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:...
Library "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...
Library "lib_statemachine" simple state machine that allows tracking a state an manipulating it with conditions method step(this, before, after, condition) will step the state of the state machine from one to the next in case of condition Namespace types: StateMachine Parameters: this (StateMachine) : (StateMachine) the state machine to use ...
Library "lib_colors" offset_mono(original, offset, transparency) get offset color Parameters: original (simple color) : original color offset (float) : offset for new color transparency (float) : transparency for new color Returns: offset color