Rainbow Moving AverageA Rainbow Moving Average script. There are many like it, but this one is mine. It is designed to be easy to read without too much noise in the number of lines and shading, with the moving average to be some of the commonly used ones. Using commonly referenced moving average values help us to understand "the crowd" and what moving average or trend lines they might be looking at. The default values are derived from hourly charts, but work well on any time frame.
The moving average function is simple to change so you can use it for any moving average type that you like, including volume-weighted.
Inspired by my daughter's love of rainbows, she has approved the colors.
Ssma
Smoothed Sensitive MAThis moving average is sensitive and reacts quickly to significant price movements, while remaining indifferent to small price moves.
Smoothed Sensitive MA is triple weighted for price changes.
It takes in one parameter "Length", which is used as both
1. the lookback period for price change,
zCC=abs(close-close [ len ])
and also as
2. the number of periods to be averaged
zSSMA=sum(zCC*zCC*zCC*close, len )/sum(zCC*zCC*zCC, len )
Alternatively, you could modify the script to use two separate parameters for values for 1 and 2.
FALSE BREAKOUT NO PROBLEM !! CHK TWIN MOV AVG SEGREGATED RIBBON PROBLEM DEFINITION 1 : To Avoid False Breakouts
PROBLEM DEFINITION 2 : To Ascertain if the trend has changed when a Stock opens with a Gap up or Gap Down
## PROBABLE SOLUTION : Use a Moving Average with lot of latency
## PROBLEM WITH ABOVE SOLUTION : Misses on lot of trades, Late exits leads to drain on winning trades
S O L U T I O N
An Indicator which plots two different types of Moving Averages at the same time
For the MA length 5-100 a fast plot of choice
For the MA Length 110-200 a plot with a lag to ascertain the trend
And then ONE LAST MAN STANDING with even bigger MA length for a lagging indicator to save the day
This indicator gives one 9X9 = 81 Permutation Combinations to look at the markets
One can devise strategies basis if one particular MA Type has crossed another MA Type
Feel free to post the strategies you have come out with!
//// CREDITS AND ACKNOWLEDGEMENTS //////////////////////////////////////////////////////////////////
Following contributors helped the author ::
Credits to Neobutane for his Multiple Type Mov. Avg. Guppy at ......
hxxps://www.tradingview.c0m/script/UQAv1U0c-MA-Study-Different-Types-and-More-NeoButane/
Credits to Jose5770 for sharing Jurik MA code at .....
hxxps://www.tradingview.c0m/script/uqYvkHna-Trend-Direction-Force-Index/
Appreciate and Thank You for sharing your work.
//////////////////////////////////////////////////////////////////////////////////////////////////////
P.S You might notice in the code that the few plots are skipped. It is done to fasten the indicator without compromising
on the functionality
CHK TimeSeriesLagReductionFilter[MULTI MA]This script is an improvement on the idea published on " Time Series Lag Reduction Filter "
This script allows users to select the Moving Average of his choice. Helps precise entries and precise exits.
Since every Moving Average is different, play with the settings to get the best fit. If the "Lag Reduce" overshoots bring down the number.
CREDITS ::
TO theheirophant for this idea
TO NEOBUTANE for his MULTI TYPE MOV AVG GUPPY
Thank You NEOBUTANE and Theheirophant.
This is my first publication :)
Sharing few examples what this script can do
FibMAThis study visually demonstrates Fibonacci moving averages.
The darker the color, the stronger the signal is for either buying or selling.
Buys/Sells only take place when each moving average is above/below the its adjactent fibonacci sequence, i.e 5<8<13<21<34<55<89<144 for buying..
Alerts are provided as BUY ASSET and SELL ASSET.
Multiple moving averages are also provided.
MasterMAThis study demonstrates 15 different common moving averages.
SMA, Double SMA, Triple SMA
EMA, Double EMA, Triple EMA
WMA, Double WMA, Triple WMA
VWMA, Double VWMA, Triple VWMA
Hull, Double Hull, Triple Hull
Buy/Sell alerts are given for crossover/under conditions.
Triangles at the bottom, pointing up are buy signals. Triangles at the top, pointing down, are sell signals