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 |

Baseline crossing up cloud Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jamaizpate
Posted : Thursday, May 10, 2018 6:03:07 PM
Registered User
Joined: 9/20/2016
Posts: 11

Hi there

Looking to create a PCF to scan for the baseline as it crosses up the cloud. The issue I have with the presets in v.18 is that it is an either/or option of crossing up Span A or Span B. I'm hoping to scan for crossing up the cloud as a whole. I'm not well versed in coding the PCF. Here's my attempt but it's not quite right. I was copying and pasting from other discussion trends.

 (MAXH26.1 + MINL26.1) / 2  => (MAXH9.26 + MINL9.26 + MAXH26.26 + MINL26.26) / 4 AND C > (MAXH52.26 + MINL52.26) / 2 AND (C1 <= (MAXH9.27 + MINL9.27 + MAXH26.27 + MINL26.27) / 4 OR C1 <= (MAXH52.27 + MINL52.27) / 2)

Thanks

James

jamaizpate
Posted : Friday, May 11, 2018 9:31:43 AM
Registered User
Joined: 9/20/2016
Posts: 11

I believe I found what I was looking for.

http://forums.worden.com/default.aspx?g=posts&t=60487

Testing it out now. Thanks

Bruce_L
Posted : Friday, May 11, 2018 9:32:41 AM


Worden Trainer

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

Please try the following.

XUP((MAXH26 + MINL26) / 2, GREATEST((MAXH9.26 + MINL9.26 + MAXH26.26 + MINL26.26) / 4, (MAXH52.26 + MINL52.26) / 2))



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jamaizpate
Posted : Friday, May 11, 2018 11:24:39 AM
Registered User
Joined: 9/20/2016
Posts: 11

Thank you

 

Bruce_L
Posted : Friday, May 11, 2018 11:27:02 AM


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.