This indicator returns the average of stochastic oscillators with periods ranging from 4 to length . This allows for a slightly more reactive oscillator as well as having information regarding the position of the price relative to rolling maximums/minimums of different periods. We introduce settings that allow for pre and post-smoothing, with selectable...

1495

An almost zero lag version of the LSMA (Least Squares Moving Average) Gives instant linear regression of current price action. This line works with the same rules as its "laggy" counterpart the LSMA: When price crosses over it signals a bull trend. When price crosses under it signals bear trend. When price stays close or on the line sideways action is to be...

860

This is an experimental study which calculates a linear regression channel over a specified period or interval using custom moving average types for its calculations. Linear regression is a linear approach to modeling the relationship between a dependent variable and one or more independent variables. In linear regression, the relationships are modeled using...

2554

Introduction Forecasting is a blurry science that deal with lot of uncertainty. Most of the time forecasting is made with the assumption that past values can be used to forecast a time series, the accuracy of the forecast depend on the type of time series, the pre-processing applied to it, the forecast model and the parameters of the model. In tradingview we...

1035

Introduction At the start of 2019 i published my first post "Approximating A Least Square Moving Average In Pine", who aimed to provide alternatives calculation of the least squares moving average (LSMA), a moving average who aim to estimate the underlying trend in the price without excessive lag. The LSMA has the form of a linear regression ax + b where x ...

434

Elder-Ray Bear and Bull Power Dr. Alexander Elder cleverly named his first indicator Elder-Ray because of its function, which is designed to see through the market like an X-ray machine. Developed in 1989, the Elder-Ray indicator can be applied to the chart of any security and helps traders determine the strength of competing groups of bulls and bears by gazing...

2208

This indicator centers a moving average around the hl2 of the price. This is calculated as the difference of two moving averages. The upper band is a 9 period exponential moving average, the lower band is a 7 period moving average and the center line is the average between the two. The "Fast Line" is our signal line in this oscillator. When the price is hovering...

48

Moving averages are filters on price data. This moving average creates a filter which factors in: - the price RSI or it's Momentum - the volume RSI - the RVI or Volatility Each factor is put through a least squares filter to smooth them first. Then the factors are used to build a coefficient for an exponentially weighted average. The chart above shows a...

201

Hello! This script calculates the average percentage gain/loss following a price crossover of a moving of any length, up until prices cross back under the MA. The script calculates the average number of candles that the source (i.e. close, open, low, ohlc4) remains above the moving average until crossing back under, in addition to the number of crosses....

228

Introduction Strategy based on the bilateral stochastic oscillator, this oscillator aim to detect trends and possible reversal points of the current trend. The oscillator is composed of 1 bull line in blue and 1 bear line in red as well as a signal line in orange, the strategy have many options such as two different strategy framework and a martingale mode. If...

385

This is an experimental study designed to calculate polynomial regression for any order polynomial that TV is able to support. This study aims to educate users on polynomial curve fitting, and the derivation process of Least Squares Moving Averages (LSMAs). I also designed this study with the intent of showcasing some of the capabilities and potential applications...

1413

This is an experimental study designed using data from Bollinger Bands to determine price squeeze ranges and active levels of support and resistance. First, a set of Bollinger Bands using a Coefficient of Variation weighted moving average as the basis is calculated. Then, the relative percentage of current bandwidth to maximum bandwidth over the specified sampling...

980

This is a variation of Gerald Appel's MACD with seven moving average source types to choose from. The MA types I've included in this script are: - Kaufman's Adaptive Moving Average - Geometric Moving Average - Hull Moving Average - Volume Weighted Moving Average - Least Squares Moving Average - Arnaud Legoux Moving Average -...

642

This is a simple script designed to help filter out bad trades. LSMA is a trend king and by using the 21,200 and 1000 length lines traders can get a clear view of where price action is travelling. This indicator is the perfect companion to the LSMA Wave Rider indicator. Once a pullback is discovered (price action crosses under blue or white line) Traders can use...

506

This indicator uses the Least Squares Moving Average (LSMA) in tandem with the Arnaud Legoux Moving Average (ALMA) and Hull Moving Average (HMA) to generate buy-sell signals, represented by the light blue and orange crosses respectively. The yellow lines produced by the indicator show periods of market uncertainty and possible reversal, and a modified,...

202

The "AC-P" version of Jaggedsoft's RSX Divergence and Everget's RSX script is my personal customized version of RSX with the following additions and modifications: LSMA-D line that averages in three LSMA components to form a composite, the LSMA-D line. Offset for the LSMA-D line is set to -2 to offset latency from averaging togther the LSMA components to form...

1158

Lots of moving averages are based on a weighted sum, the most common ones being the simple (arithmetic) and linearly weighted moving average. The problems with the weighted sum approach is that when your moving average is a FIR filter then the number of operations increase with higher values of length, and when the weights are based on a complex calculation this...

226

The ratings algo is my discount version of the many paid-for algorithms put out by numerous different companies. A technical "rating" (by default between -10 and 10) is produced for each candle, telling the user when to buy, sell, or hold. I took 11 of my personal favorite indicators to develop a rating system. They are: 50/200 SMA crossover 10/20 SMA...

134