grimmer01 |
Gold User, Member, Platinum User, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Thursday, February 24, 2005 |
Thursday, April 26, 2012 9:33:12 PM |
58 [0.02% of all post / 0.01 posts per day] |
|
this is what i came up with so far, but, I'm thinking there is a more effecient way to write the PCF:
(C1 > C2 and C2 > C3 and C3 > C4 and C4 > C5 and C5 > C6 ) or
(C2 > C3 and C3 > C4 and C4 > C5 and C5 > C6 and C6 > C7 ) or
(C3 > C4 and C4 > C5 and C5 > C6 and C6 > C7 and C7 > C8) or
(C4 > C5 and C5 > C6 and C6 > C7 and C7 > C8 and C8 > C9) or
(C5 > C6 and C6 > C7 and C7 > C8 and C8 > C9 and C9 > C10) or
(C6 > C7 and C7 > C8 and C8 > C9 and C9 > C10 and C10 > C11)
|
Hello All, I am having a challenge figuring out how to write an "effecient" way to show a condition for 5 consecutive green Bars between C2 and C10.
I realize i could write a lot of "or"s and make it lengthy, but i was hoping someone could show me a way to streamline the PCF.
thanks.
Will
|
Great, Thanks again Bruce! Looks good, running it and testing it out now!
you never seize to impress me!
Will
|
Wow Bruce, you are blowing my mind with that equation...LOL. That equation is above my pay grade...LOL. i will have to read that one a few times to wrap my brain around it. Good Stuff!
you may be answering my question with the above formula, but let me try to rephrase my question (i.e. dumb it down for me), just so I know we are on the same page.
is there a way to write a PCF to determine if MaxC4 is from the same Bar of MaxH4?
thanks again. and thanks for the fast reply!
Greatly appreciated!
Will
|
Hi All,
is there a way to have a PCF calcuate the close of a recent high? for example, lets say my PCF contains the following:
MaxH4
is there any wat to determine if the Close of whatever MaxH4 is, to be greater than the previous close?
I hope this makes sense.
for an example, looking at AIG and its 5' candlestick chart at 2:45 PM EST, is there a way to determine if that bar's close (because at the time i was looking at (i.e. 3:00 PM EST) it was the maxH4) is greater than the current closing bar's price?
thanks in advnace.
Will
|
thanks Jas!
Will
|
thx again for the helpful feedback Bruce!
Will
|
Is it possible to "Custom Date Sort" on an intraday chart, i.e. on a 5 minute chart?
thanks.
Will
|
thanks Bruce!
|
Hi Bruce, another question for you.
If I were to take the revised PCF you gave me and I wanted the Scan to pass for stocks 1 bar ago, would this be the correct PCF:
MAXC5.1 > XAVGC8.1 AND
MAXC5.1 = MAXC48.1 AND
MAXC5.1 > AVGC200.1 AND
MAXC5.1 >= MINC24.1 * 1.015 AND
MAXC5.1 + .05 >= MAXH4.1 AND
AVGC20.1 > AVGC50.1 AND
(C1.1 < O1.1 OR C2.1 < O2.1 OR C3.1 < O3.1) AND
C.1 < MAXC5.1 AND
C.1 >= XAVGC8.1 AND
O.1 <= XAVGC8.1 * 1.005 AND
MAXO3.1 / MINC3.1 - 1 > .004 AND
(C.1 / O'03/19/12' - 1) * 100 > 2.5
Since I want to keep the O'03/19.12' the same price throughout the day when i run the scan, I'm assuming I can leave it alone.
thx Bruce.
Will
|
|