PureBytes Links
Trading Reference Links
|
Graham,
A bee's whisker is a little difficult to quantify. Usually the
difference between the hardcoded indicators and custom coded indicators are due
to differences in coding order and rounding differences. The version that I use
is so close that I ignore the differences.
Are all 3 lines off?
-CS
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=gkavanagh@xxxxxxxxxxxxx
href="">Graham
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Monday, July 26, 2004 4:12 AM
Subject: [amibroker] Raff Regression
channels
I am attempting to automatically include the Raff
Regression channel on achart. I have been able to approximate the
manually drawn channel, but am off by abee's whisker. I am using the
LinearReg and LinRegSlope of close price at the end pointbased on the
length (num bars) of the intended line, and transferring thatslope back to
the first point to create the middle line. I then calculate the largest
divergence of the High and Low prices from thatline to plot the channel
lines. As I said this gets very close to the built-in manual lines, but
can be offby a very small margin.Does anyone know what I am
missing?Sorry I cannot post my code here as it is a part of an overall
strategy I amworking on.Cheers,Graham<A
href="">http://e-wire.net.au/~eb_kavan/Check
AmiBroker web page at:<A
href="">http://www.amibroker.com/Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|