Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

doc355 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
doc355
Posted : Tuesday, February 21, 2006 8:34:52 PM
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.
Craig_S
Posted : Wednesday, February 22, 2006 6:49:05 AM


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!
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.