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

[EquisMetaStock Group] Re: display dates/events as vertical lines



PureBytes Links

Trading Reference Links


Dusant,

receive my thank for your kind help and hint. I did not really get what this Day-Counter is good
for to solve my problem, but will check it out ...

And again to the group: So it is really true, MetaStock can't plot a set of dates as vertical
lines? Would be sad ... and definitely a handicap the MetaStock-programmers should get rid of in
the next update.

Best Regards

Georg



--- Dusant <cooldush@xxxxxxxxx> wrote:

> Georg,
>  
> As far as my knowledge goes, it is not possible to make those annotations in Metastock.
>  
> But plotting the cycle lines is possible. You would need to determine the calendar days between
> each such occurrence.
>  
> You need to specify the start date, with the syntax something like this:
> 
> ---------------------------------
> 
> day1:=Input("EnterFirstDate-mmddyy",010100,123199,010101);
> dh1:=BarsSince(DayOfMonth()=Int(day1/100)-(Int(day1/10000)*100) AND Month()=Int(day1/10000) AND
> Year()=If(Mod(day1,100)>30,1900+Mod(day1,100),2000+Mod(day1,100)));
> 
> ---------------------------------
> 
> Then use a calendar days counter for counting the number of days:
> 
> ---------------------------------
> 
> { Day counter from 1/1/0001, Gregorian calendar }
> { Count is independent of any missing chart data }
> { ©Copyright 2003-2004 Jose Silva }
> { josesilva22@xxxxxxxxx }
>  
> limit:=Input("Count Calendar Days From Year",1,2100,1980);
>  
> LimLeap:=Frac(limit/4)=0 AND Frac(limit/100)<>0
>  OR Frac(limit/400)=0;
> NoCount:=limit*365+Int(limit/4)
>  -Int(limit/100)+Int(limit/400)-LimLeap;
> leap:=Frac(Year()/4)=0 AND Frac(Year()/100)<>0
>  OR Frac(Year()/400)=0;
> y:=Year()*365+Int(Year()/4)
>  -Int(Year()/100)+Int(Year()/400)-NoCount;
> m:=
>  If(Month()=2,31-leap,
>  If(Month()=3,59,
>  If(Month()=4,90,
>  If(Month()=5,120,
>  If(Month()=6,151,
>  If(Month()=7,181,
>  If(Month()=8,212,
>  If(Month()=9,243,
>  If(Month()=10,273,
>  If(Month()=11,304,
>  If(Month()=12,334,
>  -leap)))))))))));
> DayNr:=y+m+DayOfMonth();
>  
> DayNr
> 
> ---------------------------------
> 
> The plots are done when a condition is true like this:
> if(condition, 1, 0); You need to plot it like a histogram.
>  
> My knowledge of astro is a big zero, therefore, I could not assist you further.
>  
> However, this should put you on track.
>  
> Dusant
>   ----- Original Message ----- 
>   From:   Georg Mayer   
>   To: equismetastock@xxxxxxxxxxxxxxxx   
>   Sent: Tuesday, November 16, 2004 1:19   PM
>   Subject: [EquisMetaStock Group] display   dates/events as vertical lines
>   
> 
> Hello group,
> 
> most probably my problems were solved   long time ago, but I am still wondering if it is
> possible to
> display in   MetaStock a set of dates, e.g.
> 
> 09/21/2004 MA 90° GC
> 09/26/2004 ME   90° GC
> 10/26/2004 VE 90° GC
> 12/18/2004 SA 0° GC
> 01/07/2005 ME 0°   GC
> 01/07/2005 VE 0° GC
> 02/02/2005 MA 0° GC
> 03/03/2005 ME 90°   GC
> 03/17/2005 SA 90° GC
> 03/20/2005 VE 90° GC
> 05/31/2005 VE 180°   GC
> 
> as simple vertical lines. To explain myself better, please have a   look at the attached chart
> (generated by Dynamic Trader 4).
> 
> (2) And   is there a formula script or a add-in to display full- and new-moons as   symbols or
> vertical
> lines?
> 
> Thank you very much for any   hint.
> 
> Best Regards
> 
> Georg
> 			
> ---------------------------------
> Do you Yahoo!?
>  The all-new My Yahoo! – Get yours free!    



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

<*> 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/