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

[amibroker] Re: Anyone know how to find a relatively stright line??



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "bestbobleonard"
<bestbobleonard@xxxx> wrote:
>
> Hi,
> 
> Sometimes, the results of my custom indicators produce what is
> visually, a stright line.
> 
> This is an intresting condition and I would like to filter on it.
> 
> BUT, since it is not a perfect line..
> 
> How can one test for ax + by + c = 0, AND allow for, say 0.5%
variance???

Hi Bob,

I have not done exactly this, but I think you could get at the
solution by using the linear regression functions to fit a linear
regression line to your points and then do a StdErr calculation or
just a simple summation of the deviations of your data points from the
LR line.

Enjoy!

Bill





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/