| SFMc01 358 posts
 msg #63527
 - Ignore SFMc01
 | 6/9/2008 9:12:54 PM 
 How does one define a Doji?  Especially when it comes to programming StockFetcher.   Does the close have to exactly equal the open? Are there "rules" that have been developed that seem to be reliable? What about ... the open must be within 1% of the close? Or, 1/2% ? If possible, I'd really not like to have to learn the hard way ... by experience.  Anything seem to work that you would share with me?
 
 Thanaks .... Steve
 
 
 
 | 
| ludowillems 111 posts
 msg #63534
 - Ignore ludowillems
 | 6/10/2008 9:00:00 AM 
 Hi Steve,
 Have a look at
 http://forums.stockfetcher.com/stockdb/fetcher?p=candle
 
 
 | 
| WALLSTREETGENIUS 983 posts
 msg #63536
 - Ignore WALLSTREETGENIUS
 modified
 | 6/10/2008 9:01:57 AM 
 - DELETED BY THEMIGHTYRIGGS HIMSELF -
 
 
 | 
| springhill 74 posts
 msg #63572
 - Ignore springhill
 modified
 | 6/11/2008 12:51:03 AM 
 Here is some code that will find most small body candles.
 
 doji, hangman, hammer, abandoned baby, morning star etc
 
 Play with the paramaters to filter to suit
 
 Fetcher[
 /* DOJI and other small body candle finder */
 /* REMEMBER - dojis are an indicator that a reversal MIGHT occur*/
 /* NOT that the reversal WILL occur!!!!!  - So, use other confirmations*/
 
 /* Set a few things here to get relationship between high, low, open and close */
 
 set {hilo, high - low}
 set {opclcalc, close - open}
 set {hlocratio, opclcalc / hilo}
 set {hlocpct, hlocratio * 100}
 set {abshlocpct, abs(hlocpct)}
 
 show stocks where price is between 1 and 200
 offset is 0
 
 /* Change numeric paramater higher or lower to find size of doji body desired */
 abshlocpct < 10
 
 /* Change decreasing to increasing  to find doji, hammers, morning star  etc at top */
 /* Change increasing to decreasing to find doji, hammers, hangman etc at bottom*/
 ema(3) decreasing last 3 days
 
 volume(60) > 1000000
 
 add column hilo
 add column opclcalc
 add column hlocratio
 add column abshlocpct
 
 /* Set  sort field to hlocratio to sort from low red candle  to high green candle*/
 /* Set  sort field to abshlocpct to sort all candles in numeric order regardless of red or green */
 sort by hlocratio ascending]
 
 have fun with it
 
 Sorry I couldn't figure out how to make it clickable.  Maybe some can help me? tnx
 
 
 | 
| chetron 2,817 posts
 msg #63576
 - Ignore chetron
 modified
 | 6/11/2008 6:39:39 AM 
 clickable...
 
 doesn't like your notes below???????
 
 /* DOJI and other small body candle finder */
 /* REMEMBER - dojis are an indicator that a reversal MIGHT occur*/
 /* NOT that the reversal WILL occur!!!!! - So, use other confirmations*/
 
 /* Set a few things here to get relationship between high, low, open and close */
 
 
 
 
 
 
 
 
 
 
 
 
 | 
| chetron 2,817 posts
 msg #65002
 - Ignore chetron
 | 7/14/2008 9:37:31 PM 
 maybe even ....
 
 
 
 
 
 
 | 
| chetron 2,817 posts
 msg #65663
 - Ignore chetron
 modified
 | 7/31/2008 9:48:04 PM 
 maybe....
 
 
 
 
 
 | 
| chetron 2,817 posts
 msg #65701
 - Ignore chetron
 | 8/1/2008 9:17:32 AM 
 even....
 
 
 
 
 
 |