## New version 17 available now

Subscription & data-feed pricing Class schedule

Margin rates Stock & option commissions

 Quick and easy candlestick scan help needed Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
RyanP
 Posted : Friday, February 17, 2017 6:46:42 AM
Platinum Customer

Joined: 4/17/2014
Posts: 27

Good morning Bruce/other gurus,

I need some help with an easy PCF for a scan I'm building. The criteria I'd like to include are:

• Price is greater than the previous 40 periods;
• Current candle and 1 previous candle are white;
• No gap between current candle and 1 previous candle;
• Price is currently in the top 10% of the current candle

You guys are all invaluable assets to the trading community, and I am grateful for any assistance you can give to me here!

Thanks!

Bruce_L
 Posted : Friday, February 17, 2017 8:25:03 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,012

The following Condition Formula assumes price needs to be above the highs of the previous 40 periods and that a gap up requires the low to be above the previous high.

C > MAXH40.1 AND C > O AND C1 > O1 AND L <= H1 AND STOC1 >= 90

If price only needs to be above the closing prices of the previous 40 candles.

C > MAXC40.1 AND C > O AND C1 > O1 AND L <= H1 AND STOC1 >= 90

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
RyanP
 Posted : Thursday, February 23, 2017 9:45:38 AM
Platinum Customer

Joined: 4/17/2014
Posts: 27

Thank you as always Bruce; you are awesome!

RyanP
 Posted : Thursday, February 23, 2017 10:10:23 AM
Platinum Customer

Joined: 4/17/2014
Posts: 27

Oh crap; just noticed you missed a few key points. I need:

• Price is greater than the previous 40 periods;
• Current candle and 1 previous candle are white;
• No gap between current candle and 1 previous candle;
• Price is currently in the top 10% of the current candle

All these to be true. So NO gap, prive > than the previous 40 (you've given me that), current and previous are C >O, and current price is within the top 10% of the current candle's body (I saw this one in the webinar from last week).

Really appeaciate the help Bruce!

Bruce_L
 Posted : Thursday, February 23, 2017 10:22:13 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,012

The formulas should already specify all of these things unless you have a different definition of gap up than a low above the previous high.

QUOTE (RyanP)
Price is greater than the previous 40 periods;

prive > than the previous 40 (you've given me that)...

First option:

C > MAXH40.1

Second option:

C > MAXC40.1

QUOTE (RyanP)
Current candle and 1 previous candle are white;

...current and previous are C >O...

C > O AND C1 > O1

QUOTE (RyanP)
No gap between current candle and 1 previous candle;

...So NO gap

L <= H1

QUOTE (RyanP)
Price is currently in the top 10% of the current candle

...current price is within the top 10% of the current candle's body (I saw this one in the webinar from last week).

STOC1 >= 90

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
RyanP
 Posted : Monday, February 27, 2017 4:07:11 AM
Platinum Customer

Joined: 4/17/2014
Posts: 27

SO sorry Bruce; this is what comes from not really being able to read this stuff... Feel free to dunce-hat me.

And again, MANY thanks!

Bruce_L
 Posted : Monday, February 27, 2017 8:33:30 AM

Worden Trainer

Joined: 10/7/2004
Posts: 61,012

Not a problem. I thought you had tested it and the results did not meet your expectation.

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

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/17 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 17 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos 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.