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

[amibroker] Buy/Sell add to watchlist



PureBytes Links

Trading Reference Links

What is wrog with my formula? Could any one help me please.....


The object is, each time when I run this, it replace the Watchlist 100
with the new stock eligible to BUY and it replace the Watchlist 90
with the new stock eligible to SELL.

Could any one help be with this.




CategoryRemoveSymbol( "", categoryWatchlist, 100); 
CategoryRemoveSymbol( "", categoryWatchlist, 90); 


Buy=Cross( MACD(), Signal() );
If (Buy== 0, CategoryAddSymbol( "", categoryWatchlist, 100 ), );


Sell=Cross(Signal(), MACD());
If (Sell== 0, CategoryAddSymbol( "", categoryWatchlist, 90 ), );




------------------------------------

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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