StockFetcher Forums · General Discussion · Ratio of white to black candles<< >>Post Follow-up
dbyrt
70 posts
msg #51439
Ignore dbyrt
5/5/2007 11:21:05 PM

Anyone think of how to come up with a filter for finding stocks that exhibit more white candles than black (by %) over a period n?

There are filters that look at just a few recent candles, e.g., three white solders, but I want to set the number of days and look for stocks that have propotionate more whites than black. e.g, take a look at TUBR currently, (admitedly not a typical stock), but not had a down day yet!!

Help please.


rtucker
318 posts
msg #51445
Ignore rtucker
5/6/2007 10:02:34 AM

Something like this may be what you want.
Search forums on "Cegis white candles". he was a great programmer who worked
this problem out for someone long ago.


Fetcher[/******WHITE CANDLE DAYS*******/
set{Myupvol, count(close is greater close 1 day ago,1) * volume}
set{Sumup, sum(Myupvol,10)}
set{Totalwhites, count(close is greater than close 1 day ago,10)}
set{Avgvolwhites, Sumup / Totalwhites}

/*******RED CANDLE DAYS*********/
set{Mydownvol, count(close is less than close 1 day ago,1) * volume}
set{Sumdown, sum(Mydownvol,10}
set{Totalreds, count(close is less than close 1 day ago,10) }
set{Avgvolreds, Sumdown / Totalreds}

add column Totalwhites
add column Avgvolwhites
add column Totalreds

volume > 1000000 and close > 10

sort column 5 descending
]



dbyrt
70 posts
msg #51450
Ignore dbyrt
5/6/2007 1:37:59 PM

Thanks very much. Combined with the previous post from cegis that has helped a lot.


StockFetcher Forums · General Discussion · Ratio of white to black candles<< >>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 2016 - 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