olathegolf 119 posts msg #96092 - Ignore olathegolf |
9/8/2010 10:50:24 PM
I believe there is a limit of 100 days.
|
dwiggains 444 posts msg #96094 - Ignore dwiggains |
9/9/2010 9:12:15 AM
Tried the following and it still did not work.
If their is a 100 day limit then my idea will not be any good. I was wanting to go back 2 years and see which stocks have the best chance of trending 30 to 60 days at a time.
set{above80, count(stclong above 80 for 30 days, 100)}
set {below20, count(stclong below 20 for 30 days,100)}
add column above80
add column below20
set{var1, ema(23) - ema(50)}
set{highest, var1 20 day high}
set{lowest, var1 20 day low}
set{range, highest - lowest}
set{var2, var1 - lowest}
set{var3, var2 / range}
set{var4, var3 * 100}
set{stclong, cema(var4, 5)}
add column STClong
draw stclong line at 80
draw stclong line at 20
draw ema(23)
Thanks
See ya
David
|
olathegolf 119 posts msg #96101 - Ignore olathegolf modified |
9/9/2010 12:49:15 PM
|
olathegolf 119 posts msg #96104 - Ignore olathegolf |
9/9/2010 1:37:10 PM
How 'bout something like this to address the 100 day limitation............
|
dwiggains 444 posts msg #96106 - Ignore dwiggains |
9/9/2010 3:07:42 PM
I got
Your StockFetcher filter exceeds filter performance restrictions.
Thanks for trying.
see ya
David
|
olathegolf 119 posts msg #96110 - Ignore olathegolf |
9/9/2010 9:33:06 PM
Interesting. I don't get that error. It takes a while but the filter returns 10352 stocks. 20/80 conditions are summed to return the 200 day period you're looking for.
Try to add price and volume conditions and see if that works.
|
dwiggains 444 posts msg #96138 - Ignore dwiggains |
9/10/2010 11:13:43 AM
I do not have the Advanced subscription level.
Guess I am to cheap.
Thanks again
See ya
David
|
dk58198 19 posts msg #96180 - Ignore dk58198 |
9/11/2010 12:56:00 PM
this is what I did with changed and added please play with it first before you take my advice i use it for short term trades and when i think the market as a whole is added up.
/*SCHAFF TREND CYCLE INDICATOR*/
set{var1, ema(8) - ema(20)}
set{highest, var1 20 day high}
set{lowest, var1 20 day low}
set{range, highest - lowest}
set{var2, var1 - lowest}
set{var3, var2 / range}
set{var4, var3 * 100}
set{stclong, cema(var4, 5)}
add column STClong
draw stclong line at 80
draw stclong line at 20
draw ema(20)
draw ema(8)
/*BUY WHEN STC CROSSES ABOVE 20*/
/*SHORT WHEN STC CROSSES BELOW 80*/
sort on column 5 descending
show stock price above 2
show 30 day volume above 500000
show MACD Fast Line(8,34) crossed above MACD Slow Line(8,34)
show Stochastic %K(8,5,3) crossed above Stochastic %D(8,5,3)
DeMarker(14) crossed above 0.30
|