PureBytes Links
Trading Reference Links
|
Thank you very much, Jose
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
|