PureBytes Links
Trading Reference Links
|
http://groups.yahoo.com/group/amibroker/message/49325
http://groups.yahoo.com/group/amibroker/message/49321
and the previous will throw a light to your question.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Joseph Landry" <jelandry@xxxx>
wrote:
> I had an interest in understanding why you were not satisfied with
> how the equity routine listed below worked. Something about how AB
> calculated the Equity function and number of bars needed to store
> the results? Did you and TJ resolve the differences? Did you find
> another way to do it?
>
> I did an archive search on your posts but did not understand if
this
> was ever resolved?
>
> Your contributions and skills are greatly appreciated.
>
> Thanks
> JOE
> Houston,TX
>
> From Dimitris T.
> // SELECT LAST EQUITY() VALUE
> > > > function select( listnum )
> > > > {
> > > > list = GetCategorySymbols( categoryGroup, listnum );
> > > > Rank = 0;
> > > > for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ )
> > > > {
> > > > SetForeign(SYM);
> > > > global Buy;
> > > > global Sell;
> > > > Buy=Cross(StochD(),30);Sell=Cross(50,StochD());E1=Equity();
> > > > f=LastValue(E1);
> > > > Rank[BarCount-1-i] = f;
> > > > }
> > > > return Rank ;
> > > > }
> > > > No=254;
> > > > R= Select(No);H0=Select(No);
> > > > Plot(H0,"",2,2);
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/JYdFFC/XP.FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->
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 http://docs.yahoo.com/info/terms/
|