This library is for identifying uptrends and downtrends using a loopback candle analysis method. Which contains two functions: uptrendLoopbackCandleIdentification() and downtrendLoopbackCandleIdentification() . These functions check if the current candle is part of an uptrend or downtrend, respectively, based on the specified lookback period. The ...
Library "BankNifty_CSM" TODO: add library description here getLtp_N_Chang(openPrice, closePrice, highPrice, hl2Price, lowPrice, hlc3Price, bankNiftyClose) Parameters: openPrice (float) closePrice (float) highPrice (float) hl2Price (float) lowPrice (float) hlc3Price (float) bankNiftyClose (float)
Library "MovingAverages" Exotic or Interesting Moving Averages Collection. Just the one right now! alphaConfigurableEma(src, alpha, nSmooth) Calculates a variation of the EMA by specifying a custom alpha value. Parameters: src (float) : a float series to get the EMA for, e.g. close, hlc3, etc. alpha (float) : a value between 0 (ideally greater,...
Introduction: Spider charts, also known as radar charts or web charts, are a powerful data visualization tool that can display multiple variables in a circular format. They are particularly useful when you want to compare different data sets or evaluate the performance of a single data set across multiple dimensions. In this blog post, we will dive into the world...
Library "ReversalChartPatternLibrary" User Defined Types and Methods for reversal chart patterns - Double Top, Double Bottom, Triple Top, Triple Bottom, Cup and Handle, Inverted Cup and Handle, Head and Shoulders, Inverse Head and Shoulders method delete(this) Deletes the drawing components of ReversalChartPatternDrawing object Namespace types:...
Library "TradeTracker" Simple Library for tracking trades method track(this) tracks trade when called on every bar Namespace types: Trade Parameters: this (Trade) : Trade object Returns: current Trade object Trade Has the constituents to track trades generated by any method. Fields: id (series int) direction (series int) :...
Library "MathEasingFunctions" A collection of Easing functions. Easing functions are commonly used for smoothing actions over time, They are used to smooth out the sharp edges of a function and make it more pleasing to the eye, like for example the motion of a object through time. Easing functions can be used in a variety of applications, including animation,...
Library "SAT_BACKTEST" ex_timezone(tz) switch case return exact @timezone for timezone input Parameters: tz (simple string) Returns: syminfo.timezone or tz if_in_date_range(usefromDate, fromDate, usetoDate, toDate, src_timezone, dst_timezone) if_in_date_range : check if @time_close is range Parameters: usefromDate (simple bool)...
Library "ObjectHelpers" Line | Box | Label | Linefill -- Maker, Setter, Getter Library TODO: add table functionality set(object) set all params for `line`, `box`, `label`, `linefill` objects with 1 function *** ## Overloaded *** ``` method set(line Line, int x1=na, float y1=na, int x2=na, float y2=na,string xloc=na,string extend=na,color color=na,string...
We are delighted to present the PeacefulIndicators library, a modest yet powerful collection of custom technical indicators created to enhance your trading analysis. The library features an array of practical tools, including MACD with Dynamic Length, Stochastic RSI with ATR Stop Loss, Bollinger Bands with RSI Divergence, and more. The PeacefulIndicators library...
Library "Antares_messages_public" This library add messages for yours strategy for use in Antares trading system for binance and bybit exchanges. Данная библиотека позволяет формировать сообщения в алертах стратегий для Antares в более упрощенном для пользователя режиме, включая всплывающие подсказки и т.д. set_leverage(token, market, ticker_id, leverage)...
Library "Utility" dema(src, length) Parameters: src (float) length (simple int) tema(src, length) Parameters: src (float) length (simple int) hma(src, length) Parameters: src (float) length (int) zlema(src, length) Parameters: src (float) length (simple int) stochRSI(src, lengthRSI,...
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...