Registered User Joined: 3/8/2010 Posts: 129
|
Hi Bruce , i have the ttm squeeze on ,off. indicator from the forum. But cant seem to be able to scan for ,when it is on or when it is off, when scaning it does not give me that option .any ideas
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for the Squeeze On can be written as follows.
4 * 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) < 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)
A Condition Formula for the Squeeze Off can be written as follows.
4 * 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) >= 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)
The TTM Squeeze -- Conditional Statement modification Bruce topic has Condition Formulas for switching between the two states.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 3/8/2010 Posts: 129
|
thanks Bruce
|
Registered User Joined: 3/17/2016 Posts: 48
|
Apologies for digging out an old topic. I didnt want to create a new thread hence mentioning it here.
Please can you confirm that the formulas provided above are exactly those mentioned/created by John Carter - TTM Squeeze?
As, this thread is nice, short, and straight to the point; I'd also like to keep it that way.
Would it be be possible to create a PCF indicator returning when there was a last squeeze ON? I would like to know an integer value.
The reason for asking is because occassionally the stocks future direction maybe misinterpreted and may result in loss. This last squeeze ON indicator could act as confirmation. And maybe useful to those for attending the party late. :)
For example: (results are as of 11th July 2016 - Before Market Open)
Ticker: KERX on daily chart, the Squeeze ON was: 10 bars ago
Ticker: KMPH on daily chart, the Squeeze ON was: 35 bars ago
Ticker: INSY on daily chart, the Squeeze ON was: 88 bars ago (if there limitation on lookback period, return -1 OR max lookback value, i.e. 50)
Ticker: CARA on daily chart, the Squeeze ON was: 0 bars ago (currently on)
Ticker: IDRA on daily chart, the Squeeze ON was: 0 bars ago (currently on)
Ticker: PETX on daily chart, the Squeeze ON was: 0 bars ago (currently on)
Many thanks in advance.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
QUOTE (usmansajid) Please can you confirm that the formulas provided above are exactly those mentioned/created by John Carter - TTM Squeeze?
Customers have verified that the formulas match, but I have not done so personally and have no way of doing so.
QUOTE (usmansajid) Would it be be possible to create a PCF indicator returning when there was a last squeeze ON?
From a theoretical standpoint it would be possible using the techniques explored in Days Since Last Peak (or other day-counting needs) topic. From a practical standpoint it is not possible however as the base formulas are far too long to incorporate into the technique and end up with formulas which are short and fast enough to be practical.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|