Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 5/6/2005(UTC) Posts: 6
|
How can I set up an EA to do the following
1. plot a graphic above or below a bar when it is "X" days from a specific date.
- I can set up the start day,start month and start year -- with input boxes
2. then I would like to have a input box to specify the number of days ("X") to count forward:
- if it is too complicated to specify a variable for X, then I could use a set number, for e.g. 3.
3. then the graphic would plot on that day.
Thanks for your help.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
Play around with this:
a1:=Input("day",1,30,7); a2:=Input("month",1,12,1); a3:=Input("year",1990,2010,2009); a4:=Input("Bars",1,50,10); a5:=BarsSince((DayOfMonth()=a1) AND (Month()=a2) AND (Year()=a3)); a6:=(a4=a5); a6
|
|
|
|
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.