Greetings to all! As you probably know, TradingView now supports interactive inputs that can be directly set on a chart. I decided to build a tool that takes advantage of this incredible feature. This tool applies robust linear regression within a time interval on the chart that you can select interactively. Method The script uses an algorithm known as ...
Thank you to alexgrover for putting me wide to this, after putting up with long conversations and stupid questions. Follow him and behold: www.tradingview.com What is this? This is simply the function for a Least Squares Moving Average. You can render this on the chart by using the linreg() function in Pine. Personally I like to use the slope of the LSMA to...
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...
This indicator plots 2 moving averages with a cloud filling the area between the two. It has the unique ability to choose between multiple moving average types, AND also paints the average based on slope direction, all in one indicator. Most of the available moving average cloud indictors only allow one type of moving average for both averages together (e.g. 21...
Shows the slope of KAMA by comparing last bar KAMA value to current bar KAMA value. Very simple, yet very effective determining the trend or volatility of market. When slope is very small market can be in range, hence it can be used as volatility filter for trend traders.
It shows the weekly EMA slope as a histogram on any time frame chart.
This script was cannibalized by another member on here (Kudos given in Script). I trimmed down the script and created this to give a visual representation of the changing slope on exponential moving averages.
Introduction A simple oscillator using a modified lowess architecture, good in term of smoothness and reactivity. Lowess Regression Lowess or local regression is a non-parametric (can be used with data not fitting a normal distribution) smoothing method. This method fit a curve to the data using least squares. In order to have a lowess regression one must...
The 4C ATR is a simple indicator that plots a horizontal line on the ATR indicator, which can be used as a minimum or maximum reference value. Some trading setups have specific criteria that require a minimum ATR on a certain timeframe for the instrument to be playable. The horizontal line is useful as a quick visual reference, and can be adjusted to any...
I took the "EMA_TKP_TREND SYSTEM" and converted it to plot a simple moving average for the "slow moving average".
This indicator uses the concept of slopes and normalizes the values so that they are bounded between 0 and 100. The steps required to calculate the indicator are as follows: * Calculate the slope of the price using a lookback period (by default, it is either 14 or 21). The slope is calculated by subtracting the current close price from the close price 21 (or 14)...
Simple combination of LWMA and ATR Formula: Normalized LWMA = (LWMA-LWMA )/ATR
This Script displays Regular or Log Returns as either a line or histogram and labels the current bar. If something other than price is selected as the source, the result is percent change with a positive or negative slope. If a moving average of price is used as the source, the result is analogous to a strength index Other options include a look-back period...
This is a standard ADX DMI indicator with Background colour and the option to draw the Background colour of the next higher timeframe.
Graphs slope of ohlc4 MACD When it =0, trend change play with slow&fast lengths as well as the length used to calculate the slope. -in progress(?) Vertical lines in the image are as close as I could get them to SMACD=0.
Moving average slope and momentum Analysis, dark color its speeding up, light color slowing