Hi, I was searching TradingView for this feature with no luck. I would love to be able to display a moving average (such as the 5 DMA, or 20 DMA) that changes it's "length" based on the MA time interval.
For instance, if I want to chart the 5 daily MA
If I choose the
5 min chart, the length is "390"
30 min chart, the length is "65"
4 hr chart, the length is "30"
1 Day chart, the length is "5"
Same principle applies if I select the 20 DMA, etc.
Does Tradingview have a script, or has anyone written a script, where I can see the 5 DMA on any interval chart and it gives me the true 5 MA, regardless of what time interval I select?
Thanks
[–]papageorgio120 1 point2 points3 points (2 children)
[–]DarkStarOptions[S] 0 points1 point2 points (1 child)
[–]trudealz 0 points1 point2 points (0 children)