Great ... thanks

A
  ----- Original Message ----- 
  From: Lal 
  To: [email protected] 
  Sent: Sunday, October 28, 2007 4:00 PM
  Subject: Re: [amibroker] Re: Plotshapes


  Ara,

  A snippet from one of my indicators...


  if(New_Sigs) 
  { 
     PlotShapes(shapeUpArrow * New_Close_Up, colorGreen, 0, L, -15); 
     PlotShapes(shapeDownArrow * New_Close_Dn, colorRed, 0, H, -15); 
  } 

  In this example, the "Y" position parameter is the Low or the High of the 
plotted bar in question with a constant offset of 15.

  Hope this helps....

  Cheers,
  Lal


  ----- Original Message ----
  From: Ara Kaloustian <[EMAIL PROTECTED]>
  To: [email protected]
  Sent: Sunday, 28 October, 2007 9:04:19 PM
  Subject: Re: [amibroker] Re: Plotshapes



  Thanks for the response ... but how do you set the offset from the high value 
of the bar?


    ----- Original Message ----- 
    From: apfxtrader 
    To: [EMAIL PROTECTED] ps.com 
    Sent: Sunday, October 28, 2007 1:50 PM
    Subject: [amibroker] Re: Plotshapes


    PlotShapes( shape, color, layer = 0, yposition = graph0, offset = -12 ); 

    offset - (or distance) parameter (by default -12 ), Offset is expressed in 
SCREEN pixels. Negative offsets shift symbols down, positive offsets shift 
symbol up. To place the shape exactly at ypostion, specify 0 as offset 



    --- In [EMAIL PROTECTED] ps.com, "Ara Kaloustian" <[EMAIL PROTECTED]> wrote:
    >
    > Plotshapes seems to place the shapes at the specified distance above / 
below the close of the bar.
    > 
    > Is it possible to specify the distance for high or low?
    > 
    > Thanks
    > 
    > Ara
    >






------------------------------------------------------------------------------
  For ideas on reducing your carbon footprint visit Yahoo! For Good this month. 
 

Reply via email to