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

[amibroker] Re: Display of Trading Arrows



PureBytes Links

Trading Reference Links


Try this. You can also change the date from "parameters":


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-11"); /* 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), 32, 0, H, -15);
PlotShapes(shapeUpArrow *   (DateNum()==Date_Num), 43, 0, L, -15);


--- In amibroker@xxxxxxxxxxxxxxx, "ct1942" <ct1942@xxxx> wrote:
> 
> In the past, the red trading arrows displayed above price and
pointed
> down and the green arrows displayed below price and pointed up. I
just
> noticied that they are both being displayed above price.
> 
> What have I done to make this happen and how can I get the green
> arrows to display below price?
> 
> Thanks
> 
> Cordell






------------------------ 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/