PureBytes Links
Trading Reference Links
|
#include @LastBacktestFormula
MaxGraph= 0;GraphXSpace=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 );
}
Can someone post the
"Equity line" indicator that comes with AB. I think I over-wrote it before
I realized that the Indicator Builder overwrites any selected indicator
when you load an indicator file. In my opinion a warning message would
seem appropriate.
Check AmiBroker
web page at: http://www.amibroker.com/
Check
group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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
|