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

Re: [amibroker] Multi Row Colored Ribbons



PureBytes Links

Trading Reference Links

If you mean different ribbons on top of each other, you can plot 3, 4, etc instead of 2, but be sure to plot the shorter ones in front.

Steve

  ----- Original Message ----- 
  From: MarketMonk777 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Monday, July 24, 2006 3:50 AM
  Subject: [amibroker] Multi Row Colored Ribbons



  Hi folks,

  I have the following code which plots a colored ribbon based on a MACD indicator.  This code works well and have attached a picture showing how it looks.

  _SECTION_BEGIN("MACD Color Bar");

  m = MACD(); 

  s = Signal(); 

  MACDColor = IIf( m > s, colorLime, colorLightOrange);

  Plot( 2, "", MACDColor, styleArea|styleOwnScale|styleNoLabel, 0, 100);

  _SECTION_END();



  What I would like to do is to create multi row ribbons.  Is this possible?  I have tried a number of different things without success.

  Regards,

  Dave