NodeX4

Moving Average Gradient (MAG)

NodeX4 Updated   
The Moving Average Gradient Indicator uses multiple Moving Averages to create a gradient. It creates continually more faint MAs, filled upwards or downwards to the price at a certain opacity. It can be used efficiently for stocks, forex, crypto, and more. This indicator combines numerous Moving Averages of your choice, a few of which include:
  • EMA
  • SMA
  • WMA
  • HMA
  • RMA
  • DMA
  • LSMA
  • VAMA
  • TMA
  • MF

Using this indicator will make entries more simple because crossovers and crossovers can more easily be detected, either manually or using alerts. These multiple Moving Averages allow for a smoothed out price trend, and the filtering of irregular and odd short-term price fluctuations. Due to the ample count of price trends that are widely used, it is difficult to view the market through the eyes of all types of investors/traders. This indicator manages to counter exactly that, you will be able to see all existing trends and enter/exit positions accordingly. This indicator can be used with all chart types and works well with many other indicators. It allows for complete customization and offers easy-to-understand settings which can be designated to a certain individual. You can modify every single factor of the MAs which allows for an even more personalized and adapted Indicator that reflects your trading/ investing inquiries. Most importantly, it looks cool.

A few of the technical settings you can change are:
  • Moving Average Count (Select how many do you want to be displayed.)
  • Moving Average Type (EMA, SMA, WMA, etc.)
  • Source (close, open, high, low)
  • Separate MA Length (The length of each Moving Average, its lookback. How many previous candles should it be based on? Choose each Moving Average's lookback length.)

You can also change the style settings of the indicators like:
  • Progressive opacity percentage (By how much will the next MAs fill affect the other? 1st: 50%, 3rd: 30%, 4th: 20%, 5th: 10%)
  • Bullish Candle Color
  • Bearish Candle Color

This indicator is unique because it can be used for all strategies and all trading styles, for example, day trading or long-term investing, really anything if used correctly. The reason it can be used in so many instances is a result of the detailed and in-depth settings tab. This allows the indicator to be used and to be useful in various situations and allows you to dominate the market. You can either increase the MA length difference by progressively small amounts for day trading and create bigger gaps in the MA length difference for swing trading or long-term investing. Integrated alerts also enhance your efficiency while using this indicator because you can choose to be notified at the crossovers and crossunders of a pair of Moving Averages.

The technical portion of the indicator creates and plots the chosen amount or count of Moving Averages as specified in the settings tab. Then it fills each MA using the selected color and opacity. Afterward, it adapts the moving Averages to use the inputted data from the settings tab and uses it to plot them accordingly.
Release Notes:
Fixed Tooltips for all Settings
Release Notes:
displays now properly
Release Notes:
cleaned up code
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?