| 
 PureBytes Links 
Trading Reference Links 
 | 
without the code to check I can only assume you are using something like this
buy = C>EMA(C,20);
which will give you an arrow for every bar that C > ema
You could limit this to just the first occurence by using Cross function
buy = cross( c, ema(c,20) );
--
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 11/6/05, cstdc5588 <cstdc5588@xxxxxxxxx> wrote:
> Hi all,
>
> I wrote a program to scan a list of stocks. The arrows of buy or sell
> appear when conditions satisfy.  But these arrows appear continuouly in
> the same direction.  I want to limit the number of arrows to only one
> at the initial time and then a new arrow appears when the direction
> changes.  I don't want to have so many arrows afterwards.  Could you
> please help me with this?
>
> Thanks in advance.
>
> Robert
------------------------ 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/
 
 |