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

Re: [amibroker] Help Needed Thanks



PureBytes Links

Trading Reference Links


For starters, close up the spaces in LastBackTestFormula and GraphXSpace and then correct the syntax for #include(see Users Guide).
 
Bill
----- Original Message -----
From: MikAB
Sent: Wednesday, December 05, 2007 10:59 AM
Subject: [amibroker] Help Needed Thanks

Hello
 
I sent the below mail yesterday and did not received any response.
Can someone help me please?
 
Many thanks.
 
-----------------------------------------------------------------------------
 
Hi
 
Here is the Equity Curve code. I copied it from AmiBroker and never amended it and I have the following message error:
 
Error: Ln: 17, Col: 1 : Error 32. Syntax error, probably missing semicolon at
the end of the previous line
Can someone help me to solve it???
 
Many thanks.
 
 
_SECTION_BEGIN( "Individual" );
#include @LastBacktestFormul a
MaxGraph=0;GraphXSp ace=5;
GraphZOrder= 1;
Plot( Equity( 0, -2 ), "Equity", -8, styleArea );

if( ParamToggle( "Show Buy-and-Hold? ", "No|Yes", 1 ) )
{
/* now buy and hold simulation */
Short=Cover= 0;
Buy=Status(" firstbarintest" );
Sell=Status( "lastbarintest" );
SetTradeDelays( 0,0,0,0); PositionSize = -100;
ApplyStop(0, 0,0,0);
ApplyStop(1, 0,0,0);
ApplyStop(2, 0,0,0);
Plot( Equity( 0, -2 ), "Buy&Hold", -9 );
}
_SECTION_END( );



Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.13/1167 - Release Date: 12/3/2007 12:20 PM
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___