PureBytes Links
Trading Reference Links
|
Herman,
When I add your code I get the following message...
Line 170, Column 1:
// -- loop through bars
}
^
Error 7.
Subscript out of range
What am I doing wrong???
Bob
----- Original Message -----
From: "Herman van den Bergen" <psytek@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Sunday, January 30, 2005 6:54 PM
Subject: RE: [amibroker] Re: AFL code that is too good to be true
>
> Ed, I tested it but it is not quite as good as my own trading
system ;-)
>
> just add:
>
> Sell = aHPivs==1;
> Buy = aLPivs==1;
> Short =Sell;
> Cover=Buy;
>
> to the end of the code. The result kind-of confirms the look ahead
problem:
> 147639412554536.28 % in six months.
> best regards,
> herman
------------------------ Yahoo! Groups Sponsor --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/
|