Registered User Joined: 8/6/2005 Posts: 37
|
Hi ... Please help me by providing a PCF that I might put into an EZscan to find stocks whose price is above a Simple Moving Average on the current bar whereas it traded below the Simple Moving Average on the previous bar. I am also looking for an equal number of PCF's where the opposite is true in that I want to find stocks whose price is now below a Simple Moving Average on the current bar whereas it traded above the Simple Moving Average on the previous bar. I am looking for a PCF for each of these timeframes: 30 Mins, 60 Mins, Daily, Weekly. I am also looking to scan these timeframes for each of the following Simple Moving Averages: 20 SMA, 50 SMA, 100 SMA, 200 SMA, 500 SMA, 1000 SMA. (I don't mind if you just give me one PCF that I can adjust accordingly AS LONG as the functions I need to change are easy to identify.) I want to use these scans INTRADAY. Thank you for all your past and present help! Jay
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
"Hi ... Please help me by providing a PCF that I might put into an EZscan to find stocks whose price is above a Simple Moving Average on the current bar whereas it traded below the Simple Moving Average on the previous bar. I am also looking for an equal number of PCF's where the opposite is true"
Try:
-------------------------------------------------------
C>AVGC20ANDC1<AVGC20.1
(C above 20 today and below yesterday)
----------------------------------------------------------
C<AVGC20ANDC1>AVGC20.1
(C below 20 today and above yesterday)
---------------------------------------------------
Just change to two 20's to what ever other lengths
are desired.
I don't have intraday but I believe that PCF's are
daily only. To sort in real-time you need to use
a custom indicator and change to the appropriate
time scale. (but again I'm not sure)
Thanks
diceman
|