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 "MovingAverages" Contains utilities for generating moving average values including getting a moving average by name and a function for generating a Volume-Adjusted WMA. sma(_D, _len) Simple Moving Avereage Parameters: _D : The series to measure from. _len : The number of bars to measure with. ema(_D, _len) Exponential Moving...
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...
Library "HA_Candles" Heikin Ashi Candles HA_Close() Heikin Ashi Modified Close Returns: Heikin Ashi Modified Close HA_Open() Heikin Ashi Modified Open Returns: Heikin Ashi Modified Open HA_High() Heikin Ashi Modified High Returns: Heikin Ashi Modified High HA_Low() Heikin Ashi Modified Low Returns: Heikin Ashi Modified Low HA_Delta(Heikin)...
Library "easytable" Create tables easily, with minimal code ▦ FEATURES ▦ █ Create tables █ JSON To Table █ Change Colors █ Array to Rows/Columns █ Pre-Styles █ Change Text Size █ Delete Rows/Columns █ Blink Cells indentify_table_id() Identifies all tables ID number in each cell(0,0). ...
Library "json" Convert JSON strings to tradingview ▦ FEATURES ▦ █ Json to array █ Get json key names █ Get json key values █ Size of json get_json_keys_names(raw_json) Returns string array with all key names Parameters: raw_json : (string) Raw JSON string Returns: (string array) Array with all...
Library "timeUtils" Utils for time series tradingDaysTillEndOfMonth() Calculates how many full trading days left until the end of the current month. (It doesn't take into account market holidays) Returns: int series of the remaining trading days until the end of the month. insideRange()
Library "RVSI" This Library contains functions that calculate all types of " Relative Volume Strength Index (MZ RVSI ) " depending upon unique volume oscillator. Achieved RVSI value can be used for divergence detection in volume or to adapt dynamic length in Moving Averages or other functions. rvsi_tfs(vol_src, vol_Len, rvsiLen, _open, _close) Relative...
Library "eStrategy" Library contains methods which can help build custom strategy for continuous investment plans and also compare it with systematic buy and hold. sip(startYear, initialDeposit, depositFrequency, recurringDeposit, buyPrice) Depicts systematic buy and hold over period of time Parameters: startYear : Year on which SIP is started ...
Library "JohnEhlersFourierTransform" Fourier Transform for Traders By John Ehlers, slightly modified to allow to inspect other than the 8-50 frequency spectrum. reference: www.mesasoftware.com high_pass_filter(source) Detrended version of the data by High Pass Filtering with a 40 Period cutoff Parameters: source : float, data source. Returns:...
All Signals Are the Sum of Sines. When looking at real-world signals, you usually view them as a price changing over time. This is referred to as the time domain. Fourier’s theorem states that any waveform in the time domain can be represented by the weighted sum of sines and cosines. For example, take two sine waves, where one is three times as fast as the...
Library "harmonicpatterns1" harmonicpatterns: methods required for calculation of harmonic patterns. Correction for library (missing export in line 303) isGartleyPattern(xabRatio, abcRatio, bcdRatio, xadRatio, err_min, err_max) isGartleyPattern: Checks for harmonic pattern Gartley Parameters: xabRatio : AB/XA abcRatio : BC/AB bcdRatio :...
Library "TS_FFA" Splits the ticker and generates best configs for FP and PP splitter(x) Splits the ticker and found the configuration regarding to name. Parameters: _x: ticker Returns: Fib and Profit percent values - Splitter had been added. - USDTPERP coins on Binance had been added - timeFrameMultiplier() timeframe multiplier had been added to the...
Library "bytime" TODO: to do something at the specified time. ////Return =>> ht = hour , mt = minute , st = second ,Dt = Day, Mt = month, Yt = year , dateTime = full time format.///////////// Note : Remember to always add import when you call our library and change Gtime() to Timeset.Gtime() is used to access internal data. import hapharmonic/bytime/1 as...
█ OVERVIEW Library "e2hray" A drawing library that contains the hray() function, which draws a horizontal ray/s with an initial point determined by a specified condition. It plots a ray until it reached the price. The function let you control the visibility of historical levels and setup the alerts. █ HORIZONTAL RAY FUNCTION hray(condition, level, color,...
Library "TAExt" Indicator functions can be used in other indicators and strategies. This will be extended by time with indicators I use in my strategies and studies. atrwo(length, stdev_length, stdev_mult) ATR without outliers Parameters: length : The length of the ATR stdev_length : The length of the standard deviation, used for detecting...
Library "FunctionCosineSimilarity" Cosine Similarity method. function(sample_a, sample_b) Measure the similarity of 2 vectors. Parameters: sample_a : float array, values. sample_b : float array, values. Returns: float. diss(cosim) Dissimilarity helper function. Parameters: cosim : float, cosine similarity value (0 > 1) Returns: float