Registered User Joined: 12/3/2004 Posts: 30
|
I plot my charts in Heiken-Ashi style.
I want to create a column that finds stocks that were at or near a doji yesterday.
Is this possible? Write a condition...or what?
Thank you
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for the body of a Heiken-Ashi Candle being less than 10% of the total range of the Candle could be written as:
ABS((XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - (O + H + L + C) / 4) < .1 * ((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2)
HEIKEN-ASHI in TC2000 V12
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 12/3/2004 Posts: 30
|
Many thanks, Bruce
|
Registered User Joined: 12/3/2004 Posts: 30
|
Bruce, I have one more related question. Also in Heiken-Ashi, I want to find stocks that yesterday
had a shaved top or bottom (may require 2 separate formulas) or with a very small wick. Again I
want to put these that qualify in a column. Thank you.
Claud
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula for either the upper or lower wick of a Heiken-Ashi Candle being less than 10% of the total range of the Candle could be written as:
((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - ((O + H + L + C + XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 + ABS(O + H + L + C - XAVGO3.1 - XAVGH3.1 - XAVGL3.1 - XAVGC3.1)) / 2) / 4 < .1 * ((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2)) OR (((O + H + L + C + XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 - ABS(O + H + L + C - XAVGO3.1 - XAVGH3.1 - XAVGL3.1 - XAVGC3.1)) / 2) / 4 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 < .1 * ((H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2 - (L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2))
-Bruce Personal Criteria Formulas TC2000 Support Articles
|