logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
nisaf  
#1 Posted : Sunday, September 28, 2008 2:09:12 PM(UTC)
nisaf

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 5/6/2005(UTC)
Posts: 6

I'm trying to develop an indicator or EA that shows the fib time counts starting from a selected date.

I have this code, but would like to display the selected points differently on the chart- maybe a symbol or something else that can be done via an EA.

Also, would like to be able to plot the counts starting from multiple dates on the chart.

Here is my code so far:

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;

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.