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

Re: [amibroker] Creating table for ExtraData



PureBytes Links

Trading Reference Links

Hello All:
I had to rearrange some of the code below to what follows to make it
work.  It appears the first "{" in each 'for' statement
was out of place in my cut and pasted copy.
// Explore to
demo GetExtraDate() and provide for easy sorting 
Buy=Sell=Short=Cover=0;

xDataListNum="AnnDividend,Shares,SharesFloat,SharesOut,SharesShort,TTMsales,Beta,TTMEps,HiPERange,LoPERange,
PEG,InstHolds,LTDebtToEq,CashFlowPerShare,ROE,TTMSales,Yr1EPSGrowth,Yr5EPSGrowth,Yr1ProjEPSGrowth,
Yr2ProjEPSGrowth,Yr3to5ProjEPSGrowth,BookValuePerShare,HasOptions";

xDataListArrays =
"QRS,EPSRank";

Filter =
Status("LastBarInTest");

SetOption("NoDefaultColumns",False);

for(
Col=0;

                        (xData=StrExtract(
xDataListNum, Col))!=
"";
Col++) 
                
{              
                                AddColumn( GetExtraData(xData), xData, 1.3, 1); 
                 }
for( Col=0; 
                        (xData=StrExtract( xDataListArrays, Col))!= ""; Col++) 
                {
                                AddColumn( LastValue(GetExtraData(xData)), xData, 1.3, 1); 
                }
At 07:05 PM 11/29/2003, you wrote:
Here is an Exploration to create a table for QuotePlus ExtraData, allows for easy sorting. Watch for line wraps!
herman

// Explore to demo GetExtraDate() and provide for easy sorting 
Buy=Sell=Short=Cover=0; 
xDataListNum="AnnDividend,Shares,SharesFloat,SharesOut,SharesShort,TTMsales,Beta,TTMEps,HiPERange,LoPERange,PEG,InstHolds,LTDebtToEq,CashFlowPerShare,ROE,TTMSales,Yr1EPSGrowth,Yr5EPSGrowth,Yr1ProjEPSGrowth,Yr2ProjEPSGrowth,Yr3to5ProjEPSGrowth,BookValuePerShare,HasOptions"; 
xDataListArrays = "QRS,EPSRank"; 
Filter = Status("LastBarInTest"); 
SetOption("NoDefaultColumns",False); 
for( Col=0; (xData=StrExtract( xDataListNum, Col))!= ""; 
    { Col++) AddColumn( GetExtraData(xData), xData, 1.3, 1); }
for( Col=0; (xData=StrExtract( xDataListArrays, Col))!= ""; 
    { Col++) AddColumn( LastValue(GetExtraData(xData)), xData, 1.3, 1); }


 
Yahoo! Groups Sponsor 
ADVERTISEMENT


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 the Yahoo! Terms of Service. 


Attachment: Description: "<<< text/plain; charset="us-ascii"; format=flowed: Unrecognized >>>"