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

[amibroker] Re: Some basic questions



PureBytes Links

Trading Reference Links

Herman,
these messages are available in AmiBroker mailing list archive 
collection.
Dimitris

--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
<psytek@xxxx> wrote:
> Thank you very much DT! Will post if i get any useful results.
> 
> btw, it seems that messages below 6433 are no longer availabel on 
Yahoo.
> 
> take care,
> herman.
>   -----Original Message-----
>   From: DIMITRIS TSOKAKIS [mailto:TSOKAKIS@x...]
>   Sent: Tuesday, September 07, 2004 2:42 AM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [amibroker] Re: Validating Crossings with the angle 
between the
> lines.
> 
> 
>   Herman,
>   The angle g will be
> 
>   x=Cum(1)-1;
>   Lx=LastValue(x);
>   g1=atan(H[Lx]-L[Lx-1]);
>   g2=atan(L[Lx]-H[Lx-1]);
>   pi=4*atan(1);
>   g=g1-g2;
>   f=180/pi;
>   Title="g1="+WriteVal(f*g1)+", g2="+WriteVal(f*g2)+", g="+WriteVal
>   (f*g);
>   Plot(LineArray(Lx-1,L[Lx-1],Lx,H[Lx]),"",colorOrange,8);
>   Plot(LineArray(Lx-1,H[Lx-1],Lx,L[Lx]),"",colorOrange,8);
>   Plot(C,"",1,64);
> 
>   BTW, the result will not satisfy the visual part, as it is already
>   explained [see messages   #3825,#3855,#3862 ]
>   Dimitris
>   --- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen"
>   <psytek@xxxx> wrote:
>   > Been staring at this for awhile.... a typical school 
assignment :-)
>   How
>   > would one calculate the angles (in degrees) between two lines 
that
>   cross
>   > between two adjacent bars, for example the angle between a line
>   from the Low
>   > of bar1 to the High of bar2, that crosses a line from the High 
of
>   Bar1 to
>   > the Low of bar2.
>   >
>   > The solution needs to include gap conditions and is intended to
>   help me
>   > qualify line crossings by setting a minimum angle criteria and 
thus
>   > eliminate whipsaws between near parallel lines.
>   >
>   > many thanks for any help you can give,
>   > herman
>   >
>   >
>   >
>   > [Non-text portions of this message have been removed]
> 
> 
> 
>   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
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
> 
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.
> 
> 
> 
> [Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/