Plot three linear regression channels using alexgrover 's Computing The Linear Regression Using The WMA And SMA indicator for the linear regression calculations. Settings Length : Number of inputs to be used Source : Source input of the indicator Midline Colour : The colour of the midline Channel One, Two, and Three Multiplicative Factor :...
A take on alexgrover 's Optimized Linear Regression Channel script which allows users to apply multiple linear regression channel with unique multiplicative factors. Multiplicative Factors Adjust the amount of channels and multiplicative factors of existing or additional channels using the "Mults" input. An input of "1" creates a single linear regression...
Library "KernelFunctions" This library provides non-repainting kernel functions for Nadaraya-Watson estimator implementations. This allows for easy substitution/comparison of different kernel functions for one another in indicators. Furthermore, kernels can easily be combined with other kernels to create newer, more customized kernels. Compared to Moving...
Often, a trader would like to predict the range for the next certain amount of period. This is useful for doing short strangles, Iron Fy, Iron Condor strategies. This script calculates the price range for the next 'X' number of candles on the given timeframe based on Standard Deviation formulae. It gives this range on 1 standard deviation and 2 standard...
Library "ahpuhelper" Helper Library for Auto Harmonic Patterns UltimateX. It is not meaningful for others. This is supposed to be private library. But, publishing it to make sure that I don't delete accidentally. Some functions may be useful for coders. insert_open_trades_table_column(showOpenTrades, table_id, column, colors, values, intStatus,...
Market Beta/Beta Coefficient for CAPM is not so much an indicator as it is a value to be used in future indicators to forecast stock prices using the Capital Asset Pricing Model, CAPM. CAPM is used by the likes of value investors such as Warren Buffet and valuation/accounting/investment banking firms. More specifically, CAPM is typically used in Discounted...
| Initial Release | | EN | An update of my old script, this script is designed so that it can be used as a template for all those traders who want to save time when programming their strategy and backtesting it, having functions already programmed that in normal development would take you more time to program, with this template you can simply add your favorite...
This tool shows all 4 values: (Candle chart can describe the size) - Average wick length below It is calculated as the length of the candle wick under the rising candlestick. calculated average (AVG) and Standard Deviation (STDEV). plot on the chart at the current bar using (open price ) - (average + STDEV ). - Average wick + average body above(high - open) is...
Shows the Pearson correlation between two symbols, including statistical significance test. This is a fork of the original script by Balipour, with the addition of EMA that can be used instead of SMA in the Pearson correlation as an attempt to capture correlation trend changes more quickly, and conversion to pinescript v5. In the end, the EMA does not help much,...
Hello there ! I have been tracking BTC richests wallets for some time - and one of them seems to be aligning its sells pretty well with what the market is about to do. BTC's Whale #3 (now Whale #4) has been selling his BTC in very crutial moments - therefore I felt that converting this into an indicator will give us a pretty visual feedback of what that Whale...
This Implied range Is derived by the VIX(1 sd annual +/- Implied move.) This Indicator plots the daily Implied range, A lot of quantitative trading firms/ MM firms hedge their delta & gamma exposure around the Implied range(prop calc). I have added retracement levels as well, so you have more pivot levels. Enjoy!
Library "normsinv" Description: Returns the inverse of the standard normal cumulative distribution. The distribution has a mean of zero and a standard deviation of one; i.e., normsinv seeks that value z such that a normal distribtuion of mean of zero and standard deviation one is equal to the input probability. Reference: github.com normsinv(y0)...
Following indicator is a multi-asset monitor Possibilitys: 16 Custom tickers 7 Colorschemes Smoothing and scaling of the assets invert the colors shift the labels left/right
Library "cndev" This function returns the inverse of cumulative normal distribution function Reference: The Full Monte, by Boris Moro, Union Bank of Switzerland . RISK 1995(2) CNDEV(U) Returns the inverse of cumulative normal distribution function Parameters: U : float, Returns: float.
Script shows relations between DJI downJones SPX and BTC:USD. DJI chart must be set from candlestick to line Red line is price (close). x 8 Green line ist te price BTCUSD from Binance price (close) x 1.5
Library "Strategy_PnL_Library" TODO: This is a library that helps you learn current pnl of open position and use it to create your own dynamic take profit or stop loss rules based on current level of your profit. It should only be used with strategies. inTrade() inTrade: Checks if a position is currently open. Returns: bool: true for yes, false for no. ...
Library "ctnd" Description: Double precision algorithm to compute the cumulative trivariate normal distribution found in A.Genz, Numerical computation of rectangular bivariate and trivariate normal and t probabilities”, Statistics and Computing, 14, (3), 2004. The cumulative trivariate normal is needed to price window barrier options, see G.F. Armstrong,...
Library "combin" Description: The combin function is a the combination function as it calculates the number of possible combinations for two given numbers. This function takes two arguments: the number and the number_chosen. For example, if the number is 5 and the number chosen is 1, there are 5 combinations, giving 5 as a result. Reference: ...