PureBytes Links
Trading Reference Links
|
DT,
Thanks for the code translation.
"Use it at your own risk, I didnīt like it at all."
Amen brother! As I posted: it puzzles me why so many people are drawn to
the Krausz price channels (of course, you can substitute any numbers for the
55 & 89 variables that I prefer). I must say: For a three year period,
these channels, combined with a StoRSI made for a very profitable approach
when trading oats. Don't laugh...money extracted from oats spends just as
well as money extracted from gold or equities.
When applying "boundaries" to price movement, I much prefer Standard Error
Bands. If anyone likes coding puzzles: I am trying to reverse engineer the
standard error top and bottom band so I know exactly where price and bands
will coincide in the following period (EOD). This dynamic interplay is very
powerful...but, due to my coding handicap, I make this statement only from
empirical observations and not from tests that I have conducted.
Thanks again DT,
Steve
----- Original Message -----
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, August 13, 2003 12:58 PM
Subject: [amibroker] Re: Price Channels?
I translated "verbatim" the code on the screen, [although it could be
more elegant if written in AFL from the beginning]
DW=IIf(DayOfWeek()<=Ref(DayOfWeek(),-1),1,0);
Wt=IIf(Dw,(Ref(HighestSince(Dw,H),-1)+Ref(LowestSince(Dw,L),-1)+Ref
(C,-1))/3,0);
Wh=IIf(Dw,Ref(HighestSince(Dw,H),-1),0);
Wl=IIf(Dw,Ref(LowestSince(Dw,L),-1),0);
Wr=ValueWhen(Wh>0,Wh)-ValueWhen(Wl>0,Wl);
DwP=ValueWhen(Wt>0,Wt);
RR1=DwP+0.55*Wr;
RR2=DwP+0.89*Wr;
SR1=DwP-0.55*Wr;
SR2=DwP-0.89*Wr;
Plot(C,"C",1,64);
Plot(RR1,"RR1",colorRed,1);Plot(RR2,"RR2",colorRed,1);
Plot(SR1,"SR1",colorBlue,1);Plot(SR2,"SR2",colorBlue,1);
Buy=O>=SR2 AND O<=SR1;
Sell=O>RR1 AND O<=RR2;
PlotShapes(Buy*shapeUpArrow,colorBrightGreen);
PlotShapes(Sell*shapeDownArrow,colorRed);
Use it at your own risk, I didnīt like it at all.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "epintoem" <epintoem@xxxx> wrote:
> Steve,
>
> Thanks for the chart. I for the likes of me cannot figure out the
> code. Could you please express the code in english or convert to
> english.
>
> TIA
>
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "CedarCreekTrading"
<kernish@xxxx>
> wrote:
> > Bill,
> >
> > There are many different type of price channels. Attached is a
> chart with
> > very crude daytrading rules (roughly base on Krausz's work). Of
> all the
> > things that I have shared at seminars, this approach seems to be
> the most
> > popular. Maybe it's the simplicity. Maybe it's because you are
> not in
> > overnight. It really puzzles me. But, since you asked...I look
at
> this
> > picture everyday and post to a few groups when the signal is
> generated.
> >
> > Take care,
> >
> > Steve
> > ----- Original Message -----
> > From: "BillPritJr" <billpritjr@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Wednesday, August 13, 2003 9:55 AM
> > Subject: [amibroker] Price Channels?
> >
> >
> > > Anyone using Price Channels for stock trading? Success?
> > > Recommendations?
> > >
> > > I use a SMA crossover system, one reason is its idiot-proofing
> (re:
> > > me)
> > >
> > > thanks
> > >
> > >
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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/
> > >
> > >
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/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/
|