pirate67 99 posts msg #88466 - Ignore pirate67 |
2/20/2010 7:46:51 PM
The best way to describe what I am trying to do is by example.
For GAP
The double stochastic(10,3) made a bottom on Jan 15th (indicator was below 10)
It then went up until Jan 15th
then it went down again until it made another bottom on Jan 20th
Then rose, as did the stock
It does not matter whether the second bottom is lower or higher than the first bottom.
|
chetron 2,817 posts msg #88469 - Ignore chetron |
2/20/2010 8:35:25 PM
WHAT YEAR ARE YOU TALKING ABOVE?
THIS YEAR JAN 20, GAP WAS TANKING.....
|
pirate67 99 posts msg #88472 - Ignore pirate67 |
2/20/2010 10:09:35 PM
Sorry Chetron! I meant GPS. It looks like Gap Stores lost out in the symbol war.
|
chetron 2,817 posts msg #88473 - Ignore chetron |
2/20/2010 10:23:35 PM
JUST USE SOAP....
|
pirate67 99 posts msg #88485 - Ignore pirate67 |
2/21/2010 12:47:46 PM
Thanks, Chetron. Besides your outstanding coding contributions you are a stellar SF archive reference librarian! There are several of you that should be paid by SF as you collectively create added value to our fees. I think what I asked for would have been hard to search for.
I am disappointed that there appears to be no way to code this without progressively and tediously making watch lists after wave 1 and again after wave 2.
Would this simple code be the best way to capture what I am looking for simulating the SOAP method?
Wave 1
Double Stochastic(10,3) below 10 one day ago
Double Stochastic(10,3) above Double Stochastic(10,3) one day ago
Wave 2
Double Stochastic(10,3) below double stochastic(10,3) one day ago
Wave 3
Double Stochastic(10,3) above double stochastic(10,3) one day ago
|
four 5,087 posts msg #88486 - Ignore four modified |
2/21/2010 1:17:47 PM
???
Use "lag" with "and"
Does this help?
@pirate67
Stick with Chetron.
|
pirate67 99 posts msg #88487 - Ignore pirate67 |
2/21/2010 1:47:43 PM
Four, I do not understand what you mean.
|
chetron 2,817 posts msg #88488 - Ignore chetron |
2/21/2010 1:49:06 PM
THANK YOU,PIRATE FOR THE KIND WORDS, BUT YOU DON'T HAVE TO DO WHAT YOU ARE SAYING. IT ALMOST SOUNDS LIKE YOU HAVEN'T READ PASSED THE 2ND POST OF THE SOAP THREAD PLEASE READ THE ENTIRE THREAD.
TIA
|
pirate67 99 posts msg #88494 - Ignore pirate67 |
2/21/2010 5:08:19 PM
You are right again Chetron. I did not read the rest of the thread. What do you expect, I am the same person who mixed up GAP and GPS? It'll take me awhile to decipher the coding. Is the thread implying that I need to create another more stable indicator besides stochastic(10,3) like stochastics(20,3) to create a crossover?
|
chetron 2,817 posts msg #88506 - Ignore chetron |
2/21/2010 10:22:09 PM
just use the filter i posted, it caught gps on the 26th.
|