StockFetcher Forums · Filter Exchange · Simple syntax error. Help debug<< >>Post Follow-up
clam61
92 posts
msg #43119
Ignore clam61
4/21/2006 5:15:13 PM

I took a filter and tried to make it configurable via sets. Seems like set{xDayHigh, high 6 week high} doesnt like to work. Someone help please?

Fetcher[/* the number of days to take avg volume */
set{volDays, average volume(3)}

/* interval that the close must within of the high */
set{minPos, 10%}

/* x day high */
set{xDayHigh, high 6 week high}

/* max price*/
set{maxPrice, 10}

show stocks where

/* max price */
close is less than maxPrice and

/* approaching x day high*/
close is approaching xDayHigh from below and

/* going positive */
close above day position(0.8) and

/* it is gaining volume */
volume is greater than volDays and

/* close is within the interval of the xDay high */
high less than 10% below xDayHigh and

/* draw stuff */
draw rsi(14) and
draw macd(12,26)
]




TheRumpledOne
6,411 posts
msg #43120
Ignore TheRumpledOne
4/21/2006 6:08:05 PM

Fetcher[
/* the number of days to take avg volume */
set{volDays, average volume(3)}



/* x day high */
set{xDayHigh, high 6 week high}

/* max price*/
set{maxPrice, 0 + 10}



/* max price */
close is less than maxPrice and

/* approaching x day high*/
close is approaching xDayHigh from below and

/* going positive */
close above day position(0.8) and

/* it is gaining volume */
volume is greater than volDays and

/* close is within the interval of the xDay high */
high less than 10% below xDayHigh and

/* draw stuff */
draw rsi(14) and
draw macd(12,26)
]



HTH.


StockFetcher Forums · Filter Exchange · Simple syntax error. Help debug<< >>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.