NSDT Double MA ShadingThis script is an interesting take on Convergence and Divergence of Moving Averages. With the built-in MACD Indicator, you cannot make these adjustments to the settings.
DESCRIPTION
The top Moving Average is calculated on the High of the candle.
The bottom Move Average is calculated on the Low of the candle.
If the two are moving apart (Divergence), the shaded area between them turns Green.
If the two are moving together (Convergence), the shaded area between them turns Red.
This may help identify when a trend is becoming stronger or weaker, based on the shaded area and Moving Average direction.
POSSIBLE USAGE
For example:
If the MA's are pointing downward and the shaded area is Green - it means that average distance between the candle High and Low is getting wider, which may indicate a stronger downward movement. Then, when the shaded area turns Red, signaling the average distance between the candle High and Low are getting narrower, this may indicate that the downward movement is weakening, and may be the end of that downward trend.
SETTINGS
You can choose from EMA, SMA, WMA, RMA, HMA, TMA, and VWMA.
Although you can choose the MA Source, it is highly recommended to keep one source on the High of the candle and the other on the Low of the candle, for measure Convergence and Divergence.
All indicator settings are editable.
It can be used on Multi Timeframes (MTF).
This script is free and open source.
Mtfmovingaverages
+ Multi-timeframe Multiple Moving Average LinesThis is a pretty simple script that plots lines for various moving averages (what I think are the most commonly used across all markets) of varying lengths of timeframes of the user's choosing. Timeframes range from 5 minutes up to one month, so regardless if you're a scalper or a swing trader there should be something here for you.
There are 8 lines (that can be turned on/off individually), which may seem like a lot, but if you use two averages and want to display four different timeframes for each, you can do that. The nice thing is that because the lines start plotting from the current bar they won't clutter up the screen. And obviously having moving averages from different timeframes on your chart makes price action more difficult to read (I mean sure, you can make them invisible, but who wants to do that all the time).
For each line there are two labels. One with the moving average type, and the other with its specific timeframe. I can't include the moving average length because it's not a string input. If anyone has a workaround for this, let me know, otherwise I would simply recommend setting different colors depending on the length, or if you only use one or two lengths and one or two moving averages this shouldn't be an issue. I had to use two labels because for the label text I couldn't include more than one string input, this is why there is an input for the 'moving average type label distance.'' You will want to adjust this depending on if you are trading crypto, futures, or forex because in some cases there may still be label overlap.
Pretty much everything else is self-explanatory.
I've added alerts. I might need to modify them if I can, because it would be nice for them to state the name and timeframe of the moving average. But I think this will do for now.
Enjoy!
Hx MTF Moving AverageThis script provides a quick and easy access to different timeframes of a moving average in one indicator and one tab.
It handles up to 4 different timeframes and the current timeframe if it is different from the preset timeframes.
The moving average is not displayed if the current timeframe is higher than the preset timeframe, as per TradingView recommandations.
Available moving average types: sma , wma , ema , vwma , rma (RSI), hma (Hull) and smma (Smoothed).
The default settings provide an example of commonly used timeframes with associated colors ranked from Hot (shorter, more nervous) to Cold (longer, less nervous) while the current timeframe is displayed in gray.
These settings are just an example and are NOT meant to be used as a trading system! DYOR!