StockFetcher Forums · Filter Exchange · Bullish Wide range bar<< >>Post Follow-up
vitorleite
2 posts
msg #74076
Ignore vitorleite
5/4/2009 3:45:27 AM

Good morning
I have difficulties to code for finding WIDE RANGE BARS. These bars have the following requirements (In the case bellow I want to find Bullish wide range bars)
1-The open is in the lower 20% range
2-The high is in the upper 20 % range
3-This bar occur after AT LEAST one prior up bar
4-Now, the most difficult part: the range of the bar itself that bring it's name, wide range. I decide for the following definition: If the spread of the bar is above 1.8 times the average spread then we will term it as a wide spread bar. In this case the average spread, we can consider the average spread of the 30 bars that precede that bar.
4-If you have the code already by another definition, it's welcome.
can you help?

chetron
2,817 posts
msg #74078
Ignore chetron
modified
5/4/2009 6:57:22 AM

FOR STARTERS....

ADDED PRIOR 1 BAR

Fetcher[

SET{VAR1,HIGH - LOW}
SET{VAR3,VAR1 * 1.8}
SET{VAR4,COUNT(VAR1 > VAR3 30 DAY HIGH 1 DAY AGO,1)}


DRAW VAR4

ADD COLUMN VAR3

CLOSE ABOVE .1
VOLUME ABOVE 100000

VAR4 ABOVE .5
OPEN BELOW CLOSE
OPEN 1 DAY AGO BELOW CLOSE 1 DAY AGO
]



vitorleite
2 posts
msg #74079
Ignore vitorleite
5/4/2009 7:57:42 AM

Thank you!

However it seems that the condition "3-This bar occur after AT LEAST one prior up bar " is not coded here. There are some stocks that show a bullish wide range bar but the previous bar is a down bar.

StockFetcher Forums · Filter Exchange · Bullish Wide range bar<< >>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.