Colorful Regression is a trend indicator. The most important difference of it from other moving averages and regressions is that it can change color according to the momentum it has. so that users can have an idea about the direction, orientation and speed of the graph at the same time. This indicator contains 5 different colors. Black means extreme downtrend, red...
Hello! This script retrieves most of the available Bitcoin data published by Quandl; the script utilizes the new request.security_lower_tf() function. Included statistics, True price Volume Difficulty My Wallet # Of Users Average Block Size api.blockchain size Median Transaction Confirmation Time Miners' Revenue Hash Rate Cost Per Transaction Cost...
An experiment using Pinescript's candle plotting feature. This indicator performs a linear regression on the lows, highs, and moving average, and plots them all in the form of a candlestick. If the close is below the prediction, the candlestick is red, if the close is above the regression, the candlestick is green. Effective and aesthetic way to analyze trends.
Relative slope metric Description: I was in need to create a simple, naive and elegant metric that was able to tell how strong is the trend in a given rolling window. While abstaining from using more complicated and arguably more precise approaches, I’ve decided to use Linearly Weighted Linear Regression slope for this goal. Outright values are useful, but the...
A mathematically elegant, native & modern way how to measure velocity/ strength/ momentum. As you can see it looks like MACD, but !suddenly! has N times shorter code (disregard the functions), and only 1 parameter instead of 3. OMG HOW DID HE DO IT?!? MACD: "Let's take one filter (1 parameter), than another filter (2 parameters), then let's take dem difference,...
Linearly Weighted Ordinary Least Squares Moving Regression aka Weighted Least Squares Moving Average -> WLSMA ^^ called it this way just to for... damn, forgot the word Totally pwns LSMA for some purposes here's why (just look up): - 'realistically' the same smoothness; - less lag; - less overshoot; - more or less same computationally intensive. "Pretty...
Based on oryginal TV indicator BUT with a little twist. ;) I really like the regression channel - but the problem is that the length needs to be always manually adjusted. In this script I try to solve this issue. This is modified version on TV indicator - Linear Regression Channel. The main difference is that now you don't get static length - it is...
[image/x/iZvwDWEY/ Relative Strength indicator comparing the current symbol to SPY (or any other benchmark). It may help to pick the right assets to complement the portfolio build around core ETFs such as SPY. The general idea is to show if the current symbol outperforms or underperforms the benchmark (SPY by default) when bought some certain time ago. Relative...
An example of the linear regression library, showing the regression of VX futures on the VIX. The beta might help you weight VX futures when hedging SPX vega exposure. A VX future has point multiplier of 1000, whereas SPX options have a point multiplier of 100. Suppose the front month VX future has a beta of 0.6 and the front month SPX straddle has a vega of 8.5....
Logarithmic regression is used to model data where growth or decay accelerates rapidly at first and then slows over time. This model is for the long term series data (such as 10 years time span). The user can consider entering the market when the price below 25% or 5% confidence and consider take profit when the price goes above 75% or 95% confidence line. This...
An article titled Bitcoin Stock-to-Flow Model was published in March 2019 by "PlanB" with mathematical model used to calculate Bitcoin model price during the time. We know that Ripple has a strong correlation with Bitcoin. But does this correlation have a definite rule? In this study, we examine the relationship between bitcoin's stock-to-flow ratio and the...
just a example on how to edit line style on the output of the polynomial regression library..
This indicator builds upon the previously posted Nadaraya-Watson smoothers. Here we have created an envelope indicator based on Kernel Smoothing with integrated alerts from crosses between the price and envelope extremities. Unlike the Nadaraya-Watson estimator, this indicator follows a contrarian methodology. Please note that by default this indicator can be...
Calculates a log-log regression from arrays. Due to line limits, for sets greater than the limit, only every nth value is plotted in order to cover the entire set.
Calculates an exponential regression from arrays. Due to line limits, for sets greater than the limit, only every nth value is plotted in order to cover the entire set.
The following tool smoothes the price data using various methods derived from the Nadaraya-Watson estimator, a simple Kernel regression method. This method makes use of the Gaussian kernel as a weighting function. Users have the option to use a non-repainting as well as a repainting method, see the USAGE section for more information. 🔶 USAGE 🔹 Non...
Hi fellow traders.. Happy to share a Linear Regression & RSI Multi-Function Custom Screener with Table-Labels... The Screener scans for Linear Regression 2-SD Breakouts and RSI OB/OS levels for the coded tickers and gives Summary alerts Uses Tables (dynamica resizing) for the scanner output instead of standard labels! This Screener cum indicator collection has...
This indicator is basically the standard linear regression but adjusted to be suitable for log scale. You can use 2 different standard deviation values, choose the data source and lookback length. The colors are chosen directly on the main menu. Enjoy!