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

Re: [amibroker] Excellent ^N225 statistics



PureBytes Links

Trading Reference Links

Hi Dimitris,
    excuse the ignorance, but I presume "Cover=Ref(Short,-d);" is saying "cover if d 
amount of days since last short"? If so, is this shorthand explained in the AB help files, 
or is it something a programmer conversant with AFL just "knows"?
BTW, with a little tweak it works OK on FX,  on both buy & sell.
cheers

----- Original Message ----- 
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, November 15, 2004 8:03 PM
Subject: [trading] [amibroker] Excellent ^N225 statistics


>
>
> The
>
> y=StochD();
> z=BarsSince(y<Ref(y,-1));
> Short=z==5 AND y>Optimize("y",77,70,90,1);
> d=Optimize("d",7,5,10,1);
> Cover=Ref(Short,-d);
> Plot(C,"",1,64);
> PlotShapes(shapeDownArrow*Short,colorRed);
> PlotShapes(shapeUpArrow*Cover,colorBrightGreen);
>
> gives excellent winners/losers ratio [12:2, 15:1 etc] for the last
> ^N225 years.
>
> Dimitris
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/