General Discussion · How Do You Code This?
|
turners63 msg #42466 modified |
3/25/2006 12:00:18 PM
How can I make a filter that will pick stocks that closed within the average daily volatility above the MA(20)? (i.e. The close is within the distance from 0 to the volatility or that stock above the MA(20), so if the trading range of a stock was $1, I would want it chosen only if the close was within $1 from the MA(20)) I tried:
Show stocks where close was within average daily range aboveMA(20)
It didn't work?
|
General Discussion · How Do You Code This?
|
turners63 msg #42474 |
3/25/2006 1:39:40 PM
The average daily range is a variable that has a value. (i.e. XYZ may have an average daily range of $1.32) I would like to know if the close of that stock was between the MA(20) and the MA(20)+ $1.32.
|
General Discussion · How Do You Code This?
|
turners63 msg #42481 |
3/25/2006 2:38:09 PM
Thanks TheRumbledOne. I'm new and didn't know how to set the variables. I used your example and changed it a little using the average true range and it worked fine. Thanks again.
|
General Discussion · How Do You Code This?
|
turners63 msg #42521 |
3/26/2006 1:09:55 PM
This is what I came up with:
set{UpperLimit, average true range(35) + ma(35)}
close above ma(35)
close below UpperLimit
|
General Discussion · Looking for new broker..
|
turners63 msg #41283 |
2/17/2006 4:25:12 PM
JohnyYuma is right. TradeStation is the best and cheapest. All the others will put you in the poor hourse.
|
General Discussion · Why Doesn't Day Position Work
|
turners63 msg #42522 modified |
3/26/2006 1:14:15 PM
I wanted to filter out stocks where the close was in the top 25% of the range. I used the following but it gave some results that aren't always in the top 25%: close is above Day Position (0.75)
|
General Discussion · Why Doesn't Day Position Work
|
turners63 msg #42553 modified |
3/27/2006 8:01:57 AM
I tried the filter and still got some stocks where the close was nowhere near the top 25%. XLE and TWTC are two examples.
|
General Discussion · Why Doesn't Day Position Work
|
turners63 msg #42557 |
3/27/2006 9:05:57 AM
You're right! I can't explain why I got those two stocks before. Must have done something wrong. Thanks for the help.
|