Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

TTM squeeze- did we ever approximate the real thing? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
SILVERWESOKE
Posted : Monday, December 8, 2014 12:07:20 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

HI Bruce..Its been a while since I looked for updates to the TTM squeeze debate.  I see there are lots of new posts/threads  with lots of new names for modifications of this indicator the likes of which are exceeding my brain bandwith. Can you possibly tell me

1) Did we ever get the proprietary indicator exactly from John Carter?

2) Which of these threads shoudld I look at for the latest version of the squeeze which most closely resembles or duplicates the proprietary indicator so that it will match up with what I have on my other charts.  No extra modification or bells needed..just the basic indicator ( lines, dots and histogram)

Thanks!

Bruce_L
Posted : Monday, December 8, 2014 12:14:58 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I could not say for sure but diceman seemed to think so in his Monday, February 10, 2014 10:41:09 AM ET post in the TTM squeeze revisited topic.

You would be replacing the Momentum Custom PCF Indicator in the instructions given in the Wednesday, October 30, 2013 9:38:18 AM ET or Monday, November 25, 2013 11:04:13 AM ET posts in the same topic.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SILVERWESOKE
Posted : Monday, December 8, 2014 1:12:17 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Thanks much..Ill have a look..Diceman usually knows what he's talking about.:)

Bruce_L
Posted : Monday, December 8, 2014 1:17:34 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

It is the last post on page 1 for me, but you may want to check page 2 if you don't see it on page 1.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
diceman
Posted : Monday, December 8, 2014 1:18:34 PM
Registered User
Joined: 1/28/2005
Posts: 6,049


We cant say because we dont know. (its not disclosed)

However the indicator I posted matches JC values and JC up/dwn movement.

(when he uses Tradestation)

 

Thats good enough for me.

 

 

 

Thanks

 

SILVERWESOKE
Posted : Monday, December 8, 2014 1:30:17 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Hey Diceman thanks for posting..

I just looked at the link that Bruce suggested. but the last post there is for TTM momentum indicator. Can you direct me to the SQUEEZE indicator with histogram, color changes etc that you have found most closelly resembles the real thing..

Thanks!

Bruce_L
Posted : Monday, December 8, 2014 1:34:13 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The instructions for the rest of the indicator are given in the Wednesday, October 30, 2013 9:38:18 AM ET or Monday, November 25, 2013 11:04:13 AM ET posts in the same topic. You are just using the information in diceman's post for the Momentum indicator. Everything else is the same.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SILVERWESOKE
Posted : Monday, December 8, 2014 1:49:00 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Ok thanks all..This appears to be the same one I have and it hasnt changed..

On looking at it though, I d like to make the histogram go from green to red whenever it starts to  decrease in value ,  conversely  go from red to green whenever it starts increasing again..

Id like to have this regarless of whether it is above the line or below the ZERO line.  Is that posted anywhere?

Bruce_L
Posted : Monday, December 8, 2014 2:11:15 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Plot one Custom PCF Indicator using the following formula.

ABS(AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 > AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2) * (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)

And another Custom PCF Indicator using the following formula.

ABS(AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 <= AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2) * (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)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Bruce_L
Posted : Monday, December 8, 2014 2:42:23 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Not if you set the Plot Style to Histogram. You need to set this up the same way you would set up the other versions of Momentum. You just need to have the two different Custom PCF Indicators using different colors.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SILVERWESOKE
Posted : Monday, December 8, 2014 3:57:36 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Im sure you are right about the scaling issue..I moved chart around and it changes the lines. WHere do I go to find this center on 0 adjustment.  Ii dont see it in edit study.

SILVERWESOKE
Posted : Monday, December 8, 2014 4:00:55 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

So I must have moved it without scaling it with the other indicator when I moved it.. Tried again and it seems to be working..Much oblige..

Bruce_L
Posted : Monday, December 8, 2014 4:02:26 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Click on the name of the indicator at the top of the pane where it is plotted and select Scaling.

Note that it is almost as important to have one of the indicators set to Scale With the other indicator as it is have the indicators set to Scale Method Center on 0.

If you have the indicators set to scale with each other with the indicator controlling the scale set to Center on 0,  the indicators will be int the same pane and scale.

If you just have both indicators set to  Center on 0, the indicators will line up in  the center, but the rest of the values won't line up.

 



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SILVERWESOKE
Posted : Tuesday, December 9, 2014 12:58:30 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Morning Bruce..this indicator is working like a charm and I thank you

Now for the next act.. I like to find stocks that have both the Daily chart and the 2 hour chart with the indicator showing GREEN ( increasing) and ABOVE THE zERO LINE.  So is there a way I can have this as a column to use in a scan or maybe a column for the daily and another column for the 2 hour chart that will show me when this condition is met.

Based on how you have put this indicator together, Im afraid I havent a clue how to do this.

Thanks.

Bruce_L
Posted : Tuesday, December 9, 2014 1:21:51 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following Condition Formula.

AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 > AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2 AND 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 > 0

Unfortunately the only way you can mix time frames is to create the formula twice and add both conditions to the same EasyScan as EasyScan Conditions. You can then set the time frame of each condition individually.

So you could not combine two time frames and use it as a WatchList Column (although you aren't going to be able to create the 2 hour time frame version without Platinum anyway).



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
SILVERWESOKE
Posted : Tuesday, December 9, 2014 2:03:47 PM
Gold Customer Gold Customer

Joined: 6/29/2005
Posts: 885

Thanks  Not 100% clear .

I can use this formula, enter it twice in an easy scan, and set one condition to 2 hours and one to daily and it should work?  Is that right.?

For a watchlist column only, I can only get the correct values returned for the daily timeframe becuase I dont have platinum?

Bruce_L
Posted : Tuesday, December 9, 2014 2:06:08 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You aren't going to get 2 hour conditions to work at all without Platinum.

If you want to use two different time frames which are daily or longer, you could add the condition twice to your EasyScan and then set each of the conditions to a different time frame.

You can add use the Condition Formula as a daily WatchList Column, but you can't get a single WatchList Column reflecting both time frames being true even if the other time frame is longer than daily. You would need two different WatchList Columns.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jasongoh
Posted : Thursday, December 11, 2014 1:46:02 PM
Registered User
Joined: 3/10/2014
Posts: 3

How do i set up a condition TTM squeeze scan for breaking below bottom TTM Squeeze

Bruce_L
Posted : Thursday, December 11, 2014 1:54:12 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I'm really not sure what you are asking. The TTM Squeeze indicator as assembled in the various topics describing how to implement it in TC2000 has a Momentum portion and a line of dots indicating if the squeeze is on or off.

What is breaking below the bottom of what?

Are you looking for the bottom Keltner Channel and Bollinger Band to be crossing in some fashion?



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jasongoh
Posted : Thursday, December 11, 2014 2:05:33 PM
Registered User
Joined: 3/10/2014
Posts: 3

Yes, I am looking for daily scan going bearish after the squeeze is on. The condition scan above is for bullish.

 

Thank you

Bruce_L
Posted : Thursday, December 11, 2014 2:24:20 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Reversing the only Condition Formula given earlier in the topic results in the following.

AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 < AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2 AND 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 < 0

This would however check for the Momentum being red and below zero. If you are actually looking for the squeeze to be turning on or off (the Keltner and Bollinger crosses), then you probably want one of the formulas in the TTM Squeeze -- Conditional Statement modification Bruce topic.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
MoreAces
Posted : Sunday, April 12, 2015 9:47:25 AM
Registered User
Joined: 8/23/2013
Posts: 245

Bruce - usng the 2 formulas posted here (Monday, December 08, 2014) and i followed the scale and Center line - 0 directions

I have these in one pane together - are these to be set to historgram not sure how to set up  colors on these

then  i used De 09 formula and dec 11 for reverse in separate panes as i do not actually know what they indicate and how to integrate with the other formulas from Dec 08

I know we are recreating TTM indicators and I should have some Dots plotting with the Histogram to indicate squeeze is ON - but i do not know which on does that

 

Thanks

 

 

MoreAces
Posted : Sunday, April 12, 2015 11:11:42 AM
Registered User
Joined: 8/23/2013
Posts: 245

is the Dec 09 formula the exact opposite of the Dec 11 -  JUST want to be sure

Bruce_L
Posted : Monday, April 13, 2015 10:42:47 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The formulas are opposite in that the two > in the Dec 09 formulas became < in the Dec 11 formulas. This is what I would consider opposite.

If by opposite you mean the Dec 11 formulas return true when the Dec 09 formulas return false, then you would have to change the AND in the formula to an OR and change both instances of > to <= instead of changing them to <.

You may want to take a look at my Wednesday, April 08, 2015 8:59:54 AM ET post in the Squeeze topic for more detailed instructions with more efficient formulas than my Monday, December 08, 2014 2:11:15 PM ET post in this topic.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
MoreAces
Posted : Wednesday, April 15, 2015 9:29:07 AM
Registered User
Joined: 8/23/2013
Posts: 245

Can you convert these to 8 Period

This 1 from Diceman

 and the 2 formulas you posted above on Monday, December 08, 2014 2:11:15 PM

As posted by diceman -  TTM Momentum 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

 

Thanks - I really like the signals given by these but on 10 min and 30 minute charts and intraday trading the 20 period is too long

Bruce_L
Posted : Wednesday, April 15, 2015 11:22:57 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

An 8-period version of that TTM Momentum Indicator could be written as follows.

AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
MoreAces
Posted : Wednesday, April 15, 2015 12:41:42 PM
Registered User
Joined: 8/23/2013
Posts: 245

thanks for those and but I guess I should have reposted the other 2 as well" the 2 formulas you posted above on Monday, December 08, 2014 2:11:15 PM "-

THAT said can you convert these to  8 period as well - THANKS

 FIRST

 

ABS(AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 > AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2) * (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)

 

 SECOND

 

ABS(AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 <= AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2) * (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)

Bruce_L
Posted : Wednesday, April 15, 2015 2:35:51 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

8-Period FIRST:

ABS(5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) > 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2)) * (AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42)

8-Period SECOND:

ABS(5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) <= 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2)) * (AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
MoreAces
Posted : Wednesday, April 15, 2015 2:56:25 PM
Registered User
Joined: 8/23/2013
Posts: 245

why the different format

Bruce_L
Posted : Wednesday, April 15, 2015 3:29:19 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Because the formulas in the Squeeze are more efficient versions of the same thing. So I converted them instead.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
MoreAces
Posted : Wednesday, April 15, 2015 3:52:30 PM
Registered User
Joined: 8/23/2013
Posts: 245

so we are using the "less efficent versions"  ?

 

Bruce_L
Posted : Wednesday, April 15, 2015 4:04:40 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Yes, the formulas I made in my Wednesday, April 08, 2015 8:59:54 AM ET post in the Squeeze topic are more efficient than the formulas I made in my older Monday, December 08, 2014 2:11:15 PM ET post in this topic. I pointed this out in my Monday, April 13, 2015 10:42:47 AM ET post in this topic.

They do the same thing but are shorter. This is due to both optimizing diceman's momentum formula and optimizing the check for if the momentum is increasing or decreasing.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
MoreAces
Posted : Wednesday, April 15, 2015 4:05:33 PM
Registered User
Joined: 8/23/2013
Posts: 245

so these are the most eff. ones

Bruce_L
Posted : Wednesday, April 15, 2015 4:07:23 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Unless I think of more optimizations which could be used to shorten the formulas later, then yes. For now, they are as efficient as I can make them with what has come to mind so far.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
MoreAces
Posted : Wednesday, April 15, 2015 4:28:46 PM
Registered User
Joined: 8/23/2013
Posts: 245

I cant get these to work together as i had the 20 period working together

here is what i am using for the 20 period and what I  named them

TTM Momentum Indicator 20 Period

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

 

 

 

1st Plot of the Histrogram (TTM SQZ 1)

ABS(AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 > AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2) * (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)

2nd plot of Histogram (TTM SQZ 2)

 

ABS(AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 <= AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2) * (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)

 

MAYBE IT  IS JUST THESE 2 BELOW THAT I CANT GET CORRECT ON THE 8 PERIOD

these are  the 20 period like the above

TTM Long Alert - 20 Period

 

AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 > AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2 AND 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 > 0

 

TTM Short Alert 20 Period

  AVGC20 - ((AVG(MAXH20,20) + AVG(MINL20,20)) / 2 + XAVG(AVGC20,20)) / 2 + 9.5 * (9.5 * (C - ((MAXH20 + MINL20) / 2 + XAVGC20) / 2) - (C1 - ((MAXH20.1 + MINL20.1) / 2 + XAVGC20.1) / 2) - (C2 - ((MAXH20.2 + MINL20.2) / 2 + XAVGC20.2) / 2) - (C3 - ((MAXH20.3 + MINL20.3) / 2 + XAVGC20.3) / 2) - (C4 - ((MAXH20.4 + MINL20.4) / 2 + XAVGC20.4) / 2) - (C5 - ((MAXH20.5 + MINL20.5) / 2 + XAVGC20.5) / 2) - (C6 - ((MAXH20.6 + MINL20.6) / 2 + XAVGC20.6) / 2) - (C7 - ((MAXH20.7 + MINL20.7) / 2 + XAVGC20.7) / 2) - (C8 - ((MAXH20.8 + MINL20.8) / 2 + XAVGC20.8) / 2) - (C9 - ((MAXH20.9 + MINL20.9) / 2 + XAVGC20.9) / 2) - (C10 - ((MAXH20.10 + MINL20.10) / 2 + XAVGC20.10) / 2) - (C11 - ((MAXH20.11 + MINL20.11) / 2 + XAVGC20.11) / 2) - (C12 - ((MAXH20.12 + MINL20.12) / 2 + XAVGC20.12) / 2) - (C13 - ((MAXH20.13 + MINL20.13) / 2 + XAVGC20.13) / 2) - (C14 - ((MAXH20.14 + MINL20.14) / 2 + XAVGC20.14) / 2) - (C15 - ((MAXH20.15 + MINL20.15) / 2 + XAVGC20.15) / 2) - (C16 - ((MAXH20.16 + MINL20.16) / 2 + XAVGC20.16) / 2) - (C17 - ((MAXH20.17 + MINL20.17) / 2 + XAVGC20.17) / 2) - (C18 - ((MAXH20.18 + MINL20.18) / 2 + XAVGC20.18) / 2) - (C19 - ((MAXH20.19 + MINL20.19) / 2 + XAVGC20.19) / 2) + 9.5 * (C20 - ((MAXH20.20 + MINL20.20) / 2 + XAVGC20.20) / 2)) / 665 < AVGC20.1 - ((AVG(MAXH20.1,20) + AVG(MINL20.1,20)) / 2 + XAVG(AVGC20.1,20)) / 2 AND 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 < 0

 
Bruce_L
Posted : Wednesday, April 15, 2015 4:53:08 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Well you hadn't asked for 8-period versions of those last two yet as far as I can tell.

TTM Long Alert - 8 Period

5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) > 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2) AND AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42 > 0

TTM Short Alert - 8 Period

5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) < 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2) AND AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42 < 0



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
MoreAces
Posted : Wednesday, April 15, 2015 5:01:44 PM
Registered User
Joined: 8/23/2013
Posts: 245

Thanks I did not, i thought i could get it but was more difficult than i thought

MoreAces
Posted : Saturday, April 18, 2015 1:16:50 PM
Registered User
Joined: 8/23/2013
Posts: 245

Bruce - Can you give me the ON/OFF Version of the 4 Following - Thanks Again

TTM Long Alert - 8 Period

5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) > 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2) AND AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42 > 0

 

TTM Short Alert - 8 Period

5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) < 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2) AND AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42 < 0

 

And these are custom

 

Doji 10s

(((C - O) < .04) AND ((C - O) > - .01) AND ((H - L) <=.15)) OR ((((O - C) < .04) AND ((O - C) > -.01)) AND ((H - L) <=.15)) 

 

Doji 30s

(((C - O) < .07) AND ((C - O) > - .01) AND ((H - L) <=.30)) OR ((((O - C) < .07) AND ((O - C) > -.01)) AND ((H - L) <=.30))

 

Thank Again

MoreAces
Posted : Saturday, April 18, 2015 2:55:38 PM
Registered User
Joined: 8/23/2013
Posts: 245


Bruce i have one more that i thought would be dont thru an email to support - guess was out of their level.

And I guess the Above post is actually 8 - 4 from OFF to ON and 4 from On to OFF

 

I need this one as well From ON (True) to OFF (False) ONLY

 

((C > MAXH5.1) OR (C < C1 AND C < C2)) OR ((C < MINL5.1) OR (C > C1 AND C > C2))

 

Thanks Again

Bruce_L
Posted : Monday, April 20, 2015 11:48:10 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

TTM Long Alert Off to On - 8 Period

5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) > 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2) AND AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42 > 0 AND (5 * (C1 - ((MAXH8.1 + MINL8.1) / 2 + XAVGC8.1) / 2) + 2 * (C9 - ((MAXH8.9 + MINL8.9) / 2 + XAVGC8.9) / 2) <= 7 * (AVGC7.2 - ((AVG(MAXH8.2,7) + AVG(MINL8.2,7)) / 2 + XAVG(AVGC7.2,8)) / 2) OR AVGC8.1 - ((AVG(MAXH8.1,8) + AVG(MINL8.1,8)) / 2 + XAVG(AVGC8.1,8)) / 2 + 3.5 * (3.5 * (C1 - C8 - ((MAXH8.1 + MINL8.1 - MAXH8.8 - MINL8.8) / 2 + XAVGC8.1 - XAVGC8.8) / 2) + 2.5 * (C2 - C7 - ((MAXH8.2 + MINL8.2 - MAXH8.7 - MINL8.7) / 2 + XAVGC8.2 - XAVGC8.7) / 2) + 1.5 * (C3 - C6 - ((MAXH8.3 + MINL8.3 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.3 - XAVGC8.6) / 2) + .5 * (C4 - C5 - ((MAXH8.4 + MINL8.4 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.4 - XAVGC8.5) / 2)) / 42 <= 0)

TTM Long Alert On to Off - 8 Period

(5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) <= 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2) OR AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42 <= 0) AND 5 * (C1 - ((MAXH8.1 + MINL8.1) / 2 + XAVGC8.1) / 2) + 2 * (C9 - ((MAXH8.9 + MINL8.9) / 2 + XAVGC8.9) / 2) > 7 * (AVGC7.2 - ((AVG(MAXH8.2,7) + AVG(MINL8.2,7)) / 2 + XAVG(AVGC7.2,8)) / 2) AND AVGC8.1 - ((AVG(MAXH8.1,8) + AVG(MINL8.1,8)) / 2 + XAVG(AVGC8.1,8)) / 2 + 3.5 * (3.5 * (C1 - C8 - ((MAXH8.1 + MINL8.1 - MAXH8.8 - MINL8.8) / 2 + XAVGC8.1 - XAVGC8.8) / 2) + 2.5 * (C2 - C7 - ((MAXH8.2 + MINL8.2 - MAXH8.7 - MINL8.7) / 2 + XAVGC8.2 - XAVGC8.7) / 2) + 1.5 * (C3 - C6 - ((MAXH8.3 + MINL8.3 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.3 - XAVGC8.6) / 2) + .5 * (C4 - C5 - ((MAXH8.4 + MINL8.4 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.4 - XAVGC8.5) / 2)) / 42 > 0

TTM Short Alert Off to On - 8 Period

5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) < 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2) AND AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42 < 0 AND (5 * (C1 - ((MAXH8.1 + MINL8.1) / 2 + XAVGC8.1) / 2) + 2 * (C9 - ((MAXH8.9 + MINL8.9) / 2 + XAVGC8.9) / 2) >= 7 * (AVGC7.2 - ((AVG(MAXH8.2,7) + AVG(MINL8.2,7)) / 2 + XAVG(AVGC7.2,8)) / 2) OR AVGC8.1 - ((AVG(MAXH8.1,8) + AVG(MINL8.1,8)) / 2 + XAVG(AVGC8.1,8)) / 2 + 3.5 * (3.5 * (C1 - C8 - ((MAXH8.1 + MINL8.1 - MAXH8.8 - MINL8.8) / 2 + XAVGC8.1 - XAVGC8.8) / 2) + 2.5 * (C2 - C7 - ((MAXH8.2 + MINL8.2 - MAXH8.7 - MINL8.7) / 2 + XAVGC8.2 - XAVGC8.7) / 2) + 1.5 * (C3 - C6 - ((MAXH8.3 + MINL8.3 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.3 - XAVGC8.6) / 2) + .5 * (C4 - C5 - ((MAXH8.4 + MINL8.4 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.4 - XAVGC8.5) / 2)) / 42 >= 0)

TTM Short Alert Off to On - 8 Period

(5 * (C - ((MAXH8 + MINL8) / 2 + XAVGC8) / 2) + 2 * (C8 - ((MAXH8.8 + MINL8.8) / 2 + XAVGC8.8) / 2) >= 7 * (AVGC7.1 - ((AVG(MAXH8.1,7) + AVG(MINL8.1,7)) / 2 + XAVG(AVGC7.1,8)) / 2) OR AVGC8 - ((AVG(MAXH8,8) + AVG(MINL8,8)) / 2 + XAVG(AVGC8,8)) / 2 + 3.5 * (3.5 * (C - C7 - ((MAXH8 + MINL8 - MAXH8.7 - MINL8.7) / 2 + XAVGC8 - XAVGC8.7) / 2) + 2.5 * (C1 - C6 - ((MAXH8.1 + MINL8.1 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.1 - XAVGC8.6) / 2) + 1.5 * (C2 - C5 - ((MAXH8.2 + MINL8.2 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.2 - XAVGC8.5) / 2) + .5 * (C3 - C4 - ((MAXH8.3 + MINL8.3 - MAXH8.4 - MINL8.4) / 2 + XAVGC8.3 - XAVGC8.4) / 2)) / 42 >= 0) AND 5 * (C1 - ((MAXH8.1 + MINL8.1) / 2 + XAVGC8.1) / 2) + 2 * (C9 - ((MAXH8.9 + MINL8.9) / 2 + XAVGC8.9) / 2) < 7 * (AVGC7.2 - ((AVG(MAXH8.2,7) + AVG(MINL8.2,7)) / 2 + XAVG(AVGC7.2,8)) / 2) AND AVGC8.1 - ((AVG(MAXH8.1,8) + AVG(MINL8.1,8)) / 2 + XAVG(AVGC8.1,8)) / 2 + 3.5 * (3.5 * (C1 - C8 - ((MAXH8.1 + MINL8.1 - MAXH8.8 - MINL8.8) / 2 + XAVGC8.1 - XAVGC8.8) / 2) + 2.5 * (C2 - C7 - ((MAXH8.2 + MINL8.2 - MAXH8.7 - MINL8.7) / 2 + XAVGC8.2 - XAVGC8.7) / 2) + 1.5 * (C3 - C6 - ((MAXH8.3 + MINL8.3 - MAXH8.6 - MINL8.6) / 2 + XAVGC8.3 - XAVGC8.6) / 2) + .5 * (C4 - C5 - ((MAXH8.4 + MINL8.4 - MAXH8.5 - MINL8.5) / 2 + XAVGC8.4 - XAVGC8.5) / 2)) / 42 < 0

Doji 10s Off to On

H - L <= .15 AND ABS(ABS(C - O) - .025) < .015 AND (H1 - L1 > .15 OR ABS(ABS(C1 - O1) - .025) >= .015)

Doji 10s On to Off

(H - L > .15 OR ABS(ABS(C - O) - .025) >= .015) AND H1 - L1 <= .15 AND ABS(ABS(C1 - O1) - .025) < .015

Doji 30s Off to On

H - L <= .3 AND ABS(ABS(C - O) - .04) < .03 AND (H1 - L1 > .3 OR ABS(ABS(C1 - O1) - .04) >= .03)

Doji 30s On to Off

(H - L > .3 OR ABS(ABS(C - O) - .04) >= .03) AND H1 - L1 <= .3 AND ABS(ABS(C1 - O1) - .04) < .03

Fifth Formula from Off to On

(C < MINC2.1 OR MAXC2.1 < C) AND MINC2.2 <= C1 AND C1 <= MAXC2.2

Fifth Formula from On to Off

MINC2.1 <= C AND C <= MAXC2.1 AND (C1 < MINC2.2 OR MAXC2.2 < C1)



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.