thanks for asking-helped me figure it out:
Exchange
Exchange ExchangeType[,ExchangeType...] This function lets you limit your scans to just the exchange(s) you are interested in. For ExchangeType, you can use any of the following:
All - Scan all stocks in database except the S&P Weeklies. This is the default. INDEXES - Scan the S&P indexes NYSE - Scan the New York Stock Exchange AMEX - Scan the American Stock Exchange NASDAQ - Scan the NASDAQ OpenEnd - Scan for open end issues SPWEEKLY - Scan the S&P Weekly stocks. You will not get the S&P Weekly stocks if you specify no exchange type or the ALL exchange type. You must specify SPWEEKLY to obtain the S&P Weekly stocks.
To scan more than one exchange, enter several types, separated by commas.
Example: Exchange Nyse,Nasdaq If Close(0) > 30.0 then println symbol, "," close(0) endif
This scan selects all NYSE and NASDAQ stocks whose close is greater than 30.0
ample Scan:
output="9dyupinx" exchange indexes,spweekly if wmovavg(0,9,cl)>wmovavg(0,21,cl) and close(0) > wmovavg(0,9,cl) and close(-1)< wmovavg(-1,9,cl) and close(-2) < wmovavg(-2,9,cl) then Println Symbol, ",",close(0),"," endif
Sample scan results: !SP-BM,441, !SP-CA,788.119995, !SP-CP,1719.73999, !SP-EE,3216.25, !SP-FM,135.949997, !SP-FX,1517.27002, !SP-HG,577.349976, !SP-IS,480.640015, !SP-ML,182.419998, !SP-MU,84.0899963, !SP-PA,1438.82996, !SP-PE,212.289993, !SP-PN,251.5, !SP-RD,432.130005, !SP-RM,162.899994, !SP-SC,761.619995, !SP-TN,459.049988, !SP-TY,141.889999, !AM-DV,155.970001, !NQ-D ,2101, !NQ-DV,3044.06006, !NQ-V ,7552.08984, !SSSTI,1916.09998, !TRN-A,2.11999989, |