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

RE: [amibroker] Does your eSignal data match your QP2 data???



PureBytes Links

Trading Reference Links

Yuki,

What about this?

Fri=DayOfWeek()==5;
Maand=Month()==2 OR Month()==5;//Or . . 
Nrdag=Day()>7 AND Day()<15;
//Jaar = Year()== 2004;

SecFriMonth=Fri AND Maand AND Nrdag;
//AND Jaar;

Plot(C,"",1,2);
PlotShapes(IIf(Cond,shapeDigit2,shapeNone),colorGreen);

--- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> How do I code, for example, the second Friday in a particular month
> or months?  Say the second Fridays in March, June, September and
> December.
> 
> Thanks,
> 
> Yuki




Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/