Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Personal Criteria Formula for a Simple MACD 12,26,9 Signal Line bottom could be written as:
AVG(AVGC12,9) - AVG(AVGC26,9) > AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) < AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) < AVG(AVGC12.3,9) - AVG(AVGC26.3,9)
A PCF for a Simple MACD 12,26,9 Signal Line top could be written as:
AVG(AVGC12,9) - AVG(AVGC26,9) < AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) > AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) > AVG(AVGC12.3,9) - AVG(AVGC26.3,9)
A PCF for a Simple MACD 12,26,9 Signal Line bottom or top could be written as:
(AVG(AVGC12,9) - AVG(AVGC26,9) > AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) < AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) < AVG(AVGC12.3,9) - AVG(AVGC26.3,9)) OR (AVG(AVGC12,9) - AVG(AVGC26,9) < AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) > AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) > AVG(AVGC12.3,9) - AVG(AVGC26.3,9))
Does the change in direction need to happen at the same Bar as the crossover? If not, how many Bars away can it be?
How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Personal Criteria Formula for a Simple MACD 12,26,9 Signal Line bottom with MACD crossing through its Signal line within the last 10-Bars could be written as:
AVG(AVGC12,9) - AVG(AVGC26,9) > AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) < AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) < AVG(AVGC12.3,9) - AVG(AVGC26.3,9) AND (SGN(AVGC12 - AVGC26 - AVG(AVGC12,9) + AVG(AVGC26,9)) <> SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,9) + AVG(AVGC26.1,9)) OR SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,9) + AVG(AVGC26.1,9)) <> SGN(AVGC12.2 - AVGC26.2 - AVG(AVGC12.2,9) + AVG(AVGC26.2,9)) OR SGN(AVGC12.2 - AVGC26.2 - AVG(AVGC12.2,9) + AVG(AVGC26.2,9)) <> SGN(AVGC12.3 - AVGC26.3 - AVG(AVGC12.3,9) + AVG(AVGC26.3,9)) OR SGN(AVGC12.3 - AVGC26.3 - AVG(AVGC12.3,9) + AVG(AVGC26.3,9)) <> SGN(AVGC12.4 - AVGC26.4 - AVG(AVGC12.4,9) + AVG(AVGC26.4,9)) OR SGN(AVGC12.4 - AVGC26.4 - AVG(AVGC12.4,9) + AVG(AVGC26.4,9)) <> SGN(AVGC12.5 - AVGC26.5 - AVG(AVGC12.5,9) + AVG(AVGC26.5,9)) OR SGN(AVGC12.5 - AVGC26.5 - AVG(AVGC12.5,9) + AVG(AVGC26.5,9)) <> SGN(AVGC12.6 - AVGC26.6 - AVG(AVGC12.6,9) + AVG(AVGC26.6,9)) OR SGN(AVGC12.6 - AVGC26.6 - AVG(AVGC12.6,9) + AVG(AVGC26.6,9)) <> SGN(AVGC12.7 - AVGC26.7 - AVG(AVGC12.7,9) + AVG(AVGC26.7,9)) OR SGN(AVGC12.7 - AVGC26.7 - AVG(AVGC12.7,9) + AVG(AVGC26.7,9)) <> SGN(AVGC12.8 - AVGC26.8 - AVG(AVGC12.8,9) + AVG(AVGC26.8,9)) OR SGN(AVGC12.8 - AVGC26.8 - AVG(AVGC12.8,9) + AVG(AVGC26.8,9)) <> SGN(AVGC12.9 - AVGC26.9 - AVG(AVGC12.9,9) + AVG(AVGC26.9,9)) OR SGN(AVGC12.9 - AVGC26.9 - AVG(AVGC12.9,9) + AVG(AVGC26.9,9)) <> SGN(AVGC12.10 - AVGC26.10 - AVG(AVGC12.10,9) + AVG(AVGC26.10,9)))
A PCF for a Simple MACD 12,26,9 Signal Line top with MACD crossing through its Signal line within the last 10-Bars could be written as:
AVG(AVGC12,9) - AVG(AVGC26,9) < AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) > AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) > AVG(AVGC12.3,9) - AVG(AVGC26.3,9) AND (SGN(AVGC12 - AVGC26 - AVG(AVGC12,9) + AVG(AVGC26,9)) <> SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,9) + AVG(AVGC26.1,9)) OR SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,9) + AVG(AVGC26.1,9)) <> SGN(AVGC12.2 - AVGC26.2 - AVG(AVGC12.2,9) + AVG(AVGC26.2,9)) OR SGN(AVGC12.2 - AVGC26.2 - AVG(AVGC12.2,9) + AVG(AVGC26.2,9)) <> SGN(AVGC12.3 - AVGC26.3 - AVG(AVGC12.3,9) + AVG(AVGC26.3,9)) OR SGN(AVGC12.3 - AVGC26.3 - AVG(AVGC12.3,9) + AVG(AVGC26.3,9)) <> SGN(AVGC12.4 - AVGC26.4 - AVG(AVGC12.4,9) + AVG(AVGC26.4,9)) OR SGN(AVGC12.4 - AVGC26.4 - AVG(AVGC12.4,9) + AVG(AVGC26.4,9)) <> SGN(AVGC12.5 - AVGC26.5 - AVG(AVGC12.5,9) + AVG(AVGC26.5,9)) OR SGN(AVGC12.5 - AVGC26.5 - AVG(AVGC12.5,9) + AVG(AVGC26.5,9)) <> SGN(AVGC12.6 - AVGC26.6 - AVG(AVGC12.6,9) + AVG(AVGC26.6,9)) OR SGN(AVGC12.6 - AVGC26.6 - AVG(AVGC12.6,9) + AVG(AVGC26.6,9)) <> SGN(AVGC12.7 - AVGC26.7 - AVG(AVGC12.7,9) + AVG(AVGC26.7,9)) OR SGN(AVGC12.7 - AVGC26.7 - AVG(AVGC12.7,9) + AVG(AVGC26.7,9)) <> SGN(AVGC12.8 - AVGC26.8 - AVG(AVGC12.8,9) + AVG(AVGC26.8,9)) OR SGN(AVGC12.8 - AVGC26.8 - AVG(AVGC12.8,9) + AVG(AVGC26.8,9)) <> SGN(AVGC12.9 - AVGC26.9 - AVG(AVGC12.9,9) + AVG(AVGC26.9,9)) OR SGN(AVGC12.9 - AVGC26.9 - AVG(AVGC12.9,9) + AVG(AVGC26.9,9)) <> SGN(AVGC12.10 - AVGC26.10 - AVG(AVGC12.10,9) + AVG(AVGC26.10,9)))
A PCF for a Simple MACD 12,26,9 Signal Line bottom or top with MACD crossing through its Signal line within the last 10-Bars could be written as:
((AVG(AVGC12,9) - AVG(AVGC26,9) > AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) < AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) < AVG(AVGC12.3,9) - AVG(AVGC26.3,9)) OR (AVG(AVGC12,9) - AVG(AVGC26,9) < AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) > AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) > AVG(AVGC12.3,9) - AVG(AVGC26.3,9))) AND (SGN(AVGC12 - AVGC26 - AVG(AVGC12,9) + AVG(AVGC26,9)) <> SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,9) + AVG(AVGC26.1,9)) OR SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,9) + AVG(AVGC26.1,9)) <> SGN(AVGC12.2 - AVGC26.2 - AVG(AVGC12.2,9) + AVG(AVGC26.2,9)) OR SGN(AVGC12.2 - AVGC26.2 - AVG(AVGC12.2,9) + AVG(AVGC26.2,9)) <> SGN(AVGC12.3 - AVGC26.3 - AVG(AVGC12.3,9) + AVG(AVGC26.3,9)) OR SGN(AVGC12.3 - AVGC26.3 - AVG(AVGC12.3,9) + AVG(AVGC26.3,9)) <> SGN(AVGC12.4 - AVGC26.4 - AVG(AVGC12.4,9) + AVG(AVGC26.4,9)) OR SGN(AVGC12.4 - AVGC26.4 - AVG(AVGC12.4,9) + AVG(AVGC26.4,9)) <> SGN(AVGC12.5 - AVGC26.5 - AVG(AVGC12.5,9) + AVG(AVGC26.5,9)) OR SGN(AVGC12.5 - AVGC26.5 - AVG(AVGC12.5,9) + AVG(AVGC26.5,9)) <> SGN(AVGC12.6 - AVGC26.6 - AVG(AVGC12.6,9) + AVG(AVGC26.6,9)) OR SGN(AVGC12.6 - AVGC26.6 - AVG(AVGC12.6,9) + AVG(AVGC26.6,9)) <> SGN(AVGC12.7 - AVGC26.7 - AVG(AVGC12.7,9) + AVG(AVGC26.7,9)) OR SGN(AVGC12.7 - AVGC26.7 - AVG(AVGC12.7,9) + AVG(AVGC26.7,9)) <> SGN(AVGC12.8 - AVGC26.8 - AVG(AVGC12.8,9) + AVG(AVGC26.8,9)) OR SGN(AVGC12.8 - AVGC26.8 - AVG(AVGC12.8,9) + AVG(AVGC26.8,9)) <> SGN(AVGC12.9 - AVGC26.9 - AVG(AVGC12.9,9) + AVG(AVGC26.9,9)) OR SGN(AVGC12.9 - AVGC26.9 - AVG(AVGC12.9,9) + AVG(AVGC26.9,9)) <> SGN(AVGC12.10 - AVGC26.10 - AVG(AVGC12.10,9) + AVG(AVGC26.10,9)))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Personal Criteria Formula for a Simple MACD 12,26,9 Signal Line bottom with MACD crossing through its Signal line within the last 2-Bars could be written as:
AVG(AVGC12,9) - AVG(AVGC26,9) > AVG(AVGC12.1,9) - AVG(AVGC26.1,9) AND AVG(AVGC12.1,9) - AVG(AVGC26.1,9) < AVG(AVGC12.2,9) - AVG(AVGC26.2,9) AND AVG(AVGC12.2,9) - AVG(AVGC26.2,9) < AVG(AVGC12.3,9) - AVG(AVGC26.3,9) AND (SGN(AVGC12 - AVGC26 - AVG(AVGC12,9) + AVG(AVGC26,9)) <> SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,9) + AVG(AVGC26.1,9)) OR SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,9) + AVG(AVGC26.1,9)) <> SGN(AVGC12.2 - AVGC26.2 - AVG(AVGC12.2,9) + AVG(AVGC26.2,9)))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|