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

[amibroker] Re: could someone repost TJs code??



PureBytes Links

Trading Reference Links

AddToComposite( Close,  "~SEC"+SectorID(0), "X" );
AddToComposite( Close, "~IND"+IndustryID(0),  "X" );
Buy=0;
 
// (run scan over all symbols - only once after data update - (say per
Day).
 
 
// Now ranking formula (for exploration):
Filter = Status("lastbarinrange");

sec = Foreign( "~SEC"+SectorID(0), "C" );
ind = Foreign("~IND"+IndustryID(0), "C");

AddTextColumn( SectorID(1), "Sector name" );
AddTextColumn( IndustryID(1), "Industry name");
AddColumn( ROC( sec, 14 ), "Sector ROC" );
AddColumn( ROC( ind, 14 ), "Industry ROC" );
AddColumn( ROC( Close, 14 ), "Symbol ROC" );

SetSortColumns( -5, -6, -7 ); 


jk


--- In amibroker@xxxxxxxxxxxxxxx, Herman <psytek@xxx> wrote:
>
> could someone repost TJs code??
> 
> thanks,
> herman
> 
> Thursday, February 1, 2007, 7:01:09 AM, you wrote:
> 
> > Tomasz,
> 
> > That AFL you posted is sweet. Thanks alot!!  Have you got any other
> > secet afl code? Keep up the good work.
> 
> 
> 
> > 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
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.19/663 - Release Date: 2/1/2007 2:28 PM