[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



Georg, the "Lunar indicator MkVI" at
http://users.bigpond.com/prominex/pegasus.htm#metastock
will plot Full/New Moon signals into the next ten millennia and 
beyond.

The restriction to plotting only current/past signals comes from:

1) MetaStock's limitation - plots are restricted to the last bar of 
available data;

2) Lack of ingenuity from the user.  ;)


jose '-)



--- In equismetastock@xxxxxxxxxxxxxxx, Georg Mayer <ylem_mayer@xxxx> 
wrote:
> Preston,
> 
> unfortunately José Silva`s indicator plots only past full
> and new moons ... well, Preston, that's definitely not your fault
> :-) ... thanks again. 
> 
> Best Regards
> 
> Georg
> 
> 
> 
> _______________________________________________
> 
> { Full/New Moon signals indicator MkVI }
> { Accurate to within 1 minute per 69 years }
> { ©Copyright 2002-2004 jose silva }
> { For personal use only }
> { josesilva22@xxxx }
> 
> { Plots +1 signal on Full Moon; -1 on New Moon }
> { If FM/NM falls on a holiday or weekend,
>   signal is plotted on the nearest trading day }
> { Warning: will not plot last FM/NM signal
>    until it is confirmed on next trade day }
> 
> { Input your world time zone }
> TZ:=Input("Your Time Zone?  (-12 to +12hrs)",
>  -12,12,10);
> 
> { Lunar cycle }
> LunarMonth:=29.530589;
> Offset:=7.254621;
> 
> { Calendar }
> 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);
> 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)))))))))));
> CurrentDay:=y+m+DayOfMonth()-TZ/24-Offset;
> 
> { Full/New Moon }
> FM:=Frac(CurrentDay/LunarMonth);
> NM:=Frac(FM+0.5);
> 
> { Plot in own window below chart }
> (PeakBars(1,FM,.01)=0)-(PeakBars(1,NM,.01)=0)
> 
> 
> _______________________________________________________
> 
> 
> 
> 
> --- pumrysh <no_reply@xxxxxxxxxxxxxxx> wrote:
> 
> Georg,
> 
> Wrong! It can be done. Go to Jose's site for the full moon
> indicator, then follow Dusant's suggestion for using an if
> statement. This is then plotted as an overlay on your price plot.
> This can also be done as an expert.
> 
> Preston









------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/