PureBytes Links
Trading Reference Links
|
Herman,
The code gives severe losses [as expected]
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen"
<psytek@xxxx> wrote:
> Can somebody explain why this gives unreal profits?
>
> // In AA settings Use percent profit trailing stop of 10%
> // Trade Long and Short at the Open
> SetOption("ActivateStopsImmediately",True);
> SetTradeDelays(1,1,1,1);
> Buy=Cross( MACD(), Signal() );
> Sell = Cross( Signal(), MACD() );
> Short = Sell;
> Cover = Buy;
> Plot(Equity(1),"Equity",1,1);
>
> TIA,
> herman.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/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/
|