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

[EquisMetaStock Group] Re: interruptions in line charts on market holidays



PureBytes Links

Trading Reference Links

Peter,

Glad I could help!

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, Peter Fertig <pfertig@xxx> 
wrote:
>
> Preston,
>  
> it works perfect. Thanks a lot for your help.
>  
> Peter
> 
> --- pumrysh <no_reply@xxxxxxxxxxxxxxx> schrieb am So, 28.9.2008:
> 
> Von: pumrysh <no_reply@xxxxxxxxxxxxxxx>
> Betreff: [EquisMetaStock Group] Re: interruptions in line charts on 
market holidays
> An: equismetastock@xxxxxxxxxxxxxxx
> Datum: Sonntag, 28. September 2008, 20:28
> 
> 
> 
> 
> 
> 
> Peter,
> 
> Plot the HUI index on a chart.
> 
> Then plot the following as an indicator.
> 
> lastDay:=LastValue( DayOfMonth( ));
> Date:=DayOfMonth( )>=lastDay;
> y:=Date AND Alert(Date=0, 2);
> Gold:= Security( "XAU",C);
> If(y=1,Ref(gold, -1),gold) ;
> 
> Let me know how if this does the trick for you.
> 
> Preston
> 
> --- In equismetastock@ yahoogroups. com, Peter Fertig <pfertig@ > 
> wrote:
> >
> > Preston,
> > � 
> > I tried your proposal for the recent US Labour Day. In the 
function 
> input, I typed in both, the date of the Labour Day and the trading 
> day before. Nevertheless, as soon as I inserted gold (XAU=), there 
> was again a gap at the market holiday in the Amex Gold Bugs index. 
> > � 
> > But again, thanks for the tip.
> > � 
> > Peter
> > 
> > --- pumrysh <no_reply@xxxxxxxxxx s.com> schrieb am Fr, 26.9.2008:
> > 
> > Von: pumrysh <no_reply@xxxxxxxxxx s.com>
> > Betreff: [EquisMetaStock Group] Re: interruptions in line charts 
on 
> market holidays
> > An: equismetastock@ yahoogroups. com
> > Datum: Freitag, 26. September 2008, 4:34
> > 
> > 
> > 
> > 
> > 
> > 
> > Peter,
> > 
> > Here's a bit of code that addresses your problem:
> > 
> > D1:=Input("Day" ,1,31,30) ;
> > M1:=Input("Month" ,1,12,12) ;
> > Y1:= Input("Year" ,1900,2400, 2000);
> > D:=DayOfMonth( ); M:=Month(); Y:=Year();
> > Date:=D>=D1 AND M=M1 AND Y=Y1 OR Y>Y1 OR Y=Y1 AND M>M1;
> > Start:=Date AND Alert(Date=0, 2);
> > ValStart:=ValueWhen (1,Start, C);
> > Valstart;
> > 
> > The key is the Start variable. Notice that the alert condition is 
> > used to hold the expression true for the specified period. This 
was 
> a 
> > trick that Roy Larsen came up with to resolve the problem. 
> Something 
> > similar should work in your case.
> > 
> > Hope this helps,
> > 
> > Preston
> > 
> > --- In equismetastock@ yahoogroups. com, Peter Fertig <pfertig@ > 
> > wrote:
> > >
> > > Hello,
> > > 
> > > On of the advantages of MetaStock is that one could easily 
> compare 
> > differnet, but related instruments just by drag & drop. I wanted 
to 
> > compare the development of spot gold and the Amex gold bugs 
index. 
> > However, as gold is trading also on US market holidays, and the 
HUI 
> > index is not trading on US market holidays, dragging the line of 
> the 
> > HUI index into the gold chart resulted in a line with 
interruptions 
> > on those days, the US were out for a holiday. Is there any way to 
> get 
> > a smooth line, which is not interrupted on those days?
> > > 
> > > Best regards
> > > Peter
> > > 
> > > ____________ _________ _________ _________ _________ __
> > > Do You Yahoo!?
> > > Sie sind Spam leid? Yahoo! Mail verf�¼gt �¼ber einen 
> herausragenden 
> > Schutz gegen Massenmails. 
> > > http://mail. yahoo.com
> > >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ____________ _________ _________ _________ _________ __
> > Do You Yahoo!?
> > Sie sind Spam leid? Yahoo! Mail verf�¼gt �¼ber einen 
herausragenden 
> Schutz gegen Massenmails. 
> > http://mail. yahoo.com
> >
> 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden 
Schutz gegen Massenmails. 
> http://mail.yahoo.com
>



------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

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