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

Re: [amibroker] Re: Plotting letters in a chart



PureBytes Links

Trading Reference Links

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 
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/