StockFetcher Forums · Filter Exchange · Wilson Relative Price Channel<< 1 2 3 >>Post Follow-up
jimmyjazz
102 posts
msg #115478
Ignore jimmyjazz
9/23/2013 9:01:37 AM

Have any of you tried to convert this into a scan of all stocks on a given index, etc.?

Also, what platforms support Wilson Relative Price Channel? It doesn't appear that StockCharts or ProRealTime do. It's intriguing, to say the least.

jimmyjazz
102 posts
msg #115479
Ignore jimmyjazz
9/23/2013 9:02:34 AM

Sorry, not "scan" but "screen"; i.e., identifying those stocks that are crossing over into the upper territory, etc.

Kevin_in_GA
4,599 posts
msg #115482
Ignore Kevin_in_GA
9/23/2013 12:05:47 PM

This is a custom indicator (not mine), that has not seen large scale adoption. However, the code is pretty simple and can easily be replicated in most screening platforms (at least any that are decent enough to give you the ability to write some code).

And to look for stocks within an index (e.g., the S&P 500) here on StockFetcher, just substitute the line "symlist(AAPL)" with "market is S&P 500".

jimmyjazz
102 posts
msg #115488
Ignore jimmyjazz
9/23/2013 3:57:52 PM

OK, baby steps are being taken into the land of screening on SF. Where am I getting off in the weeds?

symlist(market is S&P 500)

set{overbought,70}
set{upperNZ, 55}
set{lowerNZ, 45}
set{oversold, 30}

set{OB1, RSI(34) - overbought}
set{OS1, RSI(34) - oversold}
set{NZU1, RSI(34) - upperNZ}
set{NZL1, RSI(34) - lowerNZ}

set{OB2, OB1 /100}
set{OS2, OS1 / 100}
set{NZU2, NZU1 / 100}
set{NZL2, NZL1 / 100}

set{OB3, close * OB2}
set{OS3, close * OS2}
set{NZU3, close * NZU2}
set{NZL3, close * NZL2}

set{OB, close - OB3}
set{OS, close - OS3}
set{NZU, close - NZU3}
set{NZL, close - NZL3}

draw OB on plot price
draw OS on plot price
draw NZU on plot price
draw NZL on plot price

Show stocks where close touched NZU from below


Kevin_in_GA
4,599 posts
msg #115493
Ignore Kevin_in_GA
9/23/2013 6:13:31 PM

do not write symlist(). All you need to say is "market is S&P 500" on the first line (technically it can be on any line).

Kevin_in_GA
4,599 posts
msg #115494
Ignore Kevin_in_GA
modified
9/23/2013 6:19:03 PM

Like so ...

Fetcher[
market is S&P 500

set{overbought,70}
set{upperNZ, 55}
set{lowerNZ, 45}
set{oversold, 30}

set{OB1, RSI(34) - overbought}
set{OS1, RSI(34) - oversold}
set{NZU1, RSI(34) - upperNZ}
set{NZL1, RSI(34) - lowerNZ}

set{OB2, OB1 /100}
set{OS2, OS1 / 100}
set{NZU2, NZU1 / 100}
set{NZL2, NZL1 / 100}

set{OB3, close * OB2}
set{OS3, close * OS2}
set{NZU3, close * NZU2}
set{NZL3, close * NZL2}

set{OB, close - OB3}
set{OS, close - OS3}
set{NZU, close - NZU3}
set{NZL, close - NZL3}

draw OB on plot price
draw OS on plot price
draw NZU on plot price
draw NZL on plot price

close crossed above NZU
]



jimmyjazz
102 posts
msg #115495
Ignore jimmyjazz
9/23/2013 6:56:46 PM

Ah. OK, thanks. If I add "within the last 1 day" I get this -- make sense?

market is S&P 500

set{overbought,70}
set{upperNZ, 55}
set{lowerNZ, 45}
set{oversold, 30}

set{OB1, RSI(34) - overbought}
set{OS1, RSI(34) - oversold}
set{NZU1, RSI(34) - upperNZ}
set{NZL1, RSI(34) - lowerNZ}

set{OB2, OB1 /100}
set{OS2, OS1 / 100}
set{NZU2, NZU1 / 100}
set{NZL2, NZL1 / 100}

set{OB3, close * OB2}
set{OS3, close * OS2}
set{NZU3, close * NZU2}
set{NZL3, close * NZL2}

set{OB, close - OB3}
set{OS, close - OS3}
set{NZU, close - NZU3}
set{NZL, close - NZL3}

draw OB on plot price
draw OS on plot price
draw NZU on plot price
draw NZL on plot price

close crossed above NZU within the last 1 day
]



jimmyjazz
102 posts
msg #115497
Ignore jimmyjazz
9/23/2013 7:07:23 PM

Figured out the "Fetcher" command. I'm not liking the way some selections are hanging out in the upper zone, dip below, and then trigger. I'll add a moving average constraint to see if it shakes anybody out. (I realize I need to backtest these ideas.)


Fetcher[market is S&P 500

set{overbought,70}
set{upperNZ, 55}
set{lowerNZ, 45}
set{oversold, 30}

set{OB1, RSI(34) - overbought}
set{OS1, RSI(34) - oversold}
set{NZU1, RSI(34) - upperNZ}
set{NZL1, RSI(34) - lowerNZ}

set{OB2, OB1 /100}
set{OS2, OS1 / 100}
set{NZU2, NZU1 / 100}
set{NZL2, NZL1 / 100}

set{OB3, close * OB2}
set{OS3, close * OS2}
set{NZU3, close * NZU2}
set{NZL3, close * NZL2}

set{OB, close - OB3}
set{OS, close - OS3}
set{NZU, close - NZU3}
set{NZL, close - NZL3}

draw OB on plot price
draw OS on plot price
draw NZU on plot price
draw NZL on plot price

close crossed above NZU within the last 1 day
close above MA(200)
]

]

jimmyjazz
102 posts
msg #115498
Ignore jimmyjazz
9/23/2013 7:11:03 PM

OK, that knocked out one stock. I'm going to say NRG and NI are more interesting than the rest, since they are just now breaking into the upper Wilson zone AND their moving average (200 day) is rising. Anyone have a problem with that logic? I'm sure I could add a "MA slope" constraint to the screener if I wanted to. I'd have to backtest to see if that actually improved results, though.

Thanks for the help.

davesaint86
725 posts
msg #115513
Ignore davesaint86
9/24/2013 11:41:30 AM

I found it more interesting from looking at this filter that if the price falls under the NZL zone and then breaks up through it this seems like a pretty good by signal, not crossing the upper zone. So my buy would be three up days or so coming up through the lower zone. Hoping it will work it's way above the upper zone and when it crosses back down from above through the upper zone sell it.

If it crosses from below up through the lower zone for 2-3 days but it, and if it comes back down through the lower zone dump it. Study a bunch of charts and tell me if you see the same thing. I've bought one ETF as a test.

StockFetcher Forums · Filter Exchange · Wilson Relative Price Channel<< 1 2 3 >>Post Follow-up

*** Disclaimer *** StockFetcher.com 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. StockFetcher.com does not recommend particular securities. StockFetcher.com, 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 2022 - 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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.