Rank: Advanced Member
Groups: Registered, Registered Users Joined: 10/15/2005(UTC) Posts: 31 Location: The Netherlands
|
http://forum.equis.com/viewtopic.php?t=761
I actually have the same question as the man who wrotes above. I have Metastock 9.0 prof. and i would also like to programm vertical lines from a certain date. If i see for example a significant low, i would like to insert a formule which asks me for the date. After is typed in the date the formula has to draw vertical lines 50 bars later, 60 bars later and 120 bars later. Is something like this possible?
Thanks in advance for your reply.
PS. Is it also possible to draw lines like line studies, which does not prompt for scale options? When i insert a fibonacci retracement lines it is easy to draw more of them, without having problems with scale. I would like the same for Gan price projections, so i made a formule which return horizontal lines. When i scroll left and right the alignment is not as beautifull as the standard fibonacci line study. Is there a solution for this problem? I hope i explained it clearly.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 10/15/2005(UTC) Posts: 31 Location: The Netherlands
|
Hello,
i allready found a solution for the first part of my problem. Jose had just replied the message below this one. Based on his formula i made the following:
[code:1:7feee01123]day:=Input("Day of month",1,31,11);
mth:=Input("Month",1,12,3);
yr:=Input("Year",1800,2200,2003);
period:=Year()>yr OR (Year()=yr AND (Month()>mth OR Month()=mth AND DayOfMonth()>=day));
date:=period AND Alert(period=0,2);
date1:=Ref(date,-50);
date2:=Ref(date,-60);
date3:=Ref(date,-120);
date;
date1;
date2;
date3;[/code:1:7feee01123]
That leaves me with one more problem. Like i wrote in my last message, i have problems with the scale in Metastock when i program lines. This is not the fact with line studies which are readily availabe. Is there some kind of solution that i also can programm line studies in such a manner of the fibonacci? The problem is that the indicator seems out of sync when i scroll to the right or left of when i add the same indicator again.
Kind regards,
Arne
|
|
|
|
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.