Library "A_Traders_Edge__Library" - A Trader's Edge (ATE)_Library was created to assist in constructing Market Overview Scanners (MOS) LabelLocation(_firstLocation) This function is used when there's a desire to print an assets ALERT LABELS at a set location on the scale that will NOT change throughout the progression of the script. This is created so that...
Margin This library calculates margin liquidation prices and quantities for long and short positions in your strategies. Usage example // ############################################################ // # INVESTMENT SETTINGS / INPUT // ############################################################ // Get the investment capital from the properties tab of the...
This is the library version of VAcc (Velocity & Acceleration), a momentum indicator published by Scott Cong in Stocks & Commodities V. 41:09 (8–15). It applies concepts from physics, namely velocity and acceleration, to financial markets. VAcc functions similarly to the popular MACD (Moving Average Convergence Divergence) indicator when using a longer lookback...
Library "X" a collection of 'special' methods/functions ('special' at the time of conception) Initial functions includes: • count of a given number in a given array • array.get() but option added to use negative index • sum of all digits until the output < 10 • slope/angle calculation of lines method count_num_in_array(arr, num) counts how many times a...
Library "ZigLib" Calculate the points for ZigZag++. You can use custom data and resolution for your ZigZag++. Sample Usage import DevLucem/ZigLib/1 as ZigZag = ZigZag.zigzag(low, high) bgcolor(direction<0? color.rgb(255, 82, 82, 80): color.rgb(0, 230, 119, 80)) line zz = line.new(z1.time, z1.price, z2.time, z2.price, xloc.bar_time, width=3) if...
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...
Description: An optimised library for non-repainting Rational Quadratic Kernel Library. Added lookbackperiod and a validation to prevent division by zero. Thanks to original author jdehorty. Usage: 1. Import the library into your Pine Script code using the library function. import vinayakavajiraya/RationalQuadraticKernelFunction/1 2. Call the Main...
Library "lib_profile" a library with functions to calculate a volume profile for either a set of candles within the current chart, or a single candle from its lower timeframe security data. All you need is to feed the method delete(this) deletes this bucket's plot from the chart Namespace types: Bucket Parameters: this (Bucket) method...
Library "lib_retracement_label" creates a retracement label between the origin and target of a retracement, updating it's position (via update + draw) when the target moves. create_tooltip(name, min, max, tol_min, tol_max) Parameters: name (string) min (float) max (float) tol_min (float) tol_max (float) method update(this)...
Library "RSNPSD" EMA5(source, EMAlength, Smoothlength) Parameters: source (float) EMAlength (simple int) Smoothlength (simple int) SLOPE(source, slopeDistance) Parameters: source (float) slopeDistance (simple int) print(txt) Parameters: txt (string)
This Extended Moving Average Library is a sophisticated and comprehensive tool for traders seeking to expand their arsenal of moving averages for more nuanced and detailed technical analysis. The library contains various types of moving averages, each with two versions - one that accepts a simple constant length parameter and another that accepts a series or...
Library "merge_pinbar" Published by @dandrideng Modified by @RpNm1337 merge_pinbar: merge bars and check whether the bar is a pinbar merge_pinbar(period, max_bars) merge_pinbar: merge bars and check whether the bar is a pinbar Parameters: period (simple int) max_bars (simple int) Returns: array:
Library "A_Taders_Edge_LIBRARY" RCI(_rciLength, _close, _interval, _outerMostRangeOfOscillator) - You will see me using this a lot. DEFINITELY my favorite oscillator to utilize for SO many different things from timing entries/exits to determining trends. Parameters: _rciLength (int) _close (float) _interval (int) ...
Library "CandlestickPatterns" This library provides a wide range of candlestick patterns, and available for user to call each pattern individually. It's a comprehensive and common tool designed for traders seeking to raise their technical analysis, and it may help users identify key turning of price action in financial instruments. Credit to public technical...
Library "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...
Library "gFancyMA" printLbl(y, x, c, m, b, s) Parameters: y (float) x (int) c (color) m (string) b (bool) s (string)
What 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...
Library "GalacticS2021" printLbl(y, x, c, m, b) Parameters: y (float) x (int) c (color) m (string) b (bool)