PureBytes Links
Trading Reference Links
|
It just tests whether Short=z==5 AND y>77);
You determine whether 77 is best by running Optimize.
Regards,
Bob
-----Original Message-----
From: Collectable Images [mailto:telecard@xxxxxxxxxxxxxx]
Sent: Monday, November 15, 2004 1:52 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Excellent ^N225 statistics
Hello,
can you explain what the line means after the AND?
Short=z==5 AND y>Optimize("y",77,70,90,1);
-----Original Message-----
From: DIMITRIS TSOKAKIS [mailto:TSOKAKIS@xxxxxxxxx]
Sent: Monday, 15 November 2004 8:04 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [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
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
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
------------------------ 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/
|