PureBytes Links
Trading Reference Links
|
Here is the code. It works ok but there is one problem:
when you go to "parameters" window and change the date the arrows
will disappear from the screen. To make them visible again you have
to open the formula in the editor and click on "apply indicator"
button. Any solution to this, anyone?
BTW, if you hit the "reset" button in the parameters window it will
put the arrows on the screen at the default date as specified in the
formula (2005-03-07).
Title = Name() + " " + Interval(format=2) + " " + Date();
Plot( Close, "", 42, 64 );
GraphXSpace = 4;
Date_Num = ParamDate( "Date", "2005-03-07", 0);
PlotShapes(shapeDownArrow * (DateNum()==Date_Num), colorRed, 0, H,
-15);
PlotShapes(shapeUpArrow * (DateNum()==Date_Num), colorBrightGreen,
0, L, -15);
---------
> this is good but what if i wanted to place the date and make it
> selectable how would i convert the below code.
> I would need to param in the date somehow and then convert this to a
> number ?
> any ideas ?
>
> Moz
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/
|