PureBytes Links
Trading Reference Links
|
Thanks Art. Now everything works fine. Here is the code using
international date format (yyyy-mm-dd).
There are lots of systems where the original signal disappears when
the new day of data is added to the data file. This way you can enter
shapes manually on a separate chart to keep track of those signals.
Title = Name() + " \\c25" + Interval(format=2) + " " + Date() +
"\\c-1 O=" + O + " H=" + H + " L=" + L + " C=" + C;
Plot( Close, "", 42, 64 );
GraphXSpace = 4;
Date_ = ParamStr("Date","2005-03-08"); /* yyyy-mm-dd */
yy_ = StrToNum(StrLeft (Date_,4) );
mm_ = StrToNum(StrMid (Date_,5,2));
dd_ = StrToNum(StrRight(Date_,2) );
Date_Num = (10000 * (yy_ - 1900)) + (100 * mm_) + dd_;
PlotShapes(shapeDownArrow * (DateNum()==Date_Num), colorRed, 0, H,
-15);
PlotShapes(shapeUpArrow * (DateNum()==Date_Num), colorBrightGreen,
0, L, -15);
----------
> Lesmond,
>
> You might try using ParamStr to the code you and Graham put
> together, change date in Param window and click outside the window
> to apply. Seem to work for me. I find the code interesting and
may
> be useful for moving plotshapes around. I wonder if any other
> shapes will become available such as alpha's i.e.a,b,c,d,x,y or
> maybe a programable label that could be placed anywhere of interest
> on price graph.
>
> Art F
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
|