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

Re: [amibroker] Re: How to



PureBytes Links

Trading Reference Links

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 
  To: amibroker@xxxxxxxxxxxxxxx 
  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 amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> 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 <softnews2003@xxx> 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.
     

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006