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

*****SPAM***** Re: [amibroker] Sorting Top 20% stocks



PureBytes Links

Trading Reference Links

SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam.  The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM: 
SPAM: Content analysis details:   (5.70 hits, 5 required)
SPAM: REFERENCES         (-0.5 points) Has a valid-looking References header
SPAM: FROM_EGROUPS       (-0.5 points) Appears to be from yahoo groups
SPAM: NOSPAM_INC         (-0.2 points) Where are you working at?
SPAM: NO_REAL_NAME       (1.3 points)  From: does not include a real name
SPAM: USER_AGENT_OE      (0.2 points)  X-Mailer header indicates a non-spam MUA (Outlook Express)
SPAM: GROUPS_YAHOO_1     (-0.5 points) BODY: Yahoo! Groups message
SPAM: SPAM_PHRASE_01_02  (0.5 points)  BODY: Spam phrases score is 01 to 02 (low)
SPAM:                    [score: 1]
SPAM: QUOTED_EMAIL_TEXT  (-0.8 points) BODY: Contains what looks like a quoted email text
SPAM: AWL                (6.2 points)  AWL: Auto-whitelist adjustment
SPAM: 
SPAM: -------------------- End of SpamAssassin results ---------------------

Hi, just a tip: I think you should reformulate what you are 
trying to achieve or solve. IMHO AddToComposite is
not necessary for this.
UM


----- Original Message ----- 
From: "Michael.S.G." <OzFalcon@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, June 25, 2003 3:35 AM
Subject: [amibroker] Sorting Top 20% stocks


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I would like to be able to make a selection of stocks - Based on  Top
> 20% Turnover.
> 
> After Looking at the UserGuide and Downloadable AB Archives I have
> created the following AFL..
> Using the AddToComposite function and running a Scan then Explore,
> I can't seem to be able to get the AddToComposite part to work.
> 
> Perhaps I am tring to make a Square Wheel Roll, If there is an easier
> way of Ranking/Selection - Please do tell!
> 
> Also, I have AA set to "Last 1 Quotation".
> 
> /* Aimed Percentage to select (APS %) */
> APS = 20;
> AP = ((100 - aps)/100);
> 
> Filter = 1;
> 
> TurnOver = MA(Close * Volume,32);
> AddColumn(TurnOver, "TurnOver", 1.2);
> AddColumn(AP, "AP", 1.2);
> 
> /* AddToComposite statements are for Automatic Analysis -> Scan */
> /* add Close price to our index OHLC fields */
> 
> /* Make ATC a Highest Value - Doesn't Work... */
> FC =  Foreign( "~MyIndex", "V");
> aTO = IIf (TurnOver > FC,(Turnover - fc), 0);
> // Can't figure out why this doesnt
> // increase V. Perhaps Circular?
> AddToComposite(aTO, "~MyIndex", "V" );
> 
> /* add one to open intest field (we use this field as a counter) */
> AddToComposite( 1, "~MyIndex", "I" );
> 
> Buy = 0; // required by scan mode
> 
> /* this part is for Indicator Builder */
> // Graph0 = Foreign( "~MyIndex", "C" )/Foreign( "~MyIndex", "I" );
> 
> FT = Foreign( "~MyIndex", "V");
> IT = Foreign( "~MyIndex", "I" );
> AddColumn(FT,"FT-ForeignTally",1.2);
> AddColumn(IT,"CounterTally",1.2);
> AddColumn(aTO,"To Add",1.2);
> 
> //Filter = Turnover > (Foreign( "~MyIndex", "V" ) * ap);
> 
> 
> Any Help Appreciated.
> KR
> Michael.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/