StockFetcher Forums · Filter Exchange · LR Channel Column for filter / watchlist<< >>Post Follow-up
17 posts
msg #99542
Ignore miska2
3/8/2011 2:14:47 PM

How do you create a column for a filter/watchlist that determines in % terms where the close is relative to the LR channel. For example, if the stocked closed at the top of the channel, the number would be 100 or near it. And if price goes above the top channel, the number would exceed 100. Opposite for lower channel.


469 posts
msg #99544
Ignore straken
3/8/2011 5:11:21 PM

This is for an LRC 30 day channel, you can edit as needed. What your asking for would require the use of the lag x days, as LR adjusts the price unless the channel is programmed for a lag period. The price then would be compared to a frozen envelope instead of moving one. (i.e $20 stock yesterday closed at $21 today would be 5% above the top LRC lag 1 day, but if continued to rise the LR period would have to be frozen from the point it reached 100% to give an accurate continued measure).

set{a,Top Linear Regression(30,1) - Bottom Linear Regression(30,1)}
set{b,a / 2}
set{c,Bottom Linear Regression(30,1) + b}
set{d,Price - c}
set{e,d / b}
set{f,e * 100}
add column f {LR30}

17 posts
msg #99547
Ignore miska2
3/8/2011 11:22:59 PM

Thanks. It works great. I realize the LR channel adjusts with price action. I was just looking for a column to determine if price might be overbought / oversold.

StockFetcher Forums · Filter Exchange · LR Channel Column for filter / watchlist<< >>Post Follow-up

*** Disclaimer *** does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. does not recommend particular securities., Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.

Copyright 2016 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus