PureBytes Links
Trading Reference Links
|
Very nice, DT Thanks!
--- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS"
<TSOKAKIS@xxxx> wrote:
> Drazen,
> Ellipse and hyperbola are Greek words. Ellipse means lack,
hyperbola
> means exaggeration.
> In T/A, the overbought phase is an exaggeration.
> Instead of words, since AFL is much expressive, paste in
Ind.builder
>
> x=Cum(1);xmax=LastValue(X)-1;d=100;
> x0=xmax-d;y0=100;
> a=20;b=30;
> z=LastValue(StochD()-70);// OVERBOUGHT CONDITION
> y=y0+sqrt(((a*b)^2+sign(z)*b^2*(x-x0)^2)/a^2);
> Plot(IIf(Cum(1)>xmax-2*d,y,-1e10),"",38+6*sign(Z),1);
> y=y0-sqrt(((a*b)^2+sign(z)*b^2*(x-x0)^2)/a^2);
> Plot(IIf(Cum(1)>xmax-2*d,y,-1e10),"",38+6*sign(Z),1);
> Plot(IIf(Cum(1)>xmax-2*d,y0,-1e10),"",1,1);
> Plot((Cum(1)==x0)*(y0+2*b),"",1,2);
> Title=Name()+WriteIf(sign(z)>0," is overbought"," is not
overbought
> yet");
>
> Move in your symbol tree from ticker to ticker and enjoy the
symbolic
> power of the language.
> Dimitris Tsokakis
> --- In amibroker@xxxxxxxxxxxxxxx, "dstricek12" <dstricek12@xxxx>
> wrote:
> > Excellent !!
> >
> > Dimitris, thank you very much.
> >
> > Drazen
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS"
> <TSOKAKIS@xxxx>
> > wrote:
> > > Drazen,
> > > This is an ellipse centered at [x0,y0]
> > >
> > > x0=900;y0=100;a=20;b=30;x=Cum(1);
> > > // b^2*(x-x0)^2+a^2*(y-y0)^2=(a*b)^2
> > > y=y0+sqrt(((a*b)^2-b^2*(x-x0)^2)/a^2);
> > > Plot(y,"",1,1);
> > > y=y0-sqrt(((a*b)^2-b^2*(x-x0)^2)/a^2);
> > > Plot(y,"",1,1);
> > > Plot(y0,"",1,1);Plot((Cum(1)==x0)*(y0+2*b),"",1,2);
> > >
> > > Note that x0 is counted from the beginning of your data.
> > > Dimitris Tsokakis
> > > --- In amibroker@xxxxxxxxxxxxxxx, "dstricek12"
<dstricek12@xxxx>
> > > wrote:
> > > > Hi
> > > > Im wondering is it possible to plot ellipse direct from
AFL
> > with
> > > > my own coordinates ?
> > > > If yes, could someone give me a hint how to code it ?
> > > >
> > > > Any help is appreciated
> > > >
> > > > Drazen
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|