StockFetcher Forums · General Discussion · Inside Day<< >>Post Follow-up
papagatorga
124 posts
msg #45252
Ignore papagatorga
6/24/2006 4:53:05 PM

Anyone know how to write a filter to identify an Inside Day?? Thanks in advance


TheRumpledOne
6,411 posts
msg #45260
Ignore TheRumpledOne
6/24/2006 11:26:11 PM

Fetcher[
/* inside day open/close*/

set{xtop1, max( close 1 day ago, open 1 day ago) }
set{xbottom1, min( close 1 day ago, open 1 day ago) }

set{xtop, max( close , open ) }
set{xbottom, min( close , open ) }

xtop < xtop1
xbottom > xbottom1

close above 20

]



Fetcher[
/* inside day low/high*/

set{xtop1, max( high 1 day ago, low 1 day ago) }
set{xbottom1, min( high 1 day ago, low 1 day ago) }

set{xtop, max( high , low ) }
set{xbottom, min( high , low ) }

xtop < xtop1
xbottom > xbottom1

high above 20

]



Fetcher[
/* inside day open/close low/high*/

set{xtop1, max( open 1 day ago, close 1 day ago) }
set{xbottom1, min( open 1 day ago, close 1 day ago) }

set{xtop, max( high , low ) }
set{xbottom, min( high , low ) }

xtop < xtop1
xbottom > xbottom1

high above 20

]



HTH.


papagatorga
124 posts
msg #45268
Ignore papagatorga
6/25/2006 5:06:54 PM

Rumpled One - thank you as always you seem to be there for me when I ask for help. It's been over a year since I have asked and I expected you to be one of the first. May my God bless you for your willingness to help others. Especially in your investment endeavors.


StockFetcher Forums · General Discussion · Inside Day<< >>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.