Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Heiken-Ashi Long and Short Entries Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
traderlady
Posted : Tuesday, April 4, 2017 12:57:28 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

Hi Bruce,

 

Back in August 2016, you coded these two Heiken-Ashi Custom PCF % True Indicators below for long or short or short entries.

 

H-A Long Entry Today

4 * L >= XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 AND L < H AND 4 * H1 <= XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2 AND L1 < H1

 

H-A Short Entry Today

4 * H <= XAVGO3.1 + XAVGH3.1 + XAVGL3.1 + XAVGC3.1 AND L < H AND 4 * L1 >= XAVGO3.2 + XAVGH3.2 + XAVGL3.2 + XAVGC3.2 AND L1 < H1

 

I'd appreciate modifying each of these to create H-A Long Entry as of Yesterday and H-A Short Entry as of Yesterday.

 

Thanks!

traderlady

Bruce_L
Posted : Tuesday, April 4, 2017 1:06:43 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

Please try the following Condition Formulas (for TC2000 v17):

HA Long Entry Yesterday:

4 * L1 >= XAVG(O2 + H2 + L2 + C2, 3) AND L1 < H1 AND 4 * H2 <= XAVG(O3 + H3 + L3 + C3, 3) AND L2 < H2

HA Short Entry Yesterday.

4 * H1 <= XAVG(O2 + H2 + L2 + C2, 3) AND L1 < H1 AND 4 * L2 >= XAVG(O3 + H3 + L3 + C3, 3) AND L2 < H2



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
traderlady
Posted : Tuesday, April 4, 2017 1:18:08 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

I tested the HA Long Entry Yesterday, but it doesn't trigger any hits in either US Common Stocks or ETFs.

So that I may do further tests, please also modify the HA Long and Short entries for Today in the new v17 code.

Bruce_L
Posted : Tuesday, April 4, 2017 1:27:47 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The following symbols currently return for the long for me in the US Common Stocks WatchList in a daily time frame.

Symbols from TC2000: AGRO, AMRK, AVEO, CEL, DHXM, GFED, GOGL, GSHTU, HBHCL, INST, LOXO, OMAA, PBBI, & SLRA



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
traderlady
Posted : Tuesday, April 4, 2017 1:50:23 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

I just remembered I had other criteria in my Easy Scan.  That accounts for it not generating any hits.

traderlady
Posted : Tuesday, April 4, 2017 1:50:56 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

But, should I be using updated V17 PCFs for HA Long or HA 
Short today?

Bruce_L
Posted : Tuesday, April 4, 2017 1:54:26 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

It would make them slightly shorter, but you certainly don't need to do so. The older versions will still work.

H-A Long Entry Today

4 * L >= XAVG(O1 + H1 + L1 + C1, 3) AND L < H AND 4 * H1 <= XAVG(O2 + H2 + L2 + C2, 3) AND L1 < H1

H-A Short Entry Today

4 * H <= XAVG(O1 + H1 + L1 + C1, 3) AND L < H AND 4 * L1 >= XAVG(O2 + H2 + L2 + C2, 3) AND L1 < H1



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
traderlady
Posted : Tuesday, April 4, 2017 1:57:45 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

Thanks.  

I like shorter versions as I assume that may make Easy Scans, Charts, and Columns in which I use them faster.

Bruce_L
Posted : Tuesday, April 4, 2017 2:03:23 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The calculations should be fairly quick to begin with, but it might make things a bit faster. The number of exponential moving averages being calculated is cut by 75%.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
traderlady
Posted : Tuesday, April 4, 2017 7:17:30 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

Thanks for the explanation.

Bruce_L
Posted : Tuesday, April 4, 2017 9:06:35 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.