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
Library "Utilities" General utilities print_series(s, skip_na, position, show_index, from_index, to_index) Print series values Parameters: s : Series (string) skip_na : Flag to skip na values (optional bool, dft = false) position : Position to print the Table (optional string, dft = position.bottom_center) show_index : Flag to show...
█ OVERVIEW This library is a Pine programmer’s tool containing functions to help those who use the request.security_lower_tf() function. Its `ltf()` function helps translate user inputs into a lower timeframe string usable with request.security_lower_tf() . Another function, `ltfStats()`, accumulates statistics on processed chart bars and intrabars. █...
Library "hsvColor" HSV and HSL Gradient Tool Alternatives and helpers. Demo'd is built-in in the middle with HSL/HSV gradients on top/bottom TODO: Solve for #000000 issue rgbhsv(_col) RGB Color to HSV Values Parameters: _col : Color input (#abc012 or color.name or color.rgb(0,0,0,0)) Returns: values rgbhsv(_r, _g, _b, _t) RGB Color to HSV...
Library "Tosch_Stacked_EMAs (Fibonacci)" stacked() Returns true if all EMAs are stacked, either way. bullish() Returns true if the EMAs are stacked bullish, false otherwise emas() Returns the EMA values for lengths 5, 8, 13, 21, 34, 55, 89