Hi Graham,

I need to use two colors for bband , seam as what I'm using in MA,

This what I'm using for MA,

Plot( MA(C,15), "MA -15 ", IIf( MA(C,15) > Ref( MA(C,15), -1 ), 
colorGreen, colorRed ), styleLine);

I Try this for bband, But it give me one color only.

Plot( BBandTop( p, 15, 2 ), "BBTop" , IIf( BBandTop(15,2) > Ref( 
BBandTop(15,2), -1 ), colorGreen, colorRed ), styleLine); 
Plot( BBandBot( P, 15, 2 ), "BBBot" ,IIf( BBandBot(15,2) > Ref( 
BBandBot(15,2), -1 ), colorGreen, colorRed ), styleLine); 

Thanks





--- In [email protected], Graham <[EMAIL PROTECTED]> wrote:
>
> You do not need to keep re-posting
> I would say you have not quite described exactly what you want to 
do with
> the BBandtop and bbandbot
> 
> 
> -- 
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://www.aflwriting.com
> 
> On 04/11/06, softnews2003 <[EMAIL PROTECTED]> wrote:
> >
> >
> > I'm using MA calories formula as bellow:
> >
> > Plot( MA(C,15), "MA -15 ", IIf( MA(C,15) > Ref( MA(C,15), -1 ),
> > colorGreen, colorRed ), styleLine);
> >
> > And I would like to use this method in (BBandTop and BBandBot)
> > indicator. But I couldn't do it.
> >
> > Can any one help me in it please?
> >
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get 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
> >
> >
> >
> >
> >
>





Please note that this group is for discussion between users only.

To get 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to