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

[amibroker] Re: Ploting price related line



PureBytes Links

Trading Reference Links

The following should do the job

Plot(IIf(Close > 20 AND Close < 28, 25, Null), "", 
colorDarkGrey, styleNoTitle);

Ian

--- In amibroker@xxxxxxxxxxxxxxx, "jflynnnz" <johnflynn@xxx> 
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
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 2/18/2007 4:35 PM