Cumulative A/D Line is a total of advancing issues - declining issues of all time.
This can be used to know long-term trend.(weeks, months long)
(2) How to use this?
- Add this script to your chart.
- Select the market from "Nasdaq", "NYSE", "Nasdaq+NYSE"
- You could change the moving average.
- choose your favorite moving average type "SMA" or "EMA"
shift 7k was experimental parameter and not necessary so I deleted it.
And for your first question, do you want to replace the EMA(red line in my chart) with SMA? (Sorry in my script there are sma and ema so I couldn't get.)
Please let me know what you want to illustrate.
You will notice that 26 wk simple moving average works great . I run it in Stock charts but trading view is better so If u can do use of Sma as well.
heartiest gratitude for such wonder ful add on !
Warm regards !
But as far as I tried, it did not catch the trend turnaround point well... Maybe I miss something.
If you successfully adjust the parameters, please publish your idea on tradingview.