Registered User Joined: 3/26/2005 Posts: 63
|
Is there a way to write a PCF that will reflect when a stochastic crosses over On balance Volume ?
I know that you can display these two variables on a section of the chart display but it seems that you have to visually inspect each chart to determine if a crossover has taken place.
I would like to see if there is a way to develop a PCF that can filter when the chart display for Sto12.3 crosss Upward and for Downwar through the displayed value for OBV7. I asume these would be two separate PCF's one for each condition, assuming this is possible.
Thank you for your direction
Mart Thomas
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
If you put both in the same pane it may look like a crossover
but they are on different scales.
Stoc only goes from 0 to 100.
Thanks
|
Registered User Joined: 3/26/2005 Posts: 63
|
Diceman
I'm not sure that I relate to your response. Are you telling me that I cannot relate these two issues in a PCF that will yield a "True" response?
In displaying these two in the same pane there seems to be a correlation of a crossover. Is this not a true mathmatical result?
Thanks
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
When indicators have different scales it will "visually" center the data.
If you look at the "actual" values they are different.
I just looked in V12 and the crossovers will change based on the zoom.
(it centers based on bars viewed)
There are ways to "normalize" indicators depending on the zoom window you typically view.
Applying a long period Stoc to OBV or normalizing to a moving average or other
methods are possible but I will leave that for you and Bruce should you decide to
pursue it. (maybe Bruce has a better idea)
As it stands you are seeing the "cross" of "centered" indicators based on the
length of data viewed.
Im looking at a chart of AMG where Stoc crosses OBV but stoc is about 50 and
OBV is about 5 million.
(and if I change the zoom the cross doesnt happen)
Thanks
|