Hello,
Under: "Using graph styles, colors, titles and parameters in Indicators" TJ write a paragraph as follows: New parameters make it also easy to plot ribbons, for example: Plot( Close, "Price", colorBlue, styleCandle ); Plot( 2, /* defines the height of the ribbon in percent of pane width */ "Ribbon", IIf( up, colorGreen, IIf( down, colorRed, 0 )), /* choose color */ styleOwnScale|styleArea|styleNoLabel, -0.5, 100 ); Then you can stack the ribbons on top of each other. Hope this helps, Jerry Gress Stockton, Ca. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Sugiharto Setyabudi Sent: Tuesday, December 09, 2008 10:18 PM To: [email protected] Subject: Re: [amibroker] Horizantal Line What is this "ribbon"? Is it a user-defined function? I can't find any in help section, neither in AFL Reference Sugiharto On Wed, Dec 10, 2008 at 4:12 AM, Jerry Gress <[email protected]> wrote: > Hello, > > You might want to try "Ribbon", works great have 4 running on different > panes and one pane with two on top of each other. See Ribbon in help > section. > > Regards, > > Jerry Gress > Stockton, Ca. > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of K. Karunakaran > Sent: Tuesday, December 09, 2008 1:13 AM > To: [email protected] > Subject: [amibroker] Horizantal Line > > Hi, > > Need help to draw a thick transparent line at the bottom of the chart. > > Color of the thick line changes as per the status of the moving averages. > > I tried the following - it s full of mistakes. > > GfxSetOverlayMode(1); > xp=BarIndex(); > yp=(Status("axixmaxy")-Status("axisminy")/5)+Status("axisminy"); > Mycond=ROC(EMA(C,100)); > Ema1=EMA(C,50); > Ema2=Ema(c,100); > Mycol=IIf(Mycond>0 AND Ema1>Ema2, colorGreen,colorWhite); > GfxSelectPen(Mycol,2); > > Somebody, please help me. > > Best Regards. > > KK > > > > > > ------------------------------------ > > **** IMPORTANT **** > This group is for the discussion between users only. > This is *NOT* technical support channel. > > ********************* > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > ********************* > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > ********************************* > Yahoo! Groups Links > > > > > ------------------------------------ > > **** IMPORTANT **** > This group is for the discussion between users only. > This is *NOT* technical support channel. > > ********************* > TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > ********************* > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > ********************************* > Yahoo! Groups Links > > > > ------------------------------------ **** IMPORTANT **** This group is for the discussion between users only. This is *NOT* technical support channel. ********************* TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com ********************* For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html ********************************* Yahoo! Groups Links
