Self-Weighted Moving AverageThis type of moving average was originally developed by Alex Orekhov at his home. This WMA uses previous prices as weights for the new ones. At the moment, this is a highly experimental approach, so don't use it in real trading.
The weighting scheme is presented on the chart.
Взвешенное скользящее среднее (WMA)
9 moyennes configurables3 moyennes mobiles simples, 3 moyennes exponentielles et 3 moyennes ponderées.
Longueurs configurables dans les paramètres d'entrée.
Parabolic Weighted Moving AverageThe weights of this moving average are powers of the weights of the standard weighted moving average WMA .
Remember:
When parameter Power = 0, you will get SMA .
When parameter Power = 1, you will get WMA .
Good luck!
Double Weighted Moving AverageMr. Jurik uses this weighted moving average to create a crossover trading system with his JMA.
To learn more see www.jurikres.com .
Good luck!
Inverse Distance Weighted Moving AverageThe weights of this moving average are the sums of distances between points.
Good luck!
Distance Weighted Moving AverageAdopted to Pine from systemtradersuccess.com
They wrote that this average is designed to be a robust version of a moving average to reduce the impact of outliers, but I dont see a significant difference comparing it with SMA. So, I published it for the educational purposes.
To learn more about the robust filters and averages google Hampel Filter, Interquartile Range Filter and Recursive Median Filter (or any other filter that is based on quartiles).
Good luck!
Multiple Moving Average Colors7 moving averages in 1 indicator, including the Hull Moving Average.
I've updated with some graphics that print at the top of the chart (you can change color and placement on the indicator settings page)
All 7 MAs Up - Green and up triangle
All 7 MAs Down - Red and down triangle
4, 5 or 6 MAs Up - Dark green and a square
4, 5 or 6 MAs Down - Maroon and a square
SMA/WMA histogram with MTF and alertsThis histogram is based on the difference between SMA and WMA (I make it as false MACD to create signals)
Since we have the non repainting MTF function we can see the buy and the sell signals at different time frames.
the color of the histo change according to difference so as the color change from dark red to light red be ready to buy and if color change from dark green to light green be ready to sell. The signal based on cross to the 0 .
since you have MTF in build you can change time frame changing int2 to desire min you want
here 60 min MTF on 30 min graph. you can make any variation you want .it flexible model allow you to find the best setting for your purpose
Fibonacci Weighted Moving AverageHello traders and developers!
The weights of this WMA are Fibonacci numbers. That's all)
Good luck and happy trading!
Henderson Weighted Moving AverageHenderson Weighted Moving Average script.
This indicator was originally developed by Robert Henderson in 1916 (Transaction of Actuarial Society of America, 17, pp. 43-48: Note on Graduation by Adjusted Average).
Spencer 21-Point Moving AverageSpencer 21-Point Moving Average script.
This indicator was originally developed by John Spencer in 1904 (J.I.A. 38, 334: On the graduation of the rates of sickness and mortality presented by the experience of the Manchester Unity of Oddfellows during the period 1893 - 1897).
Spencer 15-Point Moving AverageSpencer 15-Point Moving Average script.
This indicator was originally developed by John Spencer in 1904 (J.I.A. 38, 334: On the graduation of the rates of sickness and mortality presented by the experience of the Manchester Unity of Oddfellows during the period 1893 - 1897).
Heikin-Ashi Smoothed with option to change MA types CryptoJoncisPine Script version=3
Author CryptoJoncis
Heikin-Ashi Smoothed
The Heikin-Ashi Smoothed study is based upon the standard Heikin-Ashi study with additional moving average calculations. The following is the calculation formula for the bars:
1. The current bar Open, High, Low, Close values are smoothed individually by using the moving average type specified by the Moving Average Type 1 Input with a length/period specified by the Moving Average Period 1 Input.
2. The Heikin-Ashi bar Open, High, Low, Close values are set using the smoothed values from step 1. This is performed using the standard Heikin-Ashi formula.
3. The final Heikin-Ashi Open, High, Low, Close values are calculated by doing a second smoothing of the bar values from step 2 by using the moving average type specified by the Moving Average Type 2 Input with a length/period specified by the Moving Average Period 2 Input.
If you choose to tick the box where it offers to use only one smoothed HA then it skips the third/final step and you do not need to choose the second MA type for it to work.
Remember, using FRAMA, always make sure you use even number for length.
For simple Heikin-Ashi, please tick single smoothed and DEFAULT (Not smoothed as there are no MA used)
Heikin-Ashi bars are calculated:
1. Close = (Open + High + Low + Close) / 4
This is the average price of the current bar.
2. Open = (Open of Previous Bar + Close of Previous Bar) / 2
This is the midpoint of the previous bar.
3. High = Max of (High, Open, Close)
Highest value of the three.
4. Low = Min of (Low, Open, Close)
Lowest value of the three.
Any questions/suggestions/errors or spelling mistakes? Please leave a comment and let me know. I will try to fix it.
This took me few days to finish, so I hope you will find it useful.
Would you like to have more MA type choices? Please comment down with any other which aren't included in this indicator and I will research them and add.
MA included in this script:
Tillson Moving Average (T3)
Double Exponential Moving Average (DEMA)
Arnaud Legoux Moving Average (ALMA)
Least Squares Moving Average (LSMA)
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Weighted Moving Average (WMA)
Smoothed Moving Average (SMMA)
Triple Exponential Moving Average (TEMA)
Hull Moving Average (HMA)
Adaptive moving average (AMA)
Fractal Adaptive Moving Average (FAMA)
Variable Index Dynamic Average (VIDYA)
Triangular Moving Average (TRIMA)
You can use,publish,modify this code in any way as you wish, but only if you reference me after.
You are not allowed to sell it as it is.
If this code is useful to you, then consider to buy me a coffee (or better a pint of beer) by donating Bitcoin or Etherium to:
BTC: 3FiBnveHo3YW6DSiPEmoCFCyCnsrWS3JBR
ETH: 0xac290B4A721f5ef75b0971F1102e01E1942A4578
References:
www.sierrachart.com
www.investopedia.com
www.binarytribune.com
www.investopedia.com
www.stockfetcher.com
www.mql5.com
www.incrediblecharts.com
help.cqg.com
www.blastchart.com
BB limitMarket maker strategy using Bollinger bands as entry, moving average as close and simple stop-loss with percentage of entry position. It was extremely profitable in june on xbtusd.