PureBytes Links
Trading Reference Links
|
/* This script reports the gain of the stocks in a portfolio
over a range of days*//*Double Click entry date on price chart, then double
click exit date*//*Rik Rasmussen*//*Explore*/Filter=1;Filter
= Ref( C,-1 ) != C;entryPrice= BeginValue(Close);AddColumn( C, "Current
Close" );AddColumn(BeginValue(Close), "Test
begin");AddColumn(EndValue(Close), "Test end");AddColumn(C - entryPrice,
"Gain");AddColumn((((C-entryPrice)/entryPrice)) *100, "%
Gain");
<IMG alt="" hspace=0 src="gif00142.gif"
align=baseline border=0>Rik RasmussenBest Charts Yahoo Group
Moderator<A href=""
target=_blank>http://groups.yahoo.com/group/bestcharts/
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
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.
Attachment:
Description: ""
|