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

[amibroker] Repeated Median--Arrays vs. Loops



PureBytes Links

Trading Reference Links

Amibroker has great built in least squares functions, for instance 
you can get the slope and endpoint of the linear regression trendline 
with ease.  It looks like the repeated median technique might have 
some advantages (see October Active Trader p. 52).

I can imagine how to find the slope using arrays; however, with that 
method, you would have to re-write the code for different lookbacks.  
I am not a programmer, but this sounds like a job for loops.

Does anyone have or is anyone interested in writing a function that 
would find the repeated median slope and or endpoint?



------------------------ 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/