PureBytes Links
Trading Reference Links
|
Steve- If you want the buy rule to be: buy when the StdErrOsc crosses
above 10 and the sell rule (exit long, NOT sell short) to be: sell
when the StdErrOsc crosses below 90, the last two lines of the code
should be:
Buy = Cross (StdErrOsc, 10);
Sell = Cross(90, StdErrOsc);
If the sell short and cover rules are symmmetrical to the above, you'd
add:
Short = Sell;
Cover= Buy;
Mark
--- In amibroker@xxxxxxxxxxxxxxx, "CedarCreekTrading" <kernish@xxxx>
wrote:
> Group,
>
> I've stayed on the sidelines for the most recent "shit-slinging". I
thought I'd post an elementary approach to the "Dow"...just so people
could find another member to attach. Take your best shots at the
systems (I've been called all kinds of unflattening names and I even
like some of the "tags").
>
> The system hasn't been optimized, tweaked, or manipulated. All
types of rules and filters could be super-imposed (over, under or
around the basics...simple is always better). As it stands, it does a
decent job tracking the CBOT Dow contract.
>
>
>
> Thanks to HB for providing the code translation:
> // Standard Error Oscillator (Steve Karnish)
>
> StdErrOsc = (C+2*StdErr(C,8)-MA(C,3))/(4*StdErr(C,8))*100;
>
> Plot(StdErrOsc, "StdErrOsc", colorBlack, styleLine);
>
> Plot(10,"",colorRed); Plot(90,"",colorRed);
>
> Buy = Cross (10, C);
>
> Sell = Cross (C, 90);
>
> Take care,
>
> Steve
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges & Refill Kits for Your Epson at Myinks.com
Free shipping on orders $50 or more to the US and Canada.
http://www.c1tracking.com/l.asp?cid=5705&lp=home/epson.asp
http://us.click.yahoo.com/brYXfA/_xWGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|