m42000,
Lets break down the PCF formula you requested:
C >= .85 * MAXH252.'08/22/06'
For the Symbol TNH, close Jan 4, 2008
C = 149.71
C’08/22/06’ = 19.68
H’08/22/06’ = 20.20
MAXH252 = 159.46
MAXH252 * .85 = 135.54
MAXH252.’08/22/06’ = 34.05
85 * MAXH252.'08/22/06' = 28.94
The PCF 85% of MAXH 252.’08/22/06’ goes back from Aug 22, 2006 to somewhere around Aug 2005 which had a MAXH of 28.94
Therefore the Boolean PCF is true, Today’s Price C is > .85 * MAXH252.’08/22/06’
If you want to search for different criteria please explain, should my clarification not be correct, one of the trainers or bustermu can help.
Some Notes for Date Syntax:
All Dates need a single quotation mark ‘5/3/06’ and can be used in combination with any PCF such as Price ( C ), Volume ( V ), SMA ( AVGC ), Average Volume ( AVGV ).
Note the period or dot . location after every number. As far as the Days Ago Parameter, you can use number of days or calendar dates interchangeably. Always confirm that the date you wish to use in this parameter is a market day.
Some examples, if you want the SMA10 of price on December 31, 2005, AVGC10.'12/31/05' , you simply add a period . after the SMA10 and add the date notation.
If the expression does not need a period prior to the number of days ago ie. C, then don't use a period before the date C'12/31/04' Note: Be careful of any brackets
C’8/15/06’ Returns Close on 8/15/06
C’3/18/06' Returns Close on 3/18/06
V’8/15/06’ Returns Volume on 8/15/06
AVGC20.’8/15/06’ Returns SMA20 on 8/15/06, a dot . after the AVGC20
AVGC10.'12/31/04' Returns SMA10 on 12/31/04, a dot . after the AVGC10
AVGV90.’8/7/06’ Returns AVGV90 on 8/7/06, a dot . after the AVGV90
AVGV30.’2/28/06’ Returns AVGV30 on 2/28/06
C - C'06/30/06' / C'06/30/06' *100 Returns Price % Change from 6/30/06 to Today
C - C'1/3/06' / C'1/3/06' *100 Returns Price % Change from 1/3/06 to Today
C’6/1/06’ - C'1/3/06' / C'1/3/06' *100 Returns Price % Change from 1/3/06 to 6/1/06
C’8/7/06'-C'7/31/06' / C'7/31/06' *100 Returns Price % Change from 7/31/06 to 8/7/06
100*(C’6/1/06’) / (C’1/3/06’) -100 Returns Price % Change from 1/3/06 to 6/1/06
100*(C’6/30/06’) / (C’12/30/05’) -100 Returns Price % Change from 12/30/05 to 6/30/06
C'6/1/06' - C'1/3/06' Returns Price Net Change from 1/3/06 to 6/1/06
C’3/31/06 - C'1/3/06' > 0 Returns 1st Quarter 06 as positive
C'7/31/06' > AVGC20.'7/31/06' Returns Price above SMA20 on 7/31/06
Returns % Decline from 11/14/05 to 5/12/06 (MINL for 123 days between the two dates)
100 * MINL123.'5/12/06' / C'11/14/05' - 100
Returns % Increase from 11/14/05 to 5/12/06 (MAXH for 123 days between the two dates)
100 * MAXH123.'5/12/06' / C'11/14/05' - 100
Hope this helps
Winnie
|