Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 1/15/2005 Posts: 60
|
Hi,
How can I detect for this? So it shows the stochastic is not moving to any direction?
Thanks
Mike
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 4,308
|
I think you'll find visual change sorting to be extremely useful in your endeavor. You can sort by the visual change in Stochastics over whatever period of days you specify in the sort dialog, and your stocks will be ranked according to how much the Stochastics line has changed over the period. You will be looking for stocks returning sort values near zero.
Keep in mind, if you were to use a visual change period of 30 days, the stocks returning values near zero will be those where Stochastics today is very close to where Stochastics was 30 days ago. Over that time period, Stochastics could actally have moved quite a bit, so you'll have to use your eyes for the final sort. Once you do the indicator sort, you'll have a much smaller number of stocks to deal with (the ones near zero), and you can spacebar through them quickly to look for the ones that have been crawling, as you call it.
Just an FYI...I did this for the S&P 500 watchlist, and I didn't find any that were basically flatlining.
If you're not familiar with visual change sorting, you'll want to watch this short training video that will demonstrate the technique.
Comparing indicators using Visual Difference sorts
- Doug Teaching Online!
|
|
Registered User Joined: 1/15/2005 Posts: 60
|
How about to write a PCF that checks for Stochastic is stay above 80 or below 30 for more than 7 days?
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
What are the settings for the Stochastic you want to check?
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/15/2005 Posts: 60
|
I tried the following:
(STOC12.3 <= 30) AND (STOC12.3.1 <= 30) AND (STOC12.3.2 <= 30) AND (STOC12.3.3 <= 30) AND (STOC12.3.4 <= 30) AND (STOC12.3.5 <= 30) AND (STOC12.3.6 <= 30) AND (STOC12.3.7 <= 30)
I also added stochastic indicator 12,3,3 however the numbers that I saw on the chart was different than the numbers that was shown by PCF test button.
So I am not sure what is wrong?
Thanks
Mike
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 4,308
|
When you sorted by this PCF, did any stocks return a value of TRUE? If so, did the Stochastics line remain at or below 30 for each of these stocks when you looked at the chart?
- Doug Teaching Online!
|
|
Platinum Customer
Joined: 10/7/2004 Posts: 50
|
Doug, it is unnecessary to sort based on a "visual" change when it comes to stochastics since this indicator is ALWAYS scaled and plotted from 0 to 100.
The best way to find stochastic "flat lines" would be to create a PCF that adds up the absolute values of net changes over X number of days (basically a standard deviation).
Then sort. The lowest values will be the flattest liners.
After thinking about this, you'll be most likely to get flat liners at 100 or 0. You'll probably want to apply an EasyScan to eliminate these unless that's what you're lookin for.
|
|
Registered User Joined: 1/15/2005 Posts: 60
|
Thanks.
I am looking to eliminate the flat lines.
What would the PCF looks like to add the absolute values? Can you please give me an example?
Thanks
Mike
|
|
Registered User Joined: 1/15/2005 Posts: 60
|
Doug, can you please copy my formula and see what result you get.
Please include a stochastic indicator 12,3,3 to make sure the numbers are matching as well.
The other question is why in indictor, we gave 3 period parameters (Period,SD Period and SK Period) but in the formula, it is only 2?
Mike
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
For your flatlining STOC try this for me:
ABS(AVG(STOC12.3,15)-AVG(STOC12.3.15,15)
This looks at a 30 day period (the 15s are 30 divided by 2).
Sort by this PCF in ascending order and you should find the flattest ones at the top of the list.
Here is PilatusPilot's idea for 10 days:
(ABS(STOC12.3-STOC12.3.1)+ABS(STOC12.3.1-STOC12.3.2)+ABS(STOC12.3.2-STOC12.3.3)+ABS(STOC12.3.3-STOC12.3.4)+ABS(STOC12.3.4-STOC12.3.5)+ABS(STOC12.3.5-STOC12.3.6)+ABS(STOC12.3.6-STOC12.3.7)+ABS(STOC12.3.7-STOC12.3.8)+ABS(STOC12.3.8-STOC12.3.9)+ABS(STOC12.3.9-STOC12.3.10))/10
- Craig Here to Help!
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
QUOTEThe other question is why in indictor, we gave 3 period parameters (Period,SD Period and SK Period) but in the formula, it is only 2?
The PCF only looks at the actual Stochastic line, not the second line which is the moving average of the Stochastic (SK).
- Craig Here to Help!
|
|
Guest-1 |