PureBytes Links
Trading Reference Links
|
I love this question !
Suppose a function f, a condition Cond and here is a sexy b whenever
the condition is met.
f=StochD();Cond=Cross(f,30);
X=Cum(1);XMAX=LastValue(X)-1;
d=ValueWhen(Cond,xmax-x);y0=ValueWhen(Cond,f);
x0=xmax-d;
a=Param("a",2,2,5,1);
b=Param("b",2,2,5,1);
z=-1;
y=y0+sqrt(((a*b)^2+sign(z)*b^2*(x-x0)^2)/a^2);
Plot(IIf(Cum(1)>=xmax-d,y,-1e10),"",1,1);
y=y0-sqrt(((a*b)^2+sign(z)*b^2*(x-x0)^2)/a^2);
Plot(IIf(Cum(1)>=xmax-d,y,-1e10),"",1,1);
Plot((Cum(1)==x0)*(y0-b),"",0,2+8);
Plot((Cum(1)==x0)*(y0+3*b),"",1,2+8);
Plot(f,"f",2,1);
Play with parameters for the size.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "ed" <ed2000nl@xxxx> wrote:
> hi,
>
> is it possible to plot letters inside a chart?
>
> currently I use:
>
> PlotShapes(shapeDigit1 * b_day, colorWhite);
>
> in order to show a "B" day in the chart. But would it be possible
to draw a real "B" inside the chart?
>
> thanks, Ed
------------------------ 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
---------------------------------------------------------------------~->
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
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/
|