PureBytes Links
Trading Reference Links
|
Yuki,
for the visual part you may use the
BARS=4;
C1= Month()!=Ref(Month(),-BARS);
Buy=Cross(StochD(),50);// YOUR BUY CONDITION
Plot(0.95*L,"",0,1);
Plot(C,"",1,64);
PlotShapes(C1*shapeSquare,colorBlue);// FIRST 4 BARS
PlotShapes(Buy*shapeUpTriangle,colorYellow);// BUY
PlotShapes(C1*Buy*shapeUpArrow,colorBlack);// BUY IN THE FIRST 4 BARS
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> Is there any way to return, say, the first 4 *trading* days of a
> month? Day() returns the day of the month of course, but as far as
I
> know without regard to whether it was an actual trading day.
>
> To be clear, if a month began on a Saturday, I would be interested
in
> returning Monday through Thursday, unless one of those days happened
> to be a holiday as well.
>
> 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/
|