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

Re: how to code the divergence



PureBytes Links

Trading Reference Links

Hi Abhijit, 

would you mind to send this 
        DIVERGENCEINDICATORS.ELA
to me (as pm) as I couldn't find it neither there (HD_RDforDummies) nor by 
using google?

Thanks in advance, 
Carl

Am Freitag, 22. April 2005 20:00 schrieb Abhijit Dey:
> Go become a member of group "HD_RDforDummies" at groups.yahoo.com. Then
> download DIVERGENCEINDICATORS.ELA from "Files > Other Day Trading Files
>
>  > Tradestation" under the files section.
>
> This code is good enough.. or modify at will.
>
> HTH - Abhijit
>
> Carl A. Schreiber wrote:
> >Hi everyboday,
> >
> >I need some ideas about how to program a divergence between quotes and
> >indicators: how would you do that?
> >
> >It is so simple, if you look at the chart, but how would you
> > mathematically select the 'very important points' (vip ;-) for the
> > liniear regression to get the slope? Then you can just multiply them and
> > you'll get either
> >	result < 0 (=Divergence) or
> >	result > 0 (no Divergence).
> >
> >Or can you recommand to use all ne values of both quotes and indicator?
> >
> >Any idea is appreciated.
> >
> >I thank you all very much in advance,
> >Carl