PureBytes Links
Trading Reference Links
|
Make life easier for yourself and use separate lines for each
condition, and include enough requirements in the statement to define
what you want
PlotShapes( shapeUpArrow*Buy, colorGreen, 0, L, -10 );
PlotShapes( shapeDownArrow*Sell, colorRed, 0, H, -10 );
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
On 12/6/05, wonet2001 <wonet2001@xxxxxxxxx> wrote:
> This is part of T3 code which is supposed to plot
> up arrow when T3(3> T3(5), and
> down arrow when T(3) < T3(5),
> it plots bunch of green circles on every position,
> I didn't see anything wrong here,
> please help me , thanks
>
> CODE:
>
> Plot(T3(C,3),"T3(3)",colorGreen,1);
> Plot(T3(C,5),"T3(5)",colorBlue,1);
>
> Buy=Cross(T3(C,3),T3(C,5));
> Sell=Cross(T3(C,5),T3(C,3));
> Buy=ExRem(Buy,Sell);
> Sell=ExRem(Sell,Buy);
>
>
> shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
> PlotShapes( shape, IIf( Buy, colorGreen, colorRed ));
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/
|