[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Re: Bar Counts



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, gildone <no_reply@xxx> wrote:
>
> Is it possible to display fibonacci number bar counts on a chart 
> starting from any bar that is the "1" bar, then counting forward 
two bars would be the "3" bar, then "5", "8", "13" etc.
>

I am working on some code that does this -- any comments?
-- this displays as a binary type line (i.e. 0 or +1).
I would like to display this differently, possibly with a symbol.
Also, I would like to do the analysis from different starting dates.

{start is day 1, then 2 days later is fib3, 4 days later is fib5}

sday:=Input("day",1,31,1);
smon:=Input("month",1,12,7);
syr:=Input("yr",1900,2100,2008);

start:=(DayOfMonth()=sday AND Month()=smon AND Year()=syr);

fib3:=(BarsSince(start)=2);
fib5:=(BarsSince(start)=4);

fib3;
fib5;



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/