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

Re: use IF statement, return nul value



PureBytes Links

Trading Reference Links

I tried to plot the "unplottable" dummy indicator and my version 7.0 of 
Metastock returned the following error message when I tried to close the 
Edit session:

"This variable or expression must contain only constant data."

So, at least in v7.0, this does not work.

John

----- Original Message ----- 
From: "hcong" <hcong@xxxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Saturday, January 27, 2001 8:37 PM
Subject: Re: use IF statement, return nul value


> One way is to force Metastock to plot an *unplottable* dummy indicator:
> 
> Eg:  If( condition , value to plot when true , RSI(cum(1)+1) )
> 
> > Subject: RE: use IF statement, return nul value
> 
> 
> -- 
> 
> Regards.
> 
> Ong Hock Choon
> hcong@xxxxxxxxxxxxxx
>