Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Gold Customer
Joined: 5/13/2010 Posts: 146
|
Hi Bruce,
You helped members previously to create the “Squeeze Indicator”. To review the squeeze Indicator: The Squeeze indicator signals consolidation and market direction when the Bollinger Bands are within the Keltner Bands (the squeeze part) and is combined with a momentum indicator (for trade direction).
The formula for the indicator that you presented combined the Bollinger and Keltner Bands, but excluded momentum (MACD also works pretty good for the momentum part). The all in one indicator is graphically easier to use. Can you create the same thing in TC2000? I would like to continue to use TC2000 rather than Think or Swim. How can I send you an image of what I am talking about?
Thanks,
Vince
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please take a look at the TTM squeeze revisited topic.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 5/13/2010 Posts: 146
|
Hi Bruce,
Fantastic. The indicator works great!! I did one additional thing: I renamed the Momentum portion Momentum Squeeze. I selected Momentum Squeeze from the chart and chose save this indicator. It then asked me what I wanted to include (check mark) Squeeze On and Squeeze Off, which I did. Now whenever Momentum Squeeze is selected as an indicator Squeeze On and Squeeze Off are automatically included.
I know that this is gilding the lily, but the TOS squeeze indicator changes the color of the histogram bars when there is a change in direction of momentum. Any ideas about this?
Thanks a whole lot,
Vince
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
We should be able to do it. There are several different momentum indicators proposed in the topic. Which momentum indicator did you end up using?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 5/13/2010 Posts: 146
|
Hi Bruce,
The momentum indicator that you used in "TTM Squeeze Revisited" is the one.
Vince
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Assuming you want one color when going up and another color when going down, you would need to use two Custom PCF Indicator plotted in the same scale as each other (but in a different scale the Squeeze On/Off line).
- Plot Style: Histogram
- Plot Color: Color 1
- Negative Value Color: Color 2 (could be the same as Color 1)
- Period: 1
- Average Type: Simple
- Formula: ABS(C / C12 >= C5 / C17) * 100 * ((C / C12 + C1 / C13 + C2 / C14 + C3 / C15 + C4 / C16) / 5 - 1)
- Label: Momentum Up
- Plot Style: Histogram
- Plot Color: Color 3
- Negative Value Color: Color 4 (could be the same as Color 3)
- Period: 1
- Average Type: Simple
- Formula: ABS(C / C12 < C5 / C17) * 100 * ((C / C12 + C1 / C13 + C2 / C14 + C3 / C15 + C4 / C16) / 5 - 1)
- Label: Down
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 5/13/2010 Posts: 146
|
Hi Bruce,
This almost works. When I combine this new indicator with your previous "Sqeeze On" and Squeeze Off" indicators, both squeeze indicators are offset by a posiive amount. How to fix?
Thanks,
Vince
|
|
Gold Customer
Joined: 5/13/2010 Posts: 146
|
Bruce,
Reference the previous message.
Vince
|
|
Registered User Joined: 5/29/2014 Posts: 26
|
To get the dots in the middle of the scale, scale the dots with each other ONLY using -100 to 100. (Dont scale with any other indicator you are using) Add the dots after the other indicators. Center the other indicators on 0. If the dots are added first, 1/2 of each dot will be cut off.
At least this works for me. GL
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The note by aquavision is correct. It looks like you just need to set the scale for your momentum indicators to be centered on 0.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Gold Customer
Joined: 5/13/2010 Posts: 146
|
Bruce,.
OK, that worked,
Thanks again.
Vince
|
|
Registered User Joined: 8/1/2012 Posts: 3
|
Hi Bruce,
With reference to your post below (Sep. 10, 2014 - 2:27:42 pm) regarding one color bar for up and another for down - can this be done for the TTM Momentum formula posted by diceman on Feb. 10, 2014 (10:41:09 am)?
Thanks!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Assuming you want one color when going up and another color when going down, you would need to use two Custom PCF Indicator plotted in the same scale as each other (but in a different scale the Squeeze On/Off line - follow the scaling directions in the TTM squeeze revisited topic).
- Plot Style: Histogram
- Plot Color: Color 1
- Negative Value Color: Color 2 (could be the same as Color 1)
- Period: 1
- Average Type: Simple
- Formula: ABS(13 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) + 6 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2) >= 19 * (AVGC19.1 - ((AVG(MAXH20.1,19) + AVG(MINL20.1,19)) / 2 + XAVG(AVGC19.1,20)) / 2)) * (AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - C19 - ((MAXH20 + MINL20 - MAXH20.19 - MINL20.19) / 2 + XAVGC20 - XAVGC20.19) / 2) + 8.5 * (C1 - C18 - ((MAXH20.1 + MINL20.1 - MAXH20.18 - MINL20.18) / 2 + XAVGC20.1 - XAVGC20.18) / 2) + 7.5 * (C2 - C17 - ((MAXH20.2 + MINL20.2 - MAXH20.17 - MINL20.17) / 2 + XAVGC20.2 - XAVGC20.17) / 2) + 6.5 * (C3 - C16 - ((MAXH20.3 + MINL20.3 - MAXH20.16 - MINL20.16) / 2 + XAVGC20.3 - XAVGC20.16) / 2) + 5.5 * (C4 - C15 - ((MAXH20.4 + MINL20.4 - MAXH20.15 - MINL20.15) / 2 + XAVGC20.4 - XAVGC20.15) / 2) + 4.5 * (C5 - C14 - ((MAXH20.5 + MINL20.5 - MAXH20.14 - MINL20.14) / 2 + XAVGC20.5 - XAVGC20.14) / 2) + 3.5 * (C6 - C13 - ((MAXH20.6 + MINL20.6 - MAXH20.13 - MINL20.13) / 2 + XAVGC20.6 - XAVGC20.13) / 2) + 2.5 * (C7 - C12 - ((MAXH20.7 + MINL20.7 - MAXH20.12 - MINL20.12) / 2 + XAVGC20.7 - XAVGC20.12) / 2) + 1.5 * (C8 - C11 - ((MAXH20.8 + MINL20.8 - MAXH20.11 - MINL20.11) / 2 + XAVGC20.8 - XAVGC20.11) / 2) + .5 * (C9 - C10 - ((MAXH20.9 + MINL20.9 - MAXH20.10 - MINL20.10) / 2 + XAVGC20.9 - XAVGC20.10) / 2)) / 665)
- Label: Momentum Up
- Plot Style: Histogram
- Plot Color: Color 3
- Negative Value Color: Color 4 (could be the same as Color 3)
- Period: 1
- Average Type: Simple
- Formula: ABS(13 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) + 6 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2) < 19 * (AVGC19.1 - ((AVG(MAXH20.1,19) + AVG(MINL20.1,19)) / 2 + XAVG(AVGC19.1,20)) / 2)) * (AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - C19 - ((MAXH20 + MINL20 - MAXH20.19 - MINL20.19) / 2 + XAVGC20 - XAVGC20.19) / 2) + 8.5 * (C1 - C18 - ((MAXH20.1 + MINL20.1 - MAXH20.18 - MINL20.18) / 2 + XAVGC20.1 - XAVGC20.18) / 2) + 7.5 * (C2 - C17 - ((MAXH20.2 + MINL20.2 - MAXH20.17 - MINL20.17) / 2 + XAVGC20.2 - XAVGC20.17) / 2) + 6.5 * (C3 - C16 - ((MAXH20.3 + MINL20.3 - MAXH20.16 - MINL20.16) / 2 + XAVGC20.3 - XAVGC20.16) / 2) + 5.5 * (C4 - C15 - ((MAXH20.4 + MINL20.4 - MAXH20.15 - MINL20.15) / 2 + XAVGC20.4 - XAVGC20.15) / 2) + 4.5 * (C5 - C14 - ((MAXH20.5 + MINL20.5 - MAXH20.14 - MINL20.14) / 2 + XAVGC20.5 - XAVGC20.14) / 2) + 3.5 * (C6 - C13 - ((MAXH20.6 + MINL20.6 - MAXH20.13 - MINL20.13) / 2 + XAVGC20.6 - XAVGC20.13) / 2) + 2.5 * (C7 - C12 - ((MAXH20.7 + MINL20.7 - MAXH20.12 - MINL20.12) / 2 + XAVGC20.7 - XAVGC20.12) / 2) + 1.5 * (C8 - C11 - ((MAXH20.8 + MINL20.8 - MAXH20.11 - MINL20.11) / 2 + XAVGC20.8 - XAVGC20.11) / 2) + .5 * (C9 - C10 - ((MAXH20.9 + MINL20.9 - MAXH20.10 - MINL20.10) / 2 + XAVGC20.9 - XAVGC20.10) / 2)) / 665)
- Label: Down
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 8/1/2012 Posts: 3
|
Didn't see your respose to previous post, my apologies. Many thanks!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |