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 |

Price Oscillator Scan Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mcsims
Posted : Sunday, October 22, 2006 9:35:38 PM
Registered User
Joined: 8/25/2006
Posts: 15
I have searched and searched but still cant get it...

I have a search in Metastock I use...it is
col A: OscP(10,30,E,percent)
col B: volume*close
filter: colB >= 1000 and colA >5 and colA <=9

All this is, is a price oscillator using a percent and using the 10dmae and the 30dmae and showing a 5% and less than 9% change.

How can I duplicat this into a PCF...What I have so far is

custom indicator: (XAVGC10-XAVGC30)/XAVGC30

How do I ask for the percentage differance?

Thanks

MIke
diceman
Posted : Sunday, October 22, 2006 10:23:39 PM
Registered User
Joined: 1/28/2005
Posts: 6,049
mcsims

If I am understanding you.
Try this:


(XAVGC10/XAVGC30*100)-100


Thanks
diceman

mcsims
Posted : Sunday, October 22, 2006 10:39:58 PM
Registered User
Joined: 8/25/2006
Posts: 15
diceman...

thanks for the post...the understanding I have of the percentage price oscillator(PPO)is (10-period EMA minus 30-period EMA) divided by the 30-period EMA...subtracting the longer moving average from the shorter moving average and then dividing the result by the longer moving average.

I am not very good at writing these scans or explaing them... so I dont know if what you have there is the same or not when it comes to the PPO.

I want my PPO scan to capture all the results greater than 5% and less than 9%. I want to exclude stocks that do not meet these conditions
diceman
Posted : Sunday, October 22, 2006 10:43:58 PM
Registered User
Joined: 1/28/2005
Posts: 6,049
Try this then:

(XAVGC10-XAVGC30)/XAVGC30*100


Thanks
diceman
diceman
Posted : Sunday, October 22, 2006 11:00:31 PM
Registered User
Joined: 1/28/2005
Posts: 6,049
I just realized these are 2 ways to do the same
thing. (both have the same answer)
(this is the percent diff between the 2 mavs)

If this is the correct calculation. you
could do something like(in a % true):

((XAVGC10/XAVGC30*100)-100)>5AND((XAVGC10/XAVGC30*100)-100)<9

Thanks
diceman
mcsims
Posted : Monday, October 23, 2006 12:24:25 AM
Registered User
Joined: 8/25/2006
Posts: 15
diceman

You are correct...I ran a scan in tc then exported it to MS and they say the same thing...

Thanks allot for your time...

Now I have to post another question

Mike
Savrad
Posted : Monday, April 30, 2012 11:59:05 AM
Gold Customer Gold Customer

Joined: 1/24/2005
Posts: 97

Diceman I tried that formula and got this error message:  http://screencast.com/t/7fDLlZmDkhLI 

Am I missing part of it?

Paul

StockGuy
Posted : Monday, April 30, 2012 12:30:45 PM

Administration

Joined: 9/30/2004
Posts: 9,187

You need to plot a Custom % True indicator since it is a Boolean formula.

Savrad
Posted : Tuesday, May 1, 2012 10:13:24 PM
Gold Customer Gold Customer

Joined: 1/24/2005
Posts: 97

Thanks-I'll try that!

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.