try this Plot(25,"",colorDarkGrey,stylenorescale); or simply
plotgrid(25,colorDarkGrey); -- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 18/02/07, Ian Watts <[EMAIL PROTECTED]> wrote: > The following should do the job > > Plot(IIf(Close > 20 AND Close < 28, 25, Null), "", > colorDarkGrey, styleNoTitle); > > Ian > > --- In amibroker@yahoogroups.com, "jflynnnz" <[EMAIL PROTECTED]> > wrote: > > > > I want to chart lines at particular price levels. I have > > constructed a line of code however this also plots when price > is > > outside that specified in the code. > > > > I would appreciate if someone could modify my code. > > > > IIf (((Close > 20) AND (Close < 28)), Plot > > 25,"",colorDarkGrey,styleNoTitle),Null); > > > > 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 > > > >