Library "WaveGenerator" Wave Generator Library max(source) max Parameters: source : is the input to take the maximum. Returns: foat min(source) min Parameters: source : is the input to take the minimum. Returns: foat min_max(src, height) min_max Parameters: src : is the input for the min/max height Returns:...
Library "CommonTypesMath" Provides a common library source for common types of useful mathematical structures. Includes: `complex, Vector2, Vector3, Vector4, Quaternion, Segment2, Segment3, Pole, Plane, M32, M44` complex Representation of a Complex Number, a complex number `z` is a number in the form `z = x + yi`, Fields: re : Real part of the...
Library "Sub_Super_Script_and_RomanNumerals_Library" Library to transform numbers into Roman numerals / Super-Sub script / check if value is alpha or number isnumber(input) check to see if value is a number Parameters: input : (string/float/int) value to check Returns: (na) if value is NOT a number and input (string/float/int) if value is a...
Library "FrizLabz_Time_Utility_Methods" Some time to index and index to time helper methods made them for another library thought I would try to make them as methods UTC_helper(utc) UTC helper function this adds the + to the positive utc times, add "UTC" to the string and can be used in the timezone arg of for format_time() Parameters: utc :...
Library "Position" Allows for simulating trades within an indicator. newTrade(size, price, timestamp) Creates a new trade object. Parameters: size : The size of the trade (number of shares or contracts). price : The price at which the trade took place. timestamp : The timestamp of the trade. Defaults to the current time. Returns: A new...
Library "Liquidationline" f_calculateLeverage(_leverage, _maintainance, _value, _direction) Parameters: _leverage _maintainance _value _direction f_liqline_update(_Liqui_Line, _killonlowhigh) Parameters: _Liqui_Line _killonlowhigh f_liqline_draw(_Liqui_Line, _priceorliq) Parameters: _Liqui_Line ...
Library "Events" events() Returns the list of dates supported by this library as a string array. Returns: array : Names of events supported by this library fomcMeetings() Gets the FOMC Meeting Dates. The FOMC meets eight times a year to determine the course of monetary policy. The FOMC announces its decision on the federal funds rate at the...
Library "Distributions" Library with price distribution zones calculation helpers. Based on research from "Trading Systems and Methods, 5th Edition" by Perry J. Kaufman getZones(h, l, c, window) Returns price distribution zones based on HLC and for some period Parameters: h : high price l : low price c : close price window : period...
Library "PerformanceTable" TODO: add library description here This library was created as a library because adding a performance table to an existing strategy script made the strategy script lengthy and inconvenient to manage. The monthly table script referenced @QuantNomad's code. The performance table script referenced @myncrypto's code. To use, copy and...
Library "SH_Library" events() Returns the list of dates supported by this library as a string array. Returns: array : Names of events supported by this library fomcMeetings() Gets the FOMC Meeting Dates. The FOMC meets eight times a year to determine the course of monetary policy. The FOMC announces its decision on the federal funds rate at the...
Refer to notes for instruction ===================================================================
Library "Antares" this library contains some utility functions that I use in my open source scripts including moving average helpers, candlstick helpers, money management, formatters, convertors, webhook integration, analysis, filters and drawing helpers ma(type, length, source) Wraps all ma functions Parameters: type : Either SMA or EMA or RMA or...
Library "DiscordLibrary" BoldString(str) Bold String in Discord Function Parameters: str ItalicizeString(str) Italicize String in Discord Function Parameters: str StrikeThroughString(str) Strikethrough a String in Discord Function Parameters: str UnderlineString(str) Underline a String in Discord...
Library "SessionInBoxesPro" get_time_by_bar(bar_count) Parameters: bar_count get_positions_func(sessiontime_, duration_) Parameters: sessiontime_ duration_ get_period(_session, _start, _lookback) Parameters: _session _start _lookback is_start(_session) Parameters: _session is_end(_session)...
Library "Utilities" My utility functions library. toPips(_v) Convert price to pips. Parameters: _v : Price Returns: Pips toPrice(_p) Convert pips to price. Parameters: _p Returns: Price price_range(_a, _b) The difference will be returned. Parameters: _a _b : @return Price as positive number get_day(_n, _lang)...
Library "MLExtensions" normalizeDeriv(src, quadraticMeanLength) Returns the smoothed hyperbolic tangent of the input series. Parameters: src : The input series (i.e., the first-order derivative for price). quadraticMeanLength : The length of the quadratic mean (RMS). Returns: nDeriv The normalized derivative of the input series. ...
Basic library for the visible range chart; with functions to allow plotting Fibs from body high/low as well as wick high/low -Thanks to code from @PineCoders Visible Chart library (PineCoders/VisibleChart/4), which is a much more comprehensive library than this, but which does not include some functions that I find useful: -Added the following exportable...