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

[amibroker] Addcolumn( close x days after buydate ....) : [AFL gurus please]



PureBytes Links

Trading Reference Links

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]



------------------------ 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/