| 
 PureBytes Links 
Trading Reference Links 
 | 
Buy=Cross(C, MA(C,28));
Filter=Buy;
AddColumn(ValueWhen(BarsSince(Buy)==10,Close),"");
  ----- Original Message ----- 
  From: kris45mar 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Monday, October 04, 2004 9:44 AM
  Subject: Re: [amibroker] Addcolumn( close x days after buydate ....) : [AFL gurus please]
  Anthony
  this does not quite do what I am looking for.
  I have changed the -10 to 10 and this till does not seem to give what I want.
  I am not sure what prices this exploration gives.
  ChrisB
  Anthony Faragasso <ajf1111@xxxxxxxx> wrote:
  Do you mean something like this:
  addcolumn(valuewhen(ref(buy,-10),close),"x10");
  ----- Original Message ----- 
    From: kris45mar 
    To: amibroker@xxxxxxxxxxxxxxx 
    Sent: Monday, October 04, 2004 7:49 AM
    Subject: [amibroker] Addcolumn( close x days after buydate ....) : [AFL gurus please]
    Hi all.
    Could I ask for help with this concept please: I wish to explore for a buy condition and then add columns for the closing price x number of days after the buydate.
    This to be exported to Excel.
    I am stuck with barsince,datenum, barindex, etc.
    //sample...
    Buy = Cond1;
    SetTradeDelays(1,1,1,1);
    Sell =0;
    Filter = Buy;
    AddColumn(Close,"buyprice",1.2);
    // How to add a column showing the close 10 days after the buy date...
    // then add a column showing the close 20 days after the buy date....
    //...etc
    Any help, guidance, tips appreciated.
    Regards
    ChrisB
                
    ---------------------------------
    Do you Yahoo!?
    vote.yahoo.com - Register online to vote today!
    [Non-text portions of this message have been removed]
    Check AmiBroker web page at:
    http://www.amibroker.com/
    Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
          Yahoo! Groups Sponsor 
                ADVERTISEMENT
               
         
         
  ------------------------------------------------------------------------------
    Yahoo! Groups Links
      a.. To visit your group on the web, go to:
      http://groups.yahoo.com/group/amibroker/
        
      b.. To unsubscribe from this group, send an email to:
      amibroker-unsubscribe@xxxxxxxxxxxxxxx
        
      c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
  [Non-text portions of this message have been removed]
  Check AmiBroker web page at:
  http://www.amibroker.com/
  Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Yahoo! Groups SponsorADVERTISEMENT
  ---------------------------------
  Yahoo! Groups Links
     To visit your group on the web, go to:
  http://groups.yahoo.com/group/amibroker/
    
     To unsubscribe from this group, send an email to:
  amibroker-unsubscribe@xxxxxxxxxxxxxxx
    
     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
              
  ---------------------------------
  Do you Yahoo!?
  Yahoo! Mail - You care about security. So do we.
  [Non-text portions of this message have been removed]
  Check AmiBroker web page at:
  http://www.amibroker.com/
  Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
        Yahoo! Groups Sponsor 
                        
                 Select Your State:AlabamaAlaskaArkansasArizonaCaliforniaColoradoConnecticutDelawareFloridaGeorgiaHawaiiIdahoIllinoisIndianaIowaKansasKentuckyLouisianaMaineMarylandMassachusettsMichiganMinnesotaMissippiMissouriMontanaNebraskaNevadaNew HampshireNew MexicoNew JerseyNew YorkNorth CarolinaNorth DakotaOklahomaOhioOregonPennsylvaniaRhode IslandSouth CarolinaSouth DakotaTennesseeTexasUtahVermontVirginiaWashingtonWashington D.C.West VirginiaWisconsinWyoming
                 PurchaseRefinance 
              
       
       
------------------------------------------------------------------------------
  Yahoo! Groups Links
    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
      
    b.. To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |