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

[amibroker] Re: How to Enlarge BUY and SELL arrows on Chart



PureBytes Links

Trading Reference Links

Hi,

I believe that you are restricted to the predefined set of shapes 
built into AmiBroker as found in the User's Knowledge Base here:

http://www.amibroker.org/userkb/2008/03/15/afl-shapes-cheat-sheet/

I don't think that you can use any other shapes/sizes than the 
predefined ones above.

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "electricwally77" <soundmaker@xxx> 
wrote:
>
> Hello Edward. Thank you for helping. Please bear with me I am not a
> programmer but learning. I simply took two of the lines of code you
> sent me which are :
>  
> PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGreen,0,L,-15);
> PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0,H,-15);
> 
> I placed these in my Formula Editor File along with the code to my
> system and received an error message which said:
> 
> Variable 'buy' used without having been initialized.
> Variable 'sell' used without having been initialized.
> 
> Just curious what I need to accomplish to enlarge the buy and sell
> arrows. Thank you. 
> 
> 
> 
>  --- In amibroker@xxxxxxxxxxxxxxx, "Edward Pottasch" <empottasch@>
> wrote:
> >
> > electricwally,
> > 
> > you can choose different symbols. However, I like to put a little
> circle on the exact price that I buy/sell and an arrow further
> below/above.
> > 
> > for example:
> > 
> > PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGreen,0,L,-15);
> > PlotShapes(IIf(Buy,shapeHollowUpArrow,shapeNone),colorWhite,0,L,-
15);
> >
> PlotShapes(IIf
(Buy,shapeHollowSmallCircle,shapeNone),colorWhite,0,BuyPrice,0);
> > 
> > PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0,H,-15);
> > PlotShapes(IIf
(Sell,shapeHollowDownArrow,shapeNone),colorWhite,0,H,-15);
> >
> PlotShapes(IIf
(Sell,shapeHollowSmallCircle,shapeNone),colorWhite,0,SellPrice,0);
> > 
> >
> PlotShapes(IIf
(Short,shapeDownTriangle,shapeNone),colorYellow,0,H,IIf(Short
> AND Sell,-30,-15));
> >
> PlotShapes(IIf
(Short,shapeHollowDownTriangle,shapeNone),colorWhite,0,H,IIf(Short
> AND Sell,-30,-15));
> >
> PlotShapes(IIf
(Short,shapeHollowCircle,shapeNone),colorWhite,0,ShortPrice,0);
> > 
> >
> PlotShapes(IIf
(Cover,shapeUpTriangle,shapeNone),colorLightBlue,0,L,IIf(Cover
> AND Buy,-30,-15));
> >
> PlotShapes(IIf
(Cover,shapeHollowUpTriangle,shapeNone),colorWhite,0,L,IIf(Cover
> AND Buy,-30,-15));
> >
> PlotShapes(IIf
(Cover,shapeHollowCircle,shapeNone),colorWhite,0,CoverPrice,0);
> > 
> > 
> > 
> >   ----- Original Message ----- 
> >   From: electricwally77 
> >   To: amibroker@xxxxxxxxxxxxxxx 
> >   Sent: Wednesday, November 05, 2008 8:17 PM
> >   Subject: [amibroker] How to Enlarge BUY and SELL arrows on Chart
> > 
> > 
> >   Hello Members, I am trying to enlarge the buy and sell arrows 
on my
> >   chart so they are easier to see. I understand that the larger 
the
> >   arrows are (if possible), the harder it is to read the buy and 
sell
> >   plots if there are many trades over a specific period.
> > 
> >   I would like to know if making the arrows larger is possible 
and how.
> >   Thank you.
> >
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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

<*> 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/