StockFetcher Forums · Filter Exchange · weekly syntax<< >>Post Follow-up
danv83
44 posts
msg #56065
Ignore danv83
modified
10/26/2007 8:05:17 PM

i am trying to set variables containing weekly indicators and it is not working, is this currently not supported or am i just missing something? help appreciated!

Fetcher[
set{rad, count(weekly rsi(2) > weekly rsi(5),1)}
draw rad
draw weekly rsi(2) on plot weekly rsi(5)
]





TheRumpledOne
6,407 posts
msg #56070
Ignore TheRumpledOne
modified
10/27/2007 1:25:35 AM

Fetcher[

set{rsb,days(weekly rsi(2) is above weekly rsi(5),100)}
set{rsa,days(weekly rsi(2) is below weekly rsi(5),100)}
set{RS2xRS5, rsa - rsb}

set{xrad, count(weekly rsi(2) above weekly rsi(5),1) }

add column RS2xRS5
add column xrad
add column weekly rsi(2)
add column weekly rsi(5),1)

draw xrad
draw weekly rsi(5) on plot weekly rsi(2)

close above 100
volume above 1000000
market is nasdaq

sort column 5 descending

and chart-display is weekly
]



***EDITED***

I added a few things.

danv83
44 posts
msg #56086
Ignore danv83
10/27/2007 3:57:29 PM

i don't see any difference other than that you added an x

TheRumpledOne
6,407 posts
msg #56087
Ignore TheRumpledOne
10/27/2007 4:27:08 PM

It works, doesn't it?



danv83
44 posts
msg #56092
Ignore danv83
10/27/2007 5:01:57 PM

not exactly, my hope was to have the xrad or rad display it's weekly values on a regular daily chart but it seems that it only displays as desired when chart-display is set as weekly. the other thing i noticed is that if you try searching for a condition like weekly rsi(2) is above weekly rsi(5) it only really returns regular daily results....

TheRumpledOne
6,407 posts
msg #56093
Ignore TheRumpledOne
modified
10/27/2007 5:06:59 PM

Fetcher[

set{rsb,days(weekly rsi(2) is above weekly rsi(5),100)}
set{rsa,days(weekly rsi(2) is below weekly rsi(5),100)}
set{RS2xRS5, rsa - rsb}

set{xrad, count(weekly rsi(2) above weekly rsi(5),1) }

add column RS2xRS5
add column xrad
add column weekly rsi(2)
add column weekly rsi(5),1)

draw xrad
draw weekly rsi(5) on plot weekly rsi(2)

close above 100
volume above 1000000
market is nasdaq

sort column 5 descending
]



This displays on a daily chart.

Remember, xrad is either 1 or 0. That's why I added the rs2xrs5 code so you can see how long ago the cross happened.



StockFetcher Forums · Filter Exchange · weekly syntax<< >>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.