Library "loxxfft" This code is a library for performing Fast Fourier Transform (FFT) operations. FFT is an algorithm that can quickly compute the discrete Fourier transform (DFT) of a sequence. The library includes functions for performing FFTs on both real and complex data. It also includes functions for fast correlation and convolution, which are operations...
Library "RsiLib" TODO: add library description here bullishDivergence(rsi, check_backward_length, rsi_threshold, rsi_overload_threshold, power_threshhold) Parameters: rsi (float) check_backward_length (int) rsi_threshold (float) rsi_overload_threshold (float) power_threshhold (int)
Library "tools" A library of many helper methods, plus a comprehensive print method and a printer object. This is a newer version of the helpers library. This script uses pinescripts v5 latest objects and methods.
Library "library" is_bullish_engulfing() is_bearish_engulfing() is_hammer(fib_level) Parameters: fib_level (float) is_shooting_star(fib_level) Parameters: fib_level (float) is_hammer_and_star(fib_level) Parameters: fib_level (float) is_star_and_hammer(fib_level) Parameters: fib_level (float) ...
📕 Console Library 🔷 Introduction This script is an adaptation of the classic JavaScript console script. It provides a simple way to display data in a console-like table format for debugging purposes. While there are many nice console/logger scripts out there, my personal goal was to achieve inline functionality and visual object (label, lines) logging...
Library "LibAndy" TODO: add library description here greencandlme(x) TODO: add function description here Parameters: x (float) : TODO: add parameter x description here Returns: TODO: add what function returns greencandle() Whether this candle is green or not Returns: Whether this candle is green or not redcandle() Whether this candle...
Library "Polynomial" TODO: add library description here PolyNomial(Dop, n, step, nonp) TODO: add function description here Parameters: Dop (int) n (int) step (int) nonp (int) Returns: TODO: add what function returns
Library "branch" Generates a branch made of segments with a starting angle and a turning angle for each segment. The branch is generated from a starting point and a number of nodes to generate. The length of each segment and angle of each segment can be adjusted. The branch can be generated in 2D or 3D, render as you wish. method branch(origin, nodes,...
Library "VolumeLib" Contains types and methods related to VOLUME volumePrice() TODO: add function description here Returns: TODO: add what function returns averageVolumePrice(length) Parameters: length (simple int) volumePower(volume_price, average_volume_price) Parameters: volume_price (float) average_volume_price (float) ...
Library "OrderLib" TODO: add library description here removeOrderView(view) Parameters: view (orderView) createOrderView(model, length, profit_color, loss_color, enter_color) Parameters: model (orderModel) length (simple int) profit_color (simple color) loss_color (simple color) enter_color (simple color) ...
Library "AdxLib" TODO: add library description here create(di_length, adx_length) Parameters: di_length (simple int) adx_length (simple int) create(adx_length) Parameters: adx_length (simple int)
Library "TextLib" TODO: Library with text / string functions addText(before, value, separator) Parameters: before (string) value (string) separator (string) addText(before, value1, value2, separator) Parameters: before (string) value1 (string) value2 (string) separator (string)
Library "Libre" TODO: add library description here MMMM(toe) Parameters: toe (string) OOOO(toe, toe1, toe2, toe3, toe4, toe5, init) Parameters: toe (string) toe1 (string) toe2 (string) toe3 (string) toe4 (string) toe5 (string) init (int) XXXX(toe) Parameters: toe (string) WWWW(toe)...
Library "HarmonicPatternTracking" Library contains few data structures and methods for tracking harmonic pattern trades via pinescript. method draw(this) Creates and draws HarmonicDrawing object for given HarmonicPattern Namespace types: HarmonicPattern Parameters: this (HarmonicPattern) : HarmonicPattern object Returns: current HarmonicPattern...
Library "AstroLib", or Astro Library, is a collection of public Pinescript functions & calculations for use in astrology & astronomy indicators. Unless noted otherwise, this library was written jointly by @badsector666 and @BarefootJoey. Library "AstroLib" t_(txt) Parameters: txt (string) JDNv2(t, withFraction) Parameters: t (float) ...
Library "MarkovAlgorithm" Markov algorithm is a string rewriting system that uses grammar-like rules to operate on strings of symbols. Markov algorithms have been shown to be Turing-complete, which means that they are suitable as a general model of computation and can represent any mathematical expression from its simple notation. ~...
Library "new_line" TODO: plot line based on 3 points. new_line(x_1, x_2, x_3, y_1, y_2, y_3) TODO: plot line based on 3 points. (each different) Parameters: x_1 (int) x_2 (int) x_3 (int) y_1 (float) y_2 (float) y_3 (float) Returns: TODO: new line based on each different 3 values.
📕 LIBRARY OHLC 🔷 Introduction This library is a custom library designed to work with real-time bars. It allows to easily calculate OHLC values for any source. Personally, I use this library to accurately display the highest and lowest values on visual indicators such as my progress bars. 🔷 How to Use ◼ 1. Import the OHLC library into your TradingView...