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

Re: [amibroker] Line thickness



PureBytes Links

Trading Reference Links

Hi, Herman


What is the use of     Plot(C,"",1,128);    here ?  If I delete this line, I find the code act as well. 

Also, in PlotOHLC line, argument High=pr, low=p+0.005, high is bigger than low ? Is this correct ?

thanks /tom_itmwh

  ----- Original Message ----- 
  From: Herman 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Friday, December 01, 2006 6:28 PM
  Subject: RE: [amibroker] Line thickness


  You can plot lines of any given thickness using StyleCloud:

  function wPlot( Pr, Txt, Co, St )
  {
  PlotOHLC(Pr,Pr,Pr+0.005,Pr+0.005,"",Co,styleCloud);
  }

  Plot(C,"",1,128);
  wPlot(C,"",2,1);

  best regards,
  herman

  -----Original Message-----
  From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
  Behalf Of cstrader
  Sent: November 30, 2006 7:03 PM
  To: amibroker@xxxxxxxxxxxxxxx
  Subject: Re: [amibroker] Line thickness

  I don't think you can change the line thickness. I fake it however with a 
  homebuilt function:
  Maybe this will help?
  function Drawthickline(Startpoint, DrawColor)

  {

  Offset = 0.01;

  if (ST == "ER")

  {Offset = .001;}

  if (ST == "YM")

  {Offset = .3;}

  if (ST == "EU" OR ST == "FG" OR ST == "AU" OR ST == "GB")

  {Offset = .000001;}

  Plot(Startpoint, "", DrawColor, 5);

  Plot(Startpoint+Offset, "", DrawColor, 5+4096);

  Plot(Startpoint+Offset, "", DrawColor, 5+4096);

  Plot(Startpoint+Offset, "", DrawColor, 5+4096);

  Plot(Startpoint+Offset, "", DrawColor, 5+4096);

  }

  ----- Original Message ----- 
  From: "Bruce Hawkins" <hawkinsk001@xxxxxxxxxxxxx>
  To: <amibroker@xxxxxxxxxxxxxxx>
  Sent: Thursday, November 30, 2006 3:43 PM
  Subject: [amibroker] Line thickness

  > Plot( StochD( 35 , 10 , 1 ), "StochD - 3",
  > colorBlack,styleNoLabel,styleThick);
  >
  > In the above, how can I increase the thickness of the line?
  >
  > thanks
  >
  >
  > 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



   
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.3/562 - Release Date: 12/1/2006 1:12 PM