Registered User Joined: 12/3/2004 Posts: 92
|
Craig...Have had difficulty writing a suitable PCF which identifies stocks whose historical weekly bar is increasing in value following a weekly bar that was decreasing in value which itself follows a weekly bar decreasing in value; all of these are below the 0 line. My values are 12-26-9- exponential. Your support is most appreciated.
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
I think you are talking about a MACD histogram. If so, try this for me.
Right click in one of the two bottom windows and ADD INDICATOR|CUSTOM|PERCENT TRUE
Leave the period to 1 and use this as your formula:
(XAVGC12-XAVGC26) -(XAVG(XAVGC12,9)-XAVG(XAVGC26,9)) >(XAVGC12.1-XAVGC26.1) -(XAVG(XAVGC12.1,9) -XAVG(XAVGC26.1,9)) AND (XAVGC12.1-XAVGC26.1) -(XAVG(XAVGC12.1,9) -XAVG(XAVGC26.1,9)) <(XAVGC12.2-XAVGC26.2) -(XAVG(XAVGC12.2,9) -XAVG(XAVGC26.2,9)) AND (XAVGC12.2-XAVGC26.2) -(XAVG(XAVGC12.2,9) -XAVG(XAVGC26.2,9)) <(XAVGC12.3-XAVGC26.3) -(XAVG(XAVGC12.3,9) -XAVG(XAVGC26.3,9)) AND (XAVGC12-XAVGC26) -(XAVG(XAVGC12,9)-XAVG(XAVGC26,9))<0
Close the indicator.
You should see a new indicator that runs on a scale from 0 to 100. You will see spikes to 100 everytime the MACD histogram is below zero and runs down two bars in a row then runs up once. You can change your time frame to anything (daily, weekly, etc) and it will work.
To find any stocks that are spiking to 100 today, right click on the new indicator and sort the WatchList by the ACTUAL VALUE of the indicator. All the ones at 100 right now will be at the top of your sorted list.
Here is a video on this idea:
Visually Backtesting Specific Symbols
- Craig Here to Help!
|