Least Squares Moving Average (LSMA)
MA Turning Point StrategyStrategy based on going long on bottom turning point of a user-definable MA, and short at the top turning point. Can set any length of MA, and choose between SMA or EMA.
Godmode3.2+LSMAThis script has been based on ProwdClown's instructions of usage.
GM settings 9, 6, 3 should be used, LSMA 25, 0 has been implemented.
Original author for main script: LazyBear, xSilas and Ni6HTH4wK, modified By sco77m4r7in and oh92, later modified By scilentor.
Auto-FilterA least squares filter using the Auto line as source, practical for noise removal without higher phase shift.
Its possible to create another parameter for the auto-line length, just add a parameter Period or whatever you want.
r = round(close/round)*round
dev = stdev(close,Period)
Hope you enjoy :)
Kozlod - Yet Another Moving Average Cross Alerts (9 MA types)You can choose one of these MA types in params:
Simple Moving Average ( SMA )
Exponential Moving Average ( EMA )
Weighted Moving Average ( WMA )
Arnaud Legoux Moving Average ( ALMA )
Hull Moving Average ( HMA )
Volume-weighted Moving Average ( VWMA )
Least Square Moving Average ( LSMA )
Smoothed Moving Average ( SMMA )
Double Exponential Moving Average ( DEMA )
Also you can select SL/PT % levels.
There are 4 alerts available: LONG/SHORT/EXIT LONG/EXIT SHORT
Same script as strategy:
Kozlod - Yet Another Moving Average Cross Strategy (9 MA types)You can choose one of these MA types in params:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Weighted Moving Average (WMA)
Arnaud Legoux Moving Average (ALMA)
Hull Moving Average (HMA)
Volume-weighted Moving Average (VWMA)
Least Square Moving Average (LSMA)
Smoothed Moving Average (SMMA)
Double Exponential Moving Average (DEMA)
Also you can select SL/PT % levels.
Multi-Bollinger [DW]This is an experimental study designed to visualize trend activity and volatility using a set of two Bollinger Bands calculated with a basis moving average type of your choice.
The available moving averages in this script are:
-Exponential Moving Average
-Simple Moving Average
-Weighted Moving Average
-Volume Weighted Moving Average
-Hull Moving Average
-Least Squares Moving Average
-Arnaud Legoux Moving Average
-Coefficient of Variation Weighted Moving Average
-Fractal Adaptive Moving Average
-Kaufman's Adaptive Moving Average
In addition, a middle filter is calculated by taking the median of the two basis lines.
Multi-Timeframe functionality is included. You can choose any timeframe that Tradingview supports as the basis resolution for the bands.
Custom bar color scheme is included with four options to choose from.
Squeeze Box [DW]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 period determines the relative squeeze.
The box is outlined by drawing the current highest and lowest source value over the sampling period whenever a squeeze is active.
I've included the COVWMA in the visualization for additional confirmation of price activity.
Custom Bar color scheme is included.
Ultra MACD [DW]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
- Exponential Moving Average
Custom bar color scheme is included with two different colorization methods - one based on the MACD, and the other based on the histogram.
Moving Average Range Channels [DW]This study is an experiment based off the concept used in my Dynamic Range Channel indicator.
Rather than using a McGinley Dynamic, a moving average of your choice is used in this calculation.
There are eight different moving average types to choose from in this script:
- Kaufman's Adaptive Moving Average
- Geometric Moving Average
- Hull Moving Average
- Volume Weighted Moving Average
- Least Squares Moving Average
- Arnaud Legoux Moving Average
- Exponential Moving Average
- Simple Moving Average
For a more refined picture of volatility, I've added upper and lower extension channels. They are calculated by adding the upper half range to the channel high, and subtracting the lower half range from the channel low.
The new custom bar color scheme indicates trends, midline crosses, MA crosses, and overbought and oversold conditions.
Idō Heikin Ichimoku [DW]This is an experimental study inspired by Goichi Hosoda's Ichimoku Kinkō Hyō.
In this study, a McGinley Dynamic replaces the Tenkan-Sen and Kaufman's Adaptive Moving Average replaces the Kijun-Sen.
The cloud is calculated by taking the mean of the highest high and lowest low, adding a golden mean standard deviation above and below, and offsetting it over the specified period.
The lagging span is calculated by offsetting the closing price by the same amount as the cloud period.
Fibonacci Time Moving Average Ribbons [DW]This is an experimental study that takes a moving average of price, then offsets the average by up to 11 consecutive Fibonacci numbers from 1 to 144.
Choose between Kaufman's Adaptive Moving Average, Hull Moving Average, Fractal Adaptive Moving Average, Geometric Moving Average, or Exponential Moving Average.
Disparity Index [DW]This is an iteration of Steve Nison's Disparity Index that includes 5 different moving average types to choose from.
Least Squares Moving Average with BackColorLeast Squares Moving Average.
This indicator change the back color to the LSMA slope.