PureBytes Links
Trading Reference Links
|
Ed,
Nest the writeifs
WriteIf(b_day == 1, "B", WriteIF(b_day == 0, "O",.....
--- ed <ed2000nl@xxxxxxx> wrote:
> Jayson,
>
> interesting suggestion but
>
> Title = WriteIf(b_day == 1, "B", ""); only shows a
> "B" in the upper left corner. Maybe it needs some
> work.
>
> The site below shows in short what I was trying to
> do. The reaction trend system defines "B", "O" and
> "S" days. I wanted to add them to the chart.
>
>
http://www.insideedge.net/products/tradestationproducts/wilder/wilderreactiontrend
>
> rgds, Ed
>
> ----- Original Message -----
> From: Jayson
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Tuesday, May 11, 2004 4:12 PM
> Subject: RE: [amibroker] Re: Plotting letters in a
> chart
>
>
> Ed,
>
> Perhaps I have missed what you are trying to
> accomplish. If you do not need to plot the letter on
> a trend line then you could always do so in the
> title line....
>
> cond=c>ma(c,50);
> title=writeif(cond, "Place a letter or phrase
> here","");
>
>
> Regards,
>
> Jayson
>
> -----Original Message-----
> From: ed [mailto:ed2000nl@xxxxxxx]
> Sent: Tuesday, May 11, 2004 9:33 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Re: Plotting letters in
> a chart
>
>
> you make it sound like a rediculous question. If
> it is possible to draw digits in a chart why not
> letters. If not possible no big deal and I don't
> expect an answer if it is not possible.
>
> I appreciate your effort but clearly this is not
> what I was looking for. Further I enjoy the fact you
> wanting to show the world what you are able to do
> with AFL but I don't appreciate being rediculed.
> ----- Original Message -----
> From: DIMITRIS TSOKAKIS
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Tuesday, May 11, 2004 2:58 PM
> Subject: [amibroker] Re: Plotting letters in a
> chart
>
>
> But, you asked for a "b", a real "b".
> My code gives a "b" but you also want an o and
> an s...
> I agree with you, search for something more
> "professional".
> Dimitris Tsokakis
> --- In amibroker@xxxxxxxxxxxxxxx, "ed"
> <ed2000nl@xxxx> wrote:
> > thanks for your efforts but I guess the
> answer to my question is
> no :)
> >
> > it is not really important but I am coding
> the "Reaction Trend
> Method" from Welles Wilder. This method first
> assigns "B", "O"
> and "S" days (socalled phasing) before one
> actually starts to
> calculate the buy - sell - short and cover. So
> I only want to draw
> the "B", "O" etc to make things look real
> professional :) .... not of
> real importance,
> >
> > rgds, Ed
> > ----- Original Message -----
> > From: DIMITRIS TSOKAKIS
> > To: amibroker@xxxxxxxxxxxxxxx
> > Sent: Tuesday, May 11, 2004 11:28 AM
> > Subject: [amibroker] Re: Plotting letters
> in a chart
> >
> >
> > 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
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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 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.
>
>
>
> 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
>
>
>
>
> 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
>
>
>
>
>
>
> 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 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.
>
>
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/
|