Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 12/3/2004 Posts: 30
|
I only use Heiken-Ashi candles. I want to create a condition where a shaved candle follows
a doji. Can this be done?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The following defines a shaved candle as the upper or lower wick being less than 10% of the candle and a doji as the body being less than 10% of the candle.
(((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))) AND (ABS((XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 - (O1 + H1 + L1 + C1) / 4) < .1 * ((H1 + (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 + ABS(H1 - (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)) / 2 - (L1 + (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4 - ABS(L1 - (XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2) / 4)) / 2))
Create New Column in Watch List
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 12/3/2004 Posts: 30
|
Bruce, do I enter this whole formula as a condition in a column in a watch list?
Thank you.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It is a single Condition Formula and can be used any place where you can use a Condition in TC2000. This means you could use it as a WatchList Column or as an EasyScan. You can even use the formula as the Boolean Formula in a Custom PCF % True Indicator. It is entirely up to you what you do with it.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |