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

Re: [amibroker] Re: Plotshapes



PureBytes Links

Trading Reference Links


Great ... thanks
 
A
----- Original Message -----
From: Lal
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 <ara1@xxxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
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
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 amibroker@xxxxxxxxx ps.com, "Ara Kaloustian" <ara1@xxx> 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.
__._,_.___

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




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

__,_._,___