Hi All
I found the TTM squeeze/ price, I also would like to use the waves in conjunction to the primary indicator.
(See attached )
I would really appreciate if someone could create these waves,
Thanks in advance
Here is a similar coding, but it is buggy
Wave momentums
Why buggy? TTM waves are similar to MACD but with different periods settings, FYI.
They don’t work at times and arn’t aesthetically pleasing
@Nicolas, do you think you could make better waves that are similar to the picture?
Example for Wave A of the indicator you posted the link above:
macd1= exponentialaverage[8](close)-exponentialaverage[34](close)
signal1= average[34,1](macd1)
hist1= macd1-signal1
macd2= exponentialaverage[8](close)-exponentialaverage[55](close)
signal2= average[55,1](macd2)
hist2= macd2-signal2
return hist2 coloured(0,128,0) style(histogram),hist1 coloured(218,165,32) style(histogram)
You need to change the periods in order to get the waves B and C.
That A wave worked perfectly @nicolas, i appreciate it!
I tried changing the periods to the following for wave B.. The wave just disappeared
macd1= exponentialaverage[8](close)-exponentialaverage[89](close)
signal1= average[89,1](macd1)
hist1= macd1-signal1
macd2= exponentialaverage[8](close)-exponentialaverage[144](close)
signal2= average[144,1](macd2)
hist2= macd2-signal2
return hist2 coloured(0,128,0) style(histogram),hist1 coloured(218,165,32) style(histogram)
I have no idea what I’m doing when it comes to coding, sorry if i’m being a nuisance…
If you replace the original code by another, it is obvious that the older one ‘disappear’ 🙂
Make a different indicator for each of the Wave, that’s the easier solution and name them differently: Wave A, Wave B, Wave C.
Thanks mate, my bad…
finally i would like to change the colour for waves B and C.
How would I go about doing this, or is there a video I should watch?
COLOURED
Click on the colour chart image to see what numbers give you what colours.
This website is my favourite to pick nice colors easily: http://cloford.com/resources/colours/500col.htm