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

Re: [amibroker] Re: Graham "Write your own Line"



PureBytes Links

Trading Reference Links

the line will extend both forwards and backwards, the code has just
defined its slop and a Y position.
Try plotting it with the price chart

plot(line,"line",colorblue,styleline+stylenorescale);



On Sat, 05 Mar 2005 23:45:05 -0000, ckinsey2003 <ckinsey2003@xxxxxxxxx> wrote:
> 
> 
> The 1st thing that jumps up at me is the need to EXTEND that line
> formula you passed on, so at some Bar "after the second point (PEAK)"
> I could detect a CROSS.
> 
> Is there a mathamatical way to augment your line formula below so that
> it projects out a given number of bars 10 - 20 at the same slope ??
> You understand I am trying to "Detect a Trend Line Break" at a point
> after x1..
> 
> Line = (y1-y0) / (x1-x0) + y0;
> then use Cross(C,Line);
> 
> I don't want to have you write my code for me. but I feel kinda over
> my head on this one, and you seem to have a grasp of this stuff..
> 
> Thanks for your monitoring and help,   Jack Kinsey
> 
> 
> 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
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/