Library "SetSessionTimesIndia" This library might be useful to code an indicator or strategy that requires to call Indian trading sessions at NSE and MCX. SetSessionTimes()
Library "Fibonacci" General Fibonacci functions. Get fib numbers, ratios, etc. fib_precise(f, precision) Get the precise Fibonacci ratio, to the specified number of decimal places Parameters: f : Fibonacci ratio (string, in form #.###) precision : Number of decimal places (optional int, dft = 16, max = 32) Returns: Precise Fibonacci ratio...
Library "SupportResitanceAndTrend" Contains utilities for finding key levels of support, resistance and direction of trend. superTrendPlus(multiple, h, l, atr, closeBars) A more flexible version of SuperTrend that allows for supplying the series used and sensitivity adjustment by confirming close bars. Parameters: multiple : The multiple to apply to...
Library "MovingAverages" vawma(len, src, volumeDefault) VAWMA = VWMA and WMA combined. Simply put, this attempts to determine the average price per share over time weighted heavier for recent values. Uses a triangular algorithm to taper off values in the past (same as WMA does). Parameters: len : The number of bars to measure with. src : The...
Library "DataCleaner" outlierLevel(src, len, level) Gets the (standard deviation) outlier level for a given series. Parameters: src : The series to average and add a multiple of the standard deviation to. len : The The number of bars to measure. level : The positive or negative multiple of the standard deviation to apply to the average. A...
Library "FrostyBot" JSON Alert Builder for FrostyBot.js Binance Futures and FTX orders github.com More Complete Version Soon. TODO: Comment Functions and annotations from command reference ^^ TODO: Add additional whitelist and symbol mappings. leverage() buy() sell() cancelall() closelong() closeshort() traillong() trailshort() ...
Library "DiscordLibrary" BoldString() Bold String in Discord Function ItalicizeString() Italicize String in Discord Function StrikeThroughString() Strikethrough a String in Discord Function UnderlineString() Underline a String in Discord Function SpoilerString() When you send the text, it will be shown as a black block, and only by...
Library "PineHelper" This library provides various functions to reduce your time. recent_opentrade_entry_bar_index() get a recent opentrade entry bar_index Returns: (int) bar_index recent_closedtrade_entry_bar_index() get a recent closedtrade entry bar_index Returns: (int) bar_index recent_closedtrade_exit_bar_index() get a recent closedtrade...
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)...
Library "TradersCustomLibrary" TODO: add library description here SelectOptimalTimeframeTrendlineSettings() calculateShortStopLoss() calculateLongStopLoss() werdygerTrend() trendLines() stoch() timeToString()
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 "Trig" Trigonometric functions rt_get_angleAlpha(a, b, c, deg) Get angle α of a right triangle, given the lengths of its sides Parameters: a : length of leg a (float) b : length of leg b (float) c : length of hypotenuse (float) deg : flag to return angle in degrees (bool - default = false) Returns: angle α in radians (or...
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 "MovingAveragesProxy" Moving Averages Proxy - Library of all moving averages spread out in different libraries rvwap(_src, fixedTfInput, minsInput, hoursInput, daysInput, minBarsInput) Calculates the Rolling VWAP (customized VWAP developed by the team of TradingView) Parameters: _src : (float) Source. Default: close fixedTfInput :...
Library "TA" General technical analysis functions div_bull(pS, iS, cp_length_after, cp_length_before, pivot_length, lookback, no_broken, pW, iW, hidW, regW) Test for bullish divergence Parameters: pS : Price series (float) iS : Indicator series (float) cp_length_after : Bars after current (divergent) pivot low to be considered a valid...
Library "Algebra" Algebra functions. line_fromXy(x1, y1, x2, y2) Get line slope and y-intercept from coordinates Parameters: x1 : x coordinate 1 (int - bar index) y1 : y coordinate 1 (float - price/value) x2 : x coordinate 2 (int - bar index) y2 : y coordinate 2 (float - price/value) Returns: of line line_getPrice(x, slope,...
Library "Console" █ OVERVIEW An easy way to output messages to a console like table using a a simple "print" function that can be called from anywhere in your code including functions. █ Supports: - Scrollable console messages - Customisable number of displayed messages - More than one "console" for different types of output if...
Library "KlintLibrary" GetDecimals() this is my library, for my own use thanks for reading