Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User 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!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
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
|
|
Registered User Joined: 4/17/2014 Posts: 27
|
Thank you as always Bruce; you are awesome!
|
|
Registered User 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!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
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
|
|
Registered User 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!
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Not a problem. I thought you had tested it and the results did not meet your expectation.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |