mktmole 325 posts msg #59164 - Ignore mktmole |
1/20/2008 5:17:46 PM
In filters I would like to plot and show the Up and Down Trend by using the "Slope" of the LR and/or the LR "Channel" as a column value, 1= yes 0 =No and having some difficulties with both types.
Any input is appreciated, Thank-you!
examples.....
set{DownTrend, Linear Regression Slope(45) has been decreasing for 45 days}
add column DownTrend
set{UpTrend, slope of Linear Regression Channel(45) is above.1}
add column UpTrend
|
nikoschopen 2,824 posts msg #59166 - Ignore nikoschopen modified |
1/20/2008 7:05:40 PM
Perhaps you can tell me the difference between "Linear Regression Slope(45) " and "slope of Linear Regression Channel(45)", but here's one way to get around ure problem. In the following filter, the "trend" column will spit out 1 if either DownTrend or UpTrend takes place.
However, not knowing whether 1 points to the UpTrend or the DownTrend leaves too much room for question. Hence, this is not a very effective filter IMHO. The following filter, on the other hand, will spit out a value of 1 for the UpTrend and -1 for the DownTrend.
|
mktmole 325 posts msg #59168 - Ignore mktmole |
1/20/2008 10:50:48 PM
Niko... thanks kindly for your help and several options, was perfect!
...and no, I'm not sure of the difference when using using
"Slope" vs "Channel" of LR, but "assume" them to be near the same?
|
karennma 8,057 posts msg #59172 - Ignore karennma modified |
1/21/2008 8:30:47 AM
had a question, but nevermind ...
awesome!
|