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

RE: [EquisMetaStock Group] EXPLORATION



PureBytes Links

Trading Reference Links

Thank you very much, Jose
 


From: equismetastock@xxxxxxxxxxxxxxx [mailto:equismetastock@xxxxxxxxxxxxxxx] On Behalf Of Jose Silva
Sent: Monday, May 02, 2005 8:51 AM
To: equismetastock@xxxxxxxxxxxxxxx
Subject: Re: [EquisMetaStock Group] EXPLORATION

Hitendra, try this MS indicator code:

==========================
Date at Event
==========================
---8<--------------------------

{ yymmdd Date at event signals }
{ http://www.metastocktools.com }

{ Plot choice }
plot:==Input("Event  [1]yymmdd date,  [2Signal",
1,2,1);

{ Event example }
event:==Cross(Mov(C,8,E ),Mov(C,25,S));

{ Date in yymmdd format }
y:==If(Year()<2000,Year()-1900,Year()-2000);
m:==Month()*100;
d:=ÚyOfMonth()*10000;
yymmdd:==y+m+d;

{ yymmdd at event }
eventDate:==ValueWhen(1,event,yymmdd);

{ Plot in own window }
If(plot==1,eventDate,event)

---8<--------------------------


jose '-)
http://www.metastocktools.com



Yahoo! Groups Links