You needed more inputs into the functions
p=C;
Plot( BBandTop( p, 15, 2 ), "BBTop" , IIf( BBandTop(p,15,2) > Ref(BBandTop(p,15,2), -1 ), colorGreen, colorRed ), styleLine);
Plot( BBandBot( P, 15, 2 ), "BBBot" ,IIf( BBandBot(p,15,2) > Ref(BBandBot(p,15,2), -1 ), colorGreen, colorRed ), styleLine);


--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com

On 04/11/06, Anthony Faragasso <[EMAIL PROTECTED]> wrote:

Plot

( MA(C,15), "MA -15 ", IIf( MA(C,15) > Ref( MA(C,15), -1 ),

colorGreen

, colorRed ), styleLine);

 

 

Plot

( BBandTop( C, 15, 2 ), "BBTop" , IIf( BBandTop(C,15,2) > Ref(

BBandTop

(C,15,2), -1 ), colorGreen, colorRed ), styleLine);

Plot

( BBandBot( C, 15, 2 ), "BBBot" ,IIf( BBandBot(C,15,2) > Ref(

BBandBot

(C,15,2), -1 ), colorGreen, colorRed ), styleLine);
----- Original Message -----
From: softnews2003
Sent: Friday, November 03, 2006 9:29 PM
Subject: [amibroker] Re: How to

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




avast! Antivirus: Inbound message clean.

Virus Database (VPS): 0645-4, 11/03/2006
Tested on: 11/3/2006 9:50:09 PM
avast! - copyright (c) 1988-2006 ALWIL Software.





__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to