Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 3/7/2005 Posts: 23
|
Greetings!
On my chart, I have an indicator that is labeled "Stochastics (12,5,3)". That indicator gives me two lines. I am having a hard time understanding how those numbers correspond to the Stochastics function in PCFs, which, IIRC, only takes two arguments. How would I write a PCF that tells me when the faster-moving of the two lines crosses over the slower-moving one? For the sake of this post, let's limit it to an upward crossing.
Thanks very much!
Rob
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 4,308
|
One trick is to make the SD parameter 1. By doing so, you will only see one line on your stochastics plot. Then, say your normal SD parameter was a 3, just plot a 3 day moving average of your stochastics line. This will mimic what would have appeared had you used a 3 as your SD parameter. Now you can sort the stochastics compared to the moving average of stochastics, and you'll find your crossovers.
Here is a video that I think you'll find helpful:
Sorting with Stochastics
- Doug Teaching Online!
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
You may also find this video and the PCF templates under it helpful:
Understanding Stochastics
- Craig Here to Help!
|
|
Guest-1 |