TradingView
cheatcountry
May 1, 2020 2:16 PM

Double Smoothed Momenta 

Apple Inc.NASDAQ

Description

Double Smoothed Momenta was created by William Blau (Stocks & Commodities V. 9:5 (202-205)). His original indicator didn't use a signal period so I added one to notify you when to buy or sell. Buy when the indicator goes over the signal line and sell when it is falls below the signal line.

Let me know what other indicators you would like me to write scripts for!

Release Notes

updated to match my other indicators

Release Notes

fixed issue with default resolution
Comments
Jo19
Hi, if I want to compute 10 day momentum and smooth 20% two times, z length should equal 10 & the other variables are 20?
cheatcountry
@Jo19, Z length and Y Length would be the smoothing lengths and the momentum in this case would be the A length
zpeach
Very impressive indicator and works very well. Thanks for sharing the code too!!
cheatcountry
@zpeach, thank you very much
sandyboy12
Hi there...Do you think you can write a script for Supertrend. I have seen the 10,1 and 3,1 together works quite well. Thanks
cheatcountry
@sandyboy12, yeah I can add this to my list. send me a pm about this
VLopez15
I was able to navigate around and change to the minute mark, thank you. I'm not familiar with the meaning behind each length. Could you explain those please? @cheatcountry
cheatcountry
@VLopez15, These were the recommended lengths set by William Blau and they work pretty well so I decided to keep them as the default. Feel free to change them of course
VLopez15
Hello, I've been messing around with the variables on this script and can't seem to find a way for it to work on the minute mark. Any ideas on how to make this happen?
cheatcountry
@VLopez15, So you have to change the resolution for the indicator to match the resolution for the symbol you are looking at. By default I have the indicator set to a daily resolution so change that to match the timeframe for the chart you are looking at. If you have any questions then feel free to send me a pm and I can walk you through it
More