PureBytes Links
Trading Reference Links
|
That will put the arrow below the close which may be in the candle. I think you really want to put the buy up arrow below the low and the sell or short down arrow above the high. You can play with the amount. -5 may be enough to get the arrow away from the candle.
up and down arrows seem to require different values than other shapes.
These are the ones I use for arrows:
PlotShapes(Buy * shapeUpArrow, colorGreen, 0, Low, -5);
PlotShapes(Sell * shapeDownArrow, colorred,0, High, -5 );
PlotShapes(Short * shapeHollowDownArrow, colorred, 0, High, -20 );
PlotShapes(Cover * shapeHollowUpArrow, colorgreen, 0, Low, -20);
Here I use -20 for short and cover in case the arrows are on the same bar wiht a buy and sell. That will prevent a buy and cover or short and sell arrows from overlapping.
Barry
--- In amibroker@xxxxxxxxxxxxxxx, "ct1942" <ct1942@xxx> wrote:
>
> OK...I finally got it to work. Thanks for all your suggestions.
>
> ct1942
>
> --- In amibroker@xxxxxxxxxxxxxxx, "ct1942" <ct1942@> wrote:
> >
> > Thanks for all your suggestions. I've tried them all and nothing seems to work. I worked on this for over 4 hours yesterday. I guess I'll just have to put up with this
> >
> > ct1942
> > --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@> wrote:
> > >
> > > PlotShapes( shapeUpArrow * Buy, colorGreen, 0, Close,-12);
> > >
> > > Changes:
> > > 1. add zer0 between color and -12
> > > 2. Graph0 to Close
> > > 3. You may need to change -12 to 12 - not sure which way it is.
> > >
> > >
> > > ----- Original Message -----
> > > From: "ct1942" <ct1942@>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Saturday, September 19, 2009 7:32 PM
> > > Subject: [amibroker] Re: Plot arrows
> > >
> > >
> > > > I'm sorry, I haven't used Amibroker in about 2 years and I'm not familiar
> > > > with plotshapes function.
> > > >
> > > > If I want to get the green arrows below the candles, I've tried this and
> > > > it does not work:
> > > >
> > > > PlotShapes( shapeUpArrow * Buy, colorGreen, graph0,-12);
> > > >
> > > > What am I doing wrong?
> > > >
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@> wrote:
> > > >>
> > > >> I was assuming that you are using Plotshapes function...
> > > >>
> > > >> PlotShapes( shape, color, layer = 0, yposition = graph0, offset = -12 );
> > > >>
> > > >> if you change the -12 to 12 the position of the arrow (or any other shape
> > > >> you use) will shift
> > > >>
> > > >>
> > > >> ----- Original Message -----
> > > >> From: "ct1942" <ct1942@>
> > > >> To: <amibroker@xxxxxxxxxxxxxxx>
> > > >> Sent: Saturday, September 19, 2009 5:16 PM
> > > >> Subject: [amibroker] Re: Plot arrows
> > > >>
> > > >>
> > > >> > Can you show me an example. I don't understand what you mean by "change
> > > >> > the sign of the last parameter"
> > > >> >
> > > >> > Here's what I doing now: Buy= C>5 and c < 5;
> > > >> >
> > > >> > --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@> wrote:
> > > >> >>
> > > >> >> change the sign of the last parameter
> > > >> >>
> > > >> >> ----- Original Message -----
> > > >> >> From: "ct1942" <ct1942@>
> > > >> >> To: <amibroker@xxxxxxxxxxxxxxx>
> > > >> >> Sent: Saturday, September 19, 2009 3:27 PM
> > > >> >> Subject: [amibroker] Plot arrows
> > > >> >>
> > > >> >>
> > > >> >> > How can I get the green buy arrows to plot below instead of above
> > > >> >> > candles?
> > > >> >> >
> > > >> >> >
> > > >> >> >
> > > >> >> > ------------------------------------
> > > >> >> >
> > > >> >> > **** IMPORTANT PLEASE READ ****
> > > >> >> > This group is for the discussion between users only.
> > > >> >> > This is *NOT* technical support channel.
> > > >> >> >
> > > >> >> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > > >> >> > SUPPORT {at} amibroker.com
> > > >> >> >
> > > >> >> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > > >> >> > http://www.amibroker.com/feedback/
> > > >> >> > (submissions sent via other channels won't be considered)
> > > >> >> >
> > > >> >> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > >> >> > http://www.amibroker.com/devlog/
> > > >> >> >
> > > >> >> > Yahoo! Groups Links
> > > >> >> >
> > > >> >> >
> > > >> >> >
> > > >> >> >
> > > >> >>
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> > ------------------------------------
> > > >> >
> > > >> > **** IMPORTANT PLEASE READ ****
> > > >> > This group is for the discussion between users only.
> > > >> > This is *NOT* technical support channel.
> > > >> >
> > > >> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > > >> > SUPPORT {at} amibroker.com
> > > >> >
> > > >> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > > >> > http://www.amibroker.com/feedback/
> > > >> > (submissions sent via other channels won't be considered)
> > > >> >
> > > >> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > >> > http://www.amibroker.com/devlog/
> > > >> >
> > > >> > Yahoo! Groups Links
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >
> > > >
> > > >
> > > >
> > > > ------------------------------------
> > > >
> > > > **** IMPORTANT PLEASE READ ****
> > > > This group is for the discussion between users only.
> > > > This is *NOT* technical support channel.
> > > >
> > > > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > > > SUPPORT {at} amibroker.com
> > > >
> > > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > > > http://www.amibroker.com/feedback/
> > > > (submissions sent via other channels won't be considered)
> > > >
> > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > > http://www.amibroker.com/devlog/
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|