StockFetcher Forums · General Discussion · Fibonacci retracements (extensions)<< >>Post Follow-up
bunkerdoo
3 posts
msg #37039
Ignore bunkerdoo
7/24/2005 8:20:49 AM

Is it possible to scan for Fibonacci retracements (Extensions) of 1 or more, e.g. 1.27, 1.618 or 2.618?


hosselo
2 posts
msg #158798
Ignore hosselo
3/13/2022 10:17:21 AM

I'm also interested to know the answer, if any expert can help..

xarlor
585 posts
msg #158799
Ignore xarlor
3/13/2022 11:35:32 AM

I posted a Fibonacci filter a couple years ago. It may be a starting point or at least give you some ideas.

Here is the filter, but you can read the commentary on it with the link above.

Fetcher[
average volume(30) > 1234567
chart-time is 1 year
/* Set the Fib values at 23.6%, 38.2%, 50%, 61.8%, and 78.6%*/

set{Hi,high 1-year high}
set{Lo,low 1-year low}
set{Vdiff,Hi - Lo}
set{x1,Vdiff * .236}
set{x2,Vdiff * .382}
set{x3,Vdiff * .50}
set{x4,Vdiff * .618}
set{x5,Vdiff * .786}
set{Fib1, Hi - x1}
set{Fib2, Hi - x2}
set{Fib3, Hi - x3}
set{Fib4, Hi - x4}
set{Fib5, Hi - x5}

/* Check if price touched any of the Fib lines 1 day ago while that candle's body is above the Fib line */

set{touch1a,count(low 1 day ago <= Fib1,1)}
set{touch1b,count(close 1 day ago > fib1,1)}
set{touch1c,count(open 1 day ago > fib1,1)}
set{touch1d,touch1a * touch1b}
set{Touch1,touch1c * touch1d}

set{touch2a,count(low 1 day ago <= Fib2,1)}
set{touch2b,count(close 1 day ago > fib2,1)}
set{touch2c,count(open 1 day ago > fib2,1)}
set{touch2d,touch2a * touch2b}
set{Touch2,touch2c * touch2d}

set{touch3a,count(low 1 day ago <= Fib3,1)}
set{touch3b,count(close 1 day ago > fib3,1)}
set{touch3c,count(open 1 day ago > fib3,1)}
set{touch3d,touch3a * touch3b}
set{Touch3,touch3c * touch3d}

set{touch4a,count(low 1 day ago <= Fib4,1)}
set{touch4b,count(close 1 day ago > fib4,1)}
set{touch4c,count(open 1 day ago > fib4,1)}
set{touch4d,touch4a * touch4b}
set{Touch4,touch4c * touch4d}

set{touch5a,count(low 1 day ago <= Fib5,1)}
set{touch5b,count(close 1 day ago > fib5,1)}
set{touch5c,count(open 1 day ago > fib5,1)}
set{touch5d,touch5a * touch5b}
set{Touch5,touch5c * touch5d}

set{z1,Touch1 + Touch2}
set{z2,z1 + Touch3}
set{z3,z2 + Touch4}
set{Trigger,z3 + Touch5}
Trigger > 0

/* The bounce: Green day following a 3-day declining close */
close > high 1 day ago
close 1 day ago < close 2 days ago for last 3 days

draw price line at hi
draw price line at Fib1
draw price line at Fib2
draw price line at Fib3
draw price line at Fib4
draw price line at Fib5
draw price line at lo

do not draw Trigger

/* Debugging

add column hi
add column Vdiff
add column fib1
add column close 1 day ago
*/
]



StockFetcher Forums · General Discussion · Fibonacci retracements (extensions)<< >>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.