|
This came from some of Dan Clark's work. On an SCAN where you're screening the BUY candidates. For a quick test I would choose a short watch list in your Filter selection instead of ALL. The "" will add the current ticker into in this case WL 3. You can assign a label to Watchlist and use a Param function or hard code as Dan did here. Might be safer to hard code. YourCondition = LastValue( MACD() < 0 ); // replace with yoursif ( YourCondition ){ CategoryAddSymbol ( "", categoryWatchlist, 3 );} Buy = Sell = 0; // this allows a SCAN to be run, otherwise it will ask you for BUY,SELL,SHORT,COVER// The above works on a SCAN of a small watchlist, with N last days =1; // ************************** Hope it helps. Lots of examples in function definition area.
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
|
- Re: [amibroker] add scan results to wathlist programmaticall... Joe Landry
- Re: [amibroker] add scan results to wathlist programmat... Joe Landry
- Re: [amibroker] add scan results to wathlist progra... hongyu lu
- Re: [amibroker] add scan results to watchlist p... Joe Landry
- [amibroker] Re: add scan results to watchli... marketmonk777
- Re: [amibroker] Re: add scan results t... Joe Landry
- RE: [amibroker] Re: add scan resul... MarketMonk777
- RE: [amibroker] Re: add scan results t... Dan Clark
- RE: [amibroker] add scan results to wathlist pr... Dan Clark
