Gold Customer
Joined: 3/20/2006 Posts: 161
|
I have set up indicator for TTM Squeeze and it is working well thanks to your help. I have read recently about putting 3 different TTM waves in as an indicator, short, intermediate and long. They mentioned short = 5 bars, interm. =25 bars and long 50 bars. All are plotted as a histogram. One is looking for an agreement between all 3 waves showing market positive, all above zero line to indicate all wave are in agreement.
I hope this is clear. IF you have any suggestions , I would appreciate it.
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I do not know how the TTM Waves are calculated and have not been able to find a description of the calculations on the internet.
The image of the waves you sent in by email is not enough information for me to be able to figure out the calculations.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
I think the waves being referred to are similar to the difference between the stock's price and a short (5 barsor periods) ,intermediate (20 bars) , and long ( 50 bars) moving average.
This difference is then plotted above or below a center or 0 line.
Here is John Carter's free webinar on the version ($497)
he sells of this:
http://products.simpleroptions.com/abc-webinar-replay/
The waves give a nice visual representation of the short, intermed. and long term trends of any market in any time frame.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
Usually, the best trades are when all three time trends are in alignment...ie. all above or all below 0
It would seem the same functional result could be obtained by simply using the moving averages.
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
Donv98
Have you tried to replcate the 3 waves in TC2000?
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
Bruce,
Please help me replicate the wave indicator.
So far my formula for the long is C-XAVGC50
I chose center on 0 for scaling.
Obviously I am forgetting some things as it is not quite right.
Many thanks for any help!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You probably want to set the Period to 1 instead of 50.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
Many thanks Bruce.
I now have an approximation of the wave indicator.
I just tried setting the period at 1, then to 5 like in the ttm squeeze.
The 5 setting provides a smoothing function that I like better.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
QUOTE (jpag1)
Donv98
Have you tried to replcate the 3 waves in TC2000?
I have a rough approximation so far.
I am using the formulas: C-XAVGC50, C-XAVGC21, C-XAVG5 for the long, intermed.,and short waves.
I don't yet know how to approximate the dual colors for each wave.
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
I assume this is the Wave C fomula. What did you use for short A and immediate B waves. 5 and 20 instead of the 50. What did you use to smooth both of these?
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
QUOTE (jpag1)
I assume this is the Wave C fomula. What did you use for short A and immediate B waves. 5 and 20 instead of the 50. What did you use to smooth both of these?
I just tried setting the period at 1, then to 5 like in the ttm squeeze.
The 5 setting provides a smoothing function that I like better.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
QUOTE (donv98)
QUOTE (jpag1)
I assume this is the Wave C fomula. What did you use for short A and immediate B waves. 5 and 20 instead of the 50. What did you use to smooth both of these?
I just tried setting the period at 1, then to 5 like in the ttm squeeze.
The 5 setting provides a smoothing function that I like better.
I am using the formulas: C-XAVGC50, C-XAVGC21, C-XAVG5 for the long, intermed.,and short waves.
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
That is the settings that I have. Thanks you. Now, I wil pull up TTM Waves from John on one screen and the ones we have discussed to see how closely they align.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
I don't yet know how to approximate the dual colors for each wave.
It looks like the ttm wave is the wave as above overlayed with a 12 period momentum oscillator as is used in the ttm squeeze.
The C wave above has the Momentum oscillator overlaid to create the dual colors in the wave.
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
Thanks
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
QUOTE (jpag1)
That is the settings that I have. Thanks you. Now, I wil pull up TTM Waves from John on one screen and the ones we have discussed to see how closely they align.
Please let me know how well this approximation compares to the TTM waves.
It will help me tweak it . Please be as specific as possible.
I am assuming you will you the TTM waves from John's webinar or free videos for comparison.
The combo wave is available on TOS for free and can be broken out into the A and C waves.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
Typo... should read:
I am assuming you will use the TTM waves from John's webinar or free videos for comparison.
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
I have looked at John's nightly newletters and they don't match exactly, but they seem to be close enough. Your settings look like they will give good signals when you match each wave.
I manily use 30 day Front weighted moving average on price chart and 8 FWMVA. but I get best signal using Mansfield's Relative Strentgh indicator that Stan Weinstein wrote about.
Now I am just starting to use the TTM Squeeze Indicator and Waves to see if they will compliment my Relative Strength Indicator.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
QUOTE (jpag1)
I have looked at John's nightly newletters and they don't match exactly, but they seem to be close enough. Your settings look like they will give good signals when you match each wave.
I manily use 30 day Front weighted moving average on price chart and 8 FWMVA. but I get best signal using Mansfield's Relative Strentgh indicator that Stan Weinstein wrote about.
Now I am just starting to use the TTM Squeeze Indicator and Waves to see if they will compliment my Relative Strength Indicator.
You could switch your short A wave to use 8fwmva and intermed. B to 30fwmva and also change from simple to front weighted in the average type dropdown on the indicator.
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
Thanks for suggestion
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
Be aware that you can now scan for stocks that are above 0 or below 0 for each of the waves.
Another very useful scan is where all 3 waves are above 0 on both weekly and daily charts.
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
Thanks Good idea.
|
|
Registered User Joined: 8/30/2011 Posts: 161
|
i have made an approximation of this indicator using the formula for both volume and close prices they are:
c-avc(period 5,25,50)
v-avgv(period5,25,50)
i can get all 3 indicators on top of each other but how can i make 2 of the colors more opaque/see through than the other one at best im only seeing 2 colors.
I can get the values by mousing over the bar and looking at the tooltip but id also like to know how to set the colors so i can see all 3 at the same time please if possible.
|
|
Registered User Joined: 3/8/2010 Posts: 30
|
Are there and thoughts on sharing the TTM squeeze and TTM wave code that you guys have crafted and refined with others?
I would be very interested. Just watched JC videos and have not yet figured out to to pull this off on TC2000 12.4 myself.
Thanks
Peter
|
|
Registered User Joined: 3/8/2010 Posts: 30
|
QUOTE (rbayliss40)
i have made an approximation of this indicator using the formula for both volume and close prices they are:
c-avc(period 5,25,50)
v-avgv(period5,25,50)
i can get all 3 indicators on top of each other but how can i make 2 of the colors more opaque/see through than the other one at best im only seeing 2 colors.
I can get the values by mousing over the bar and looking at the tooltip but id also like to know how to set the colors so i can see all 3 at the same time please if possible.
I have tried to enter the 2 above formula's and receive a formula error.
"Argument missing near ("
Thanks
Peter
|
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
If you want to plot the 5-Period Simple Moving Average of the 12-Period Rate of Change Percent as a histogram in the same pane as the dots (this is not the histogram in the TTM Squeeze indicator but Telework indicates it is close), start by creating the following Custom PCF Indicator (otherwise skip this step):
- Plot Style: Histogram
- Plot Color: Light Blue
- Negative Value Color: Checked - Light Orange
- Period: 5
- Average Type: Simple
- Formula: 100 * (C / C12 - 1)
- Label: Momentum
You will want to click on this indicator and select Scaling to set the Scale Method to Center on 0. The other scaling settings for the indicator are up to you.
You want to have both Custom PCF Indicators which plot dots in the same pane and scale, so make sure you choose to scale them with each other when prompted, but do not scale them with the histogram as it will use a different Scale Method.
Add a Custom Indicator with the following settings to plot red dots when there is a squeeze:
- Plot Style: Dots
- Plot Color: Red
- Period: 1
- Average Type: Simple
- Formula: 200 * (SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 20) * 4 / 3 / ((AVGH20 - AVGL20) / 2 + (ABS(H - C1) + ABS(L - C1) + ABS(H1 - C2) + ABS(L1 - C2) + ABS(H2 - C3) + ABS(L2 - C3) + ABS(H3 - C4) + ABS(L3 - C4) + ABS(H4 - C5) + ABS(L4 - C5) + ABS(H5 - C6) + ABS(L5 - C6) + ABS(H6 - C7) + ABS(L6 - C7) + ABS(H7 - C8) + ABS(L7 - C8) + ABS(H8 - C9) + ABS(L8 - C9) + ABS(H9 - C10) + ABS(L9 - C10) + ABS(H10 - C11) + ABS(L10 - C11) + ABS(H11 - C12) + ABS(L11 - C12) + ABS(H12 - C13) + ABS(L12 - C13) + ABS(H13 - C14) + ABS(L13 - C14) + ABS(H14 - C15) + ABS(L14 - C15) + ABS(H15 - C16) + ABS(L15 - C16) + ABS(H16 - C17) + ABS(L16 - C17) + ABS(H17 - C18) + ABS(L17 - C18) + ABS(H18 - C19) + ABS(L18 - C19) + ABS(H19 - C20) + ABS(L19 - C20)) / 40 + .000001) >= 1)
- Label: Squeeze On
And another Custom Indicator with the following settings to plot yellow dots when there is not a squeeze:
- Plot Style: Dots
- Plot Color: Yellow
- Period: 1
- Average Type: Simple
- Formula: 200 * (SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 - 20 * AVGC20 ^ 2) / 20) * 4 / 3 / ((AVGH20 - AVGL20) / 2 + (ABS(H - C1) + ABS(L - C1) + ABS(H1 - C2) + ABS(L1 - C2) + ABS(H2 - C3) + ABS(L2 - C3) + ABS(H3 - C4) + ABS(L3 - C4) + ABS(H4 - C5) + ABS(L4 - C5) + ABS(H5 - C6) + ABS(L5 - C6) + ABS(H6 - C7) + ABS(L6 - C7) + ABS(H7 - C8) + ABS(L7 - C8) + ABS(H8 - C9) + ABS(L8 - C9) + ABS(H9 - C10) + ABS(L9 - C10) + ABS(H10 - C11) + ABS(L10 - C11) + ABS(H11 - C12) + ABS(L11 - C12) + ABS(H12 - C13) + ABS(L12 - C13) + ABS(H13 - C14) + ABS(L13 - C14) + ABS(H14 - C15) + ABS(L14 - C15) + ABS(H15 - C16) + ABS(L15 - C16) + ABS(H16 - C17) + ABS(L16 - C17) + ABS(H17 - C18) + ABS(L17 - C18) + ABS(H18 - C19) + ABS(L18 - C19) + ABS(H19 - C20) + ABS(L19 - C20)) / 40 + .000001) < 1)
- Label: Squeeze Off
The of dots line running along zero is the one we want. The line of dots running along -200 is not needed. So you will click on one of the Custom PCF Indicators and select Scaling so you can change the Scale Method to -100 to 100 and the Grid Lines to Fixed Arithmetic with the Amount Between Lines set to 200.00.
-Bruce
|
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
QUOTE (jpag1)
If you want to plot the 5-Period Simple Moving Average of the 12-Period Rate of Change Percent as a histogram in the same pane as the dots (this is not the histogram in the TTM Squeeze indicator but Telework indicates it is close)
This matches the momentum histogram used with the squeeze indicator:
AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) + 8.5 * (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) + 7.5 * (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) + 6.5 * (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) + 5.5 * (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) + 4.5 * (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) + 3.5 * (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) + 2.5 * (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) + 1.5 * (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) + .5 * (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - .5 * (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - 1.5 * (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - 2.5 * (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - 3.5 * (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - 4.5 * (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - 5.5 * (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - 6.5 * (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - 7.5 * (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - 8.5 * (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - 9.5 * (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2)) / 665
At least when John Carter uses TradeStation.
(I dont know if TOS is scaled differently)
Thanks
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
QUOTE (rbayliss40)
i have made an approximation of this indicator using the formula for both volume and close prices they are:
c-avc(period 5,25,50)
v-avgv(period5,25,50)
i can get all 3 indicators on top of each other but how can i make 2 of the colors more opaque/see through than the other one at best im only seeing 2 colors.
I can get the values by mousing over the bar and looking at the tooltip but id also like to know how to set the colors so i can see all 3 at the same time please if possible.
i can get all 3 indicators on top of each other but how can i make 2 of the colors more opaque/see through than the other one at best im only seeing 2 colors.
Please use the snipping tool to copy and then paste a screenshot so I have a better idea of what you are describing.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
QUOTE (rbayliss40)
i have made an approximation of this indicator using the formula for both volume and close prices they are:
c-avc(period 5,25,50)
v-avgv(period5,25,50)
i can get all 3 indicators on top of each other but how can i make 2 of the colors more opaque/see through than the other one at best im only seeing 2 colors.
I can get the values by mousing over the bar and looking at the tooltip but id also like to know how to set the colors so i can see all 3 at the same time please if possible.
rbayliss40,
Many thanks for the idea of creating volume waves like we have with price moving average waves
|
|
Registered User Joined: 3/8/2010 Posts: 30
|
Can anyone shed some light on the 2 formulas
c-avc(period 5,25,50)
v-avgv(period5,25,50)
Not sure how to create these in PCF.
Thanks
Peter
|
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
QUOTE (peter.diazdeleon)
Can anyone shed some light on the 2 formulas
c-avc(period 5,25,50)
v-avgv(period5,25,50)
Not sure how to create these in PCF.
Thanks
Peter
Probably 6 PCFs short, mid, long-term.
C-XAVGC5
C-XAVGC25
C-XAVGC50
V-XAVGV5
V-XAVGV25
V-XAVG50
Once created you set the period to 5 for a little more smoothing.
(at least thats my take from the discussion above)
Thanks
|
|
Registered User Joined: 3/8/2010 Posts: 30
|
QUOTE (diceman)
QUOTE (peter.diazdeleon)
Can anyone shed some light on the 2 formulas
c-avc(period 5,25,50)
v-avgv(period5,25,50)
Not sure how to create these in PCF.
Thanks
Peter
Probably 6 PCFs short, mid, long-term.
C-XAVGC5
C-XAVGC25
C-XAVGC50
V-XAVGV5
V-XAVGV25
V-XAVG50
Once created you set the period to 5 for a little more smoothing.
(at least thats my take from the discussion above)
Thanks
diceman
Thanks.
Peter
|
|
Registered User Joined: 3/8/2010 Posts: 30
|
QUOTE (donv98)
QUOTE (jpag1)
Donv98
Have you tried to replcate the 3 waves in TC2000?
I have a rough approximation so far.
I am using the formulas: C-XAVGC50, C-XAVGC21, C-XAVG5 for the long, intermed.,and short waves.
I don't yet know how to approximate the dual colors for each wave.
Just finished watching John Carter's 1 hr ABC teaser which trys to get you to pay $497 for a class and a license to the A, B and C waves on one of the several supported platforms.
Anyway, noticed he showed FSLR (39:53 in the video) and the C wave is above and below the zero line (John's words). Our approximation is pretty much above zero.
-Peter
|
|
Registered User Joined: 8/30/2011 Posts: 161
|
Sorry it took so long to reply
the conditions are pretty much as ppl guessed them
v-avgv5 c-avgc5 basically any period you feel like
v-avgv10 c-avgc10
i simply enter and save the formulas then add them to charts edit thme to be thick lines first,then change them to histograms.
You can either add each one as an individual indicator or i start at 5 period and add each indicator to that one.
I was trying to get all 3 overlaid on one histogram and have the colors ranging from dark to light but i can only really get 2 the 3rd color just is too light/dark and overlays everything else.
Id post screenshots but not sure how to take them or post them basically it looks like Donv`s post but one histogram for price and another for volume one below the other, seems to indicate good price movements when you have everything crossing above a 0 line on both indicatrs and all timeframes.
|
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
QUOTE (rbayliss40)
Sorry it took so long to reply
the conditions are pretty much as ppl guessed them
v-avgv5 c-avgc5 basically any period you feel like
v-avgv10 c-avgc10
i simply enter and save the formulas then add them to charts edit thme to be thick lines first,then change them to histograms.
You can either add each one as an individual indicator or i start at 5 period and add each indicator to that one.
I was trying to get all 3 overlaid on one histogram and have the colors ranging from dark to light but i can only really get 2 the 3rd color just is too light/dark and overlays everything
Maybe its the thick lines?
Off the top of my head I tried.
Positive regular hist color:
Fast White
Inter Cyan
Slow Green
Neg regular hist color:
Fast Orange
Inter Magenta
Slow Red
looks ok you can see all six colors change.
Thanks
|
|
Registered User Joined: 8/30/2011 Posts: 161
|
tried it with different thickness lines and in certain parts i do see all 3 colors but if all 3 values are positve what ever color that is will overlay everything under it i cannot make different colors more or less transparent, its no big thing i just wondered how the person earlier in the post did it
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
"Anyway, noticed he showed FSLR (39:53 in the video) and the C wave is above and below the zero line (John's words). Our approximation is pretty much above zero."
-Peter
Peter,
Thank you for pointing this out. I am experimenting with various parameters on the waves.
It seems that using 200 for the LONG C wave gives results much closer to John Carter's C wave.
50 is really not a very long moving average but 200 certainly is.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
Comparison Carter ABC waves above Below is my approximated ABC waves on Daily chart
My coloration of the waves needs some work.
|
|
Registered User Joined: 7/29/2010 Posts: 417
|
My approximation doesn't match up that well to Carter's. The above screen shot uses 200 for the C wave.
My B wave especially seems muted somehow.
Below is my screen shot for the Weekly:
Notice how vastly different my B wave is compared to Carter's. My is really muted.
|
|
Registered User Joined: 10/26/2014 Posts: 5
|
Hey Bruce_L, I found this post from a Tradestation conversion of the TTM waves. I found this because I just recently found that someone coded it for MT4 (as I also trade forex). Could you maybe check this out and let me know if it helps you from a coding standpoint? http://www.traderslaboratory.com/forums/trading-indicators/16938-ttm-wave.html
|
|
Guest-1 |