Registered User Joined: 9/11/2014 Posts: 14
|
Is this a known problem?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Yes, this is a known issue, but thank you for reporting it.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 8/21/2014 Posts: 6
|
Hello Bruce,
I need the code or language for a Heiken-Ashi DOJI to scan for dojis on other stocks in TC2000. Are there other sources that show HA code for oher candles?
Thank you,
Joel
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A formula for the Open of TC2000 version 12's Heiken-Ashi candles would be:
(XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4
A formula for the High of TC2000 version 12's Heiken-Ashi candles would be:
(H + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 + ABS(H - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2
A formula for the Low of TC2000 version 12's Heiken-Ashi candles would be:
(L + (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - ABS(L - (XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4)) / 2
A formula for the Close of TC2000 version 12's Heiken-Ashi candles would be:
(O + H + L + C) / 4
So a Condition Formula for a true doji would be as follows.
(XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 = (O + H + L + C) / 4
Or the slightly shorter (just muliply both sides by 4):
XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 = O + H + L + C
Unfortunately this is really very unlikely to actually be true for an actual stock. So you would probably need to check for a near doji where the body is less than some arbitrary percentage of the candle (I've used 5% below).
ABS((XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - (O + H + L + C) / 4) <= .05 * ((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))
Creating other candlestick formulas is a matter of doing similar substitutions of HA values in "normal" candlestick formulas.
Boolean PCFs for Candlestick Patterns
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 9/11/2014 Posts: 14
|
Do you have a time when Heiken Ashi when be fixed for mobile version?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I do not know for sure when or if Heiken-Ashi charting will be implemented in TC2000 for Phones or TC2000 for Tablets.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
I have tried all of the doji PCF for Heiken Ashi listed below but none seem to work correctly. I double checked to see that I copied them correctly and I did.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Please try the following Condition Formula. It does seem to show true for me for HA Candles where the body of the HA candle is less than 5% of the entire candle. The 5% is specified by the <= .05 in the formula.
ABS((XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1) / 4 - (O + H + L + C) / 4) <= .05 * ((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
|
Gold Customer
Joined: 3/20/2006 Posts: 161
|
That works. Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|