StockFetcher Forums · View by Author: (489 messages)  [ Display By: Date / Subject ]<< 1 2 3 4 5 ... 49 >> 
General Discussion · Fetch ETF's and Stock in same scan?
xarlor
msg #159605
9/19/2022 1:33:38 PM

"Stocks" command in SF means the entire universe of tickers it contains in its database. Really, the only filters that matters are:

is ETF
not ETF

The first shows only ETFs, no stocks.
The second shows stocks, no ETFs.

Don't know about the Mac question. I imagine it's no different as the processing is performed on the server, not your local PC.

General Discussion · Fetch ETF's and Stock in same scan?
xarlor
msg #159602
9/19/2022 12:55:06 PM

Again, no need to specify stocks nor ETFs if you want both.

Fetcher[
close is less than 10 percent below the 52 week high
price is above 10
volume is above 50000
]



General Discussion · Fetch ETF's and Stock in same scan?
xarlor
msg #159600
9/19/2022 11:54:53 AM

No need to specify either. By not specifying, both stocks and ETFs are included. Here is an example:

Fetcher[
symlist(SPY,AMZN,QQQ,NVDA)
]



Only Stocks:
Fetcher[
not etf
symlist(SPY,AMZN,QQQ,NVDA)
]



Only ETFs:
Fetcher[
etf
symlist(SPY,AMZN,QQQ,NVDA)
]



Filter Exchange · Why?
xarlor
msg #159582
9/10/2022 9:24:21 AM

Oh you wanted a 3-month Rounded Top filter?
*furious keyboard typing*

Fetcher[
optionable

/* Assign values to the 3 month high and how long ago that occured */
set{3mh,high 3 month high}
set{d3mh,days(high equals 3mh,63)}

/* Assign values to the 3 month low and how long ago that occured */
set{3ml,low 3 month low}
set{d3ml,days(low equals 3ml,63)}

/*
3 month low has to be more than 40 days ago
3 month high has to be between 20 nd 40 days ago
current close has to be above the 3 month low, but not by more than 5%
*/
d3ml > 40
d3mh between 20 and 40

set{5pl,3ml * 1.05}
close > 3ml
close < 5pl

/* Rounded Top visualization */
set{rounded_top,ma(8) * 1.01}
draw rounded_top on plot price

/* 3 month high and 3 month low visualization */

draw price line at 3mh
draw price line at 3ml

/* Debugging */
add column separator
add column 3mh
add column 3ml
add column 5pl
add column separator
add column d3mh
add column d3ml

do not draw d3ml
do not draw d3mh
do not draw 3ml
do not draw 5pl
]



Filter Exchange · Why?
xarlor
msg #159580
9/9/2022 6:10:28 PM

How do I code it where it tells me the 3 month high or 3 month low for that given chart ( 3 months) I would think since the chart-time is 3 months the line would come down to where the 3 month high is on the chart.

I think you're confusing the PRICE 3 month high vs your CMA 3 month high. Two completely different things. The line is your CMA 3 month high, not the price. If you want to know the price 3 month high, add another line:

Fetcher[
chart-time is 3 months
set{h2, cma(high,2)}
set{dsh, days(h2 reached a new 3 month high, 63)}
add column dsh
optionable
volume > 50000
close < 450
volume < average volume(30)

add column high 3 month high
draw price line at high 3 month high

draw h2 3 month high on plot price
do not draw h2
]



Filter Exchange · Why?
xarlor
msg #159576
9/9/2022 7:41:05 AM

To visualize what dleather25 is saying, notice the CMA you created is -1 for those that are not reaching a new 3-month high (line steadily goes down or stays the same).

Fetcher[
set{h2, cma(high,2)}
set{dsh, days(h2 reached a new 3 month high, 63)}
add column dsh
optionable
volume > 50000
close < 450
volume < average volume(30)

draw h2 3 month high on plot price
do not draw h2
]



General Discussion · Can’t create filter without syntax error
xarlor
msg #159561
9/5/2022 7:01:47 PM

Fetcher[
close > ma(30)
close > ma(50)
close > ma(100)
]



General Discussion · Any one day or all days
xarlor
msg #159557
9/5/2022 2:47:17 PM

Correct, must be true for all 3 days:

close is above MA(50) for the last 3 days
chart-time is 2 weeks

General Discussion · Any one day or all days
xarlor
msg #159547
modified
9/4/2022 4:11:38 PM

At least one. Can be one, two, or three, but if at least one is true, then the statement is true.



General Discussion · OR condition
xarlor
msg #159546
9/4/2022 4:06:47 PM

TRO solved that for us 19 years ago:

https://www.stockfetcher.com/forums/Filter-Exchange/Complete-Logic-System-Within-SF/28018/-1/28018

StockFetcher Forums ·  · << 1 2 3 4 5 ... 49 >>

*** 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.