TradingView
kanand90
Jun 28, 2020 1:01 PM

MASTC (Moving Average & Supertrend Cloud) 

Gold FuturesMCX

Description

MASTC:- Moving Average & Supertrend Cloud

This MASTC indicator is a combination of Moving Average & Supertrend with default value of 10 & 10,3.

SuperTrend is one of the most common ATR based trailing stop indicators.
A simple moving average ( SMA ) is an arithmetic moving average calculated by adding recent prices and then dividing that by the number of time periods in the calculation average

The buy and sell signals are generated when the indicator starts plotting either on top of the closing price or below the closing price. A buy signal is generated when the ‘Supertrend’ closes above the price and a sell signal is generated when it closes below the closing price.

It also suggests that the trend is shifting from descending mode to ascending mode. Contrary to this, when a ‘Supertrend’ closes above the price, it generates a sell signal as the colour of the indicator changes into red.
Comments
charliegreyling777
what moving average is being used?
War-Jackel
Hello,

I am not sure if you are still monitoring this script, but I am really liking it. Can I please see the code to modify a few things for my own personal use? ie: add a few different alerts and such. Thank you!
More