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
>


Reply via email to