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

[amibroker] Re: Plotting letters in a chart



PureBytes Links

Trading Reference Links




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. 
 
<A 
href="">http://www.insideedge.net/products/tradestationproducts/wilder/wilderreactiontrend
 
rgds, Ed
 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Jayson 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, May 11, 2004 4:12 PM
  Subject: RE: [amibroker] Re: Plotting 
  letters in a chart
  
  <FONT face=Arial color=#0000ff 
  size=2>Ed,
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>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....
  <FONT face=Arial color=#0000ff 
  size=2> 
  <FONT face=Arial color=#0000ff 
  size=2>cond=c>ma(c,50);
  <FONT face=Arial color=#0000ff 
  size=2>title=writeif(cond, "Place a letter or phrase 
  here","");
   
   
  Regards,Jayson 
  
    <FONT face=Tahoma 
    size=2>-----Original Message-----From: ed 
    [mailto:ed2000nl@xxxxxxx]Sent: Tuesday, May 11, 2004 9:33 
    AMTo: amibroker@xxxxxxxxxxxxxxxSubject: 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.
    <BLOCKQUOTE 
    >
      ----- Original Message ----- 
      <DIV 
      >From: 
      DIMITRIS 
      TSOKAKIS 
      To: <A 
      title=amibroker@xxxxxxxxxxxxxxx 
      href="">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 <A 
      href="">amibroker@xxxxxxxxxxxxxxx, 
      "ed" <ed2000nl@x...> 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: <A 
      href="">http://groups.yahoo.com/group/amiquote/messages/)>   
      -------------------------------------------->   Check 
      group FAQ at: <A 
      href="">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:>     <A 
      href="">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@xxxxxxxxxxxxxSend SUGGESTIONS to 
      suggest@xxxxxxxxxxxxx-----------------------------------------Post 
      AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
      <A 
      href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
      group FAQ at: <A 
      href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
      Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 
      SUGGESTIONS to 
      suggest@xxxxxxxxxxxxx-----------------------------------------Post 
      AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: 
      <A 
      href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
      group FAQ at: <A 
      href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
      Send BUG REPORTS to 
  bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">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 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 the Yahoo! Terms of Service.