Library "MetaWorldEngineFilterLibrary3" GetCandleStickSize(Rule, Rule) returns size of the candle Parameters: Rule : 1: (float) _src_high Rule : 2: (float) _src_low Returns: candlestick size GetCandleStickBodySize(Rule, Rule) returns size of the candle body Parameters: Rule : 1: (float) _src_open Rule : 2: (float)...
This library comes with everything you need to add an On Balance Volume (OBV) filter to your strategy. getOnBalanceVolumeFilter(source, maType, fastMaLength, fastMaLength) Get the fast and slow moving average for on balance volume Parameters: source : hook this up to an 'input.source' input maType : Choose from EMA, SMA, RMA, or WMA ...
Library "PlurexSignal" Provides functions that wrap the built in TradingView strategy functions so you can seemlessly integrate with Plurex Signal automation. NOTE: Be sure to set your strategy close_entries_rule="ANY" and pyramiding=20 or some other amount appropriate to your strategy in order to have multiple entries. plurexMarket() Build a Plurex market...
Library "CalulateWinLoss" TODO: add library description here colorwhitered(x) TODO: add function description here Parameters: x : TODO: add parameter x description here Returns: TODO: add what function returns colorredwhite() cal()
Library "LibBacktestingDayRange" TODO: add library description here import Nut_Satit/CalulateWinLoss/version as backtest rangdate(startDate, finishDate) TODO: add function description here Parameters: startDate : TODO: add parameter startDate description here finishDate : TODO: add parameter finishDate description...
Library "Binance_Min_Limit_Order_amount_library" TODO: This library give us the minimum Limit Order amount for the contract in Binance. m_qty(n_v, m_fee, t_fee, cost, m_t) TODO: it give us the Minimum Qty for the trading in Binance Parameters: n_v : TODO: min_notional_value. 5 dollar is the minimum notional amount in Binance at the moment. ...
Library "LevelsManager" TODO: Track up to 6 TakeProfits and 1 StopLoss achievement for one or many of your buy/sell conditions. manageTrade(bool, bool, bool, string, string, float, float, bool, bool, bool, bool, bool, bool, float, float, float, float, float, float, float) Track TakeProfits and StopLoss achievement for one or many of your buy/sell...
Library "FunctionKellyCriterion" Kelly criterion methods. the kelly criterion helps with the decision of how much one should invest in a asset as long as you know the odds and expected return of said asset. simplified(win_p, rr) simplified version of the kelly criterion formula. Parameters: win_p : float, probability of winning. rr : float,...
Library "threengine_global_automation_library" A collection of functions used for trade automation getBaseCurrency() Gets the base currency for the chart's ticker. Supported trade pairs are USD, USDT, USDC, BTC, and PERP. Returns: Base currency as a string getChartSymbol() Get the current chart's symbol without the base currency appended to it....
Library "PlurexSignalIntegration" Provides tools for integrating Strategies and Alerts into plurex.io signals. plurexMarket() Build a Plurex market from a base and quote asset symbol. Returns: A market string that can be used in Plurex Signal messages. tickerToPlurexMarket() Builds simple Plurex market string from the syminfo Returns: A market string...
Library "fontilab" Provides function's indicators for pivot - trend - resistance. pivots(src, lenght, isHigh) Detecting pivot points (and returning price + bar index. Parameters: src : The chart we analyse. lenght : Used for the calcul. isHigh : lookging for high if true, low otherwise. Returns: The bar index and the price of the pivot. ...
Library "table_library" TODO: With this library, you can add tables to your strategies. strategy_table() Returns: Strategy Profit Table Adds a table to the graph of the strategy for which you are calling the function. You can see data such as net profit in this table. No parameters. Just call the function inside the strategy. Example Code : import...
Library "MonthlyReturnsVsMarket" is a repackaging of the script here Credits to @QuantNomad for orginal script Now you can avoid to pollute your own strategy's code with the monthly returns table code and just import the library and call displayMonthlyPnL(int precision) function To be used in strategy scripts.
Library "RicardoLibrary" Ricardo's personal Library GetPipValue() GetPipValue Returns: Pip value of Symbol Calculate_SL(IsLong) Calculate_SL: Calcultes Stop Loss Parameters: IsLong : If true, then I am going to enter a long position, if false then Short position Returns: Stop loss Price
Library "poStrategyLibrary" essential function for export isFlat() isLongShort() pipProfit() pipLoss()
█ OVERVIEW This library is a Pine Script™ programmer’s tool containing a variety of strategy-related functions to assist in calculations like profit and loss, stop losses and limits. It also includes several useful functions one can use to convert between units in ticks, price, currency or a percentage of the position's size. █ CONCEPTS The library...
Library "Adaptive_Length" This library contains functions to calculate Adaptive dynamic length which can be used in Moving Averages and other indicators. Two Exponential Moving Averages (EMA) are plotted. Coloring in plot is derived from Chikou filter and Dynamic length of MA1 is adapted using Signal output from Chikou library. dynamic(para, adapt_Pct,...
Library "Chikou" This library contains Chikou Filter function to enhances functionality of Chikou-Span from Ichimoku Cloud using a simple trend filter. Chikou is basically close value of ticker offset to close and it is a good for indicating if close value has crossed potential Support/Resistance zone from past. Chikou is usually used with 26 period. Chikou...