StockFetcher Forums · Filter Exchange · /* TRO - ABOVE BELOW */<< >>Post Follow-up
TheRumpledOne
6,411 posts
msg #58261
Ignore TheRumpledOne
modified
12/18/2007 2:09:03 PM

Fetcher[
/* TRO - ABOVE BELOW */

SYMLIST(AAPL)

set{ X1 , 190 }

set{ A1, COUNT( CLOSE ABOVE X1, 100 ) }
set{ B1, COUNT( CLOSE BELOW X1, 100 ) }
set{ C1, days( CLOSE ABOVE X1, 100 ) }
set{ D1, days( CLOSE BELOW X1, 100 ) }

ADD COLUMN X1
ADD COLUMN A1 {above}
ADD COLUMN B1 {below}
ADD COLUMN C1 {days A}
ADD COLUMN D1 {days B}
ADD COLUMN SEPARATOR

sort column 6 descending
]



You can set X1 to just about anything you like: numbers, indicators, etc...

You can use something other than CLOSE in the A1, B1, C1 and D1 set statements, too.

Just a tool.







TheRumpledOne
6,411 posts
msg #58263
Ignore TheRumpledOne
12/18/2007 2:50:17 PM

Fetcher[
/* TRO - ABOVE BELOW ma50 */

SYMLIST(AAPL)

set{ X1 , ma(50) }

set{ A1, COUNT( CLOSE ABOVE X1, 100 ) }
set{ B1, COUNT( CLOSE BELOW X1, 100 ) }
set{ C1, days( CLOSE ABOVE X1, 100 ) }
set{ D1, days( CLOSE BELOW X1, 100 ) }

ADD COLUMN X1 {ma50}
ADD COLUMN A1 {above}
ADD COLUMN B1 {below}
ADD COLUMN C1 {days A}
ADD COLUMN D1 {days B}
ADD COLUMN SEPARATOR

sort column 6 descending
]



Example using ma(50)

raymagnetic
1 posts
msg #58334
Ignore raymagnetic
12/20/2007 12:07:36 PM

What does this filter show?

TheRumpledOne
6,411 posts
msg #58355
Ignore TheRumpledOne
modified
12/20/2007 6:16:32 PM

It shows how many days the price was above/below the value of X during the last 100 days and how many days since it was above/below the value of X.





StockFetcher Forums · Filter Exchange · /* TRO - ABOVE BELOW */<< >>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.