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 |

PCF help Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
bryceln
Posted : Wednesday, July 25, 2018 1:55:56 PM
Registered User
Joined: 1/10/2013
Posts: 91

Hi,

Is there a streamlined way of writing a pcf for the close of the current candle  greater than the high of two specific candles.  For example if Im looking for a 10:00  close higher than the first two candles of the day on a 5 min chart

bryceln
Posted : Wednesday, July 25, 2018 2:11:41 PM
Registered User
Joined: 1/10/2013
Posts: 91

Think I figured it out.  

MaxH2.4 

Please let me know if thats what you would have said

Bruce_L
Posted : Wednesday, July 25, 2018 3:17:22 PM


Worden Trainer

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

Well you can't specify the time of day in an intraday PCF.

So, assuming you are actually running the formula between 9:55 AM and 10:00 AM ET on a 5-minute chart, then what you have would be correct. You probably couldn't hit exactly 10:00 AM ET, so this would actually be comparing the curernt price and not the final close of the bar.

C > MAXH2.4

If you were running this between 10:00 AM and 10:05 AM ET, you would need to add one to all of the bars ago parameters assuming you were still interested in the 10:00 AM ET close.

C1 > MAXH2.5



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
bryceln
Posted : Wednesday, July 25, 2018 3:39:41 PM
Registered User
Joined: 1/10/2013
Posts: 91

Gotcha!  Thanks

Bruce_L
Posted : Wednesday, July 25, 2018 3:49:07 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.