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

RE: [amibroker] Creating table for ExtraData > ERG



PureBytes Links

Trading Reference Links


<SPAN 
class=953253103-30112003>Utilizing this then, can someone be kind enough to do 
the sort and rank code for the ERG indicator and post the 
.afl?
<SPAN 
class=953050302-24112003><FONT face="Times New Roman" color=#000000 
size=3> 
ERG is the sum of three rankings &#8212; 
EPS rank, price rank and group rank &#8212; which sum is then 
ranked against all other companies. This allows you to use one indicator to 
search for stocks which are exhibiting the most momentum with respect to price, 
earnings and group strength. 

ERG Change measures the change (delta) 
in ERG over 1, 3, 6, and 13 weeks. 
 
 
I am 
not familiar with Quotes Plus data formats.
Thanks 
in advance,
<SPAN 
class=953253103-30112003> 
Mr 
Valley

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Steve Wiser 
  [mailto:slwiser@xxxxxxxxxxx]Sent: Saturday, November 29, 2003 6:23 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker] 
  Creating table for ExtraDataHello 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 <FONT 
  face="Courier New, Courier" 
  size=2>Buy=Sell=Short=Cover=<FONT 
  face="Courier New, Courier" color=#ff00ff size=2>0<FONT 
  face="Courier New, Courier" size=2>; xDataListNum=<FONT 
  face="Courier New, Courier" color=#ff00ff 
  size=2>"AnnDividend,Shares,SharesFloat,SharesOut,SharesShort,TTMsales,Beta,TTMEps,HiPERange,LoPERange,PEG,InstHolds,LTDebtToEq,CashFlowPerShare,ROE,TTMSales,Yr1EPSGrowth,Yr5EPSGrowth,Yr1ProjEPSGrowth,Yr2ProjEPSGrowth,Yr3to5ProjEPSGrowth,BookValuePerShare,HasOptions"<FONT 
  face="Courier New, Courier" size=2>; xDataListArrays = <FONT 
  face="Courier New, Courier" color=#ff00ff size=2>"QRS,EPSRank"<FONT 
  face="Courier New, Courier" size=2>; Filter = <FONT 
  face="Courier New, Courier" color=#0000ff size=2>Status<FONT 
  face="Courier New, Courier" size=2>(<FONT face="Courier New, Courier" 
  color=#ff00ff size=2>"LastBarInTest"<FONT face="Courier New, Courier" 
  size=2>); <FONT face="Courier New, Courier" color=#0000ff 
  size=2>SetOption(<FONT 
  face="Courier New, Courier" color=#ff00ff 
  size=2>"NoDefaultColumns"<FONT face="Courier New, Courier" 
  size=2>,False); <FONT face="Courier New, Courier" 
  color=#800000 size=2>for<FONT face="Courier New, Courier" 
  size=2>( Col=<FONT face="Courier New, Courier" color=#ff00ff 
  size=2>0; 
                          (xData=<FONT 
  face="Courier New, Courier" color=#0000ff size=2>StrExtract<FONT 
  face="Courier New, Courier" size=2>( xDataListNum, Col))!= <FONT 
  face="Courier New, Courier" color=#ff00ff size=2>""<FONT 
  face="Courier New, Courier" size=2>; Col++) 
                   
  {              <FONT 
  face="Courier New, Courier" color=#0000ff 
  size=2>                                AddColumn<FONT 
  face="Courier New, Courier" size=2>( <FONT face="Courier New, Courier" 
  color=#0000ff size=2>GetExtraData<FONT face="Courier New, Courier" 
  size=2>(xData), xData, <FONT face="Courier New, Courier" color=#ff00ff 
  size=2>1.3, <FONT 
  face="Courier New, Courier" color=#ff00ff size=2>1<FONT 
  face="Courier New, Courier" size=2>); 
           
          }<FONT 
  face="Courier New, Courier" color=#800000 size=2>for<FONT 
  face="Courier New, Courier" size=2>( Col=<FONT 
  face="Courier New, Courier" color=#ff00ff size=2>0<FONT 
  face="Courier New, Courier" size=2>; 
                          (xData=<FONT 
  face="Courier New, Courier" color=#0000ff size=2>StrExtract<FONT 
  face="Courier New, Courier" size=2>( xDataListArrays, Col))!= <FONT 
  face="Courier New, Courier" color=#ff00ff size=2>""<FONT 
  face="Courier New, Courier" size=2>; Col++) 
                  {<FONT 
  face="Courier New, Courier" color=#0000ff 
  size=2>                                AddColumn<FONT 
  face="Courier New, Courier" size=2>( <FONT face="Courier New, Courier" 
  color=#0000ff size=2>LastValue<FONT face="Courier New, Courier" 
  size=2>(<FONT face="Courier New, Courier" color=#0000ff 
  size=2>GetExtraData(xData)), 
  xData, <FONT face="Courier New, Courier" color=#ff00ff 
  size=2>1.3, <FONT 
  face="Courier New, Courier" color=#ff00ff size=2>1<FONT 
  face="Courier New, Courier" size=2>); 
                  }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<FONT 
    face=arial size=2>=<FONT face=arial color=#ff0000 
    size=2>Sell=<FONT face=arial 
    color=#ff0000 size=2>Short<FONT face=arial 
    size=2>=<FONT face=arial color=#ff0000 
    size=2>Cover=<FONT face=arial 
    color=#ff00ff size=2>0; 
    xDataListNum=<FONT face=arial color=#ff00ff 
    size=2>"AnnDividend,Shares,SharesFloat,SharesOut,SharesShort,TTMsales,Beta,TTMEps,HiPERange,LoPERange,PEG,InstHolds,LTDebtToEq,CashFlowPerShare,ROE,TTMSales,Yr1EPSGrowth,Yr5EPSGrowth,Yr1ProjEPSGrowth,Yr2ProjEPSGrowth,Yr3to5ProjEPSGrowth,BookValuePerShare,HasOptions"<FONT 
    face=arial size=2>; xDataListArrays = <FONT face=arial 
    color=#ff00ff size=2>"QRS,EPSRank"; 
    <FONT face=arial color=#ff0000 
    size=2>Filter = <FONT 
    face=arial color=#0000ff size=2>Status<FONT face=arial 
    size=2>(<FONT face=arial color=#ff00ff 
    size=2>"LastBarInTest"); <FONT 
    face=arial color=#0000ff size=2>SetOption<FONT face=arial 
    size=2>(<FONT face=arial color=#ff00ff 
    size=2>"NoDefaultColumns",<FONT 
    face=arial color=#ff0000 size=2>False<FONT face=arial 
    size=2>); <FONT face=arial color=#ff0000 
    size=2>for( Col=<FONT 
    face=arial color=#ff00ff size=2>0; 
    (xData=StrExtract<FONT 
    face=arial size=2>( xDataListNum, Col))!= <FONT face=arial 
    color=#ff00ff size=2>""; 
        { Col++) <FONT face=arial color=#0000ff 
    size=2>AddColumn( <FONT face=arial 
    color=#0000ff size=2>GetExtraData(xData), 
    xData, 1.3<FONT 
    face=arial size=2>, <FONT face=arial color=#ff00ff 
    size=2>1); }<FONT face=arial 
    color=#ff0000 size=2>for( 
    Col=0<FONT face=arial 
    size=2>; (xData=<FONT face=arial color=#0000ff 
    size=2>StrExtract( xDataListArrays, Col))!= 
    ""<FONT face=arial 
    size=2>;     { Col++) <FONT face=arial 
    color=#0000ff size=2>AddColumn( <FONT 
    face=arial color=#0000ff size=2>LastValue<FONT face=arial 
    size=2>(<FONT face=arial color=#0000ff 
    size=2>GetExtraData(xData)), xData, 
    1.3<FONT face=arial 
    size=2>, 1<FONT 
    face=arial size=2>); }
    
    <IMG height=91 alt=20d1035.jpg src="jpg00376.jpg" 
    width=635> Yahoo! Groups 
    Sponsor ADVERTISEMENT<A 
    href=""><IMG 
    height=250 alt="click here" 
    src="" 
    width=300 NOSEND="1"><IMG height=1 alt=[] 
    src="" 
    width=1 NOSEND="1">Send BUG REPORTS to 
    bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
    suggest@xxxxxxxxxxxxx-----------------------------------------Post 
    AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
    <A 
    href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
    group FAQ at: <A 
    href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
    Your use of Yahoo! Groups is subject to the <A 
    href="">Yahoo! Terms of Service. 
    
Attachment:

Attachment: Description: "Description: Binary data"

Attachment: Description: "Indicator List.url"