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 |

Close Topic Rating:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Bruce_L
Posted : Friday, March 17, 2017 11:20:24 AM


Worden Trainer

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

Close

This is the close for any bar which has finished forming, but is the current price for a bar which is still active.

Template (v17+)

Function Version

C(z )

Indicator Version

Cz
Where z is the number of Bars Ago. z can also be a date in the indicator version. May 4, 2015 would be (single quotes required): '05/04/2015'

Related Topics



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
dlhfeldman
Posted : Wednesday, November 14, 2018 6:45:14 AM
Gold Customer Gold Customer

Joined: 4/4/2005
Posts: 2

How do I write a PCF for a first closing 5 day high.  I have written one for a close that is a 5 day high but I really want to only when it is the first closing 5 day high otherwise it is information overload.

StockGuy
Posted : Wednesday, November 14, 2018 9:17:35 AM

Administration

Joined: 9/30/2004
Posts: 9,187

How do you define "the first closing 5 day high"?

Bruce_L
Posted : Thursday, November 15, 2018 10:02:39 AM


Worden Trainer

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

So you want a closing 5 period high which is not also a closing 6 period high? You could check for your existing condition formula being true exactly 1 bar in a row as in the following example (but use your formula instead if you like it better).

TrueInRow(C > MAXC4.1, 2) = 1



-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.