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

Re: Using variables in SuperCharts



PureBytes Links

Trading Reference Links

At 09:31 AM 12/22/97 -0600, you wrote:
>I'm just getting to the point of general familiarity with SuperCharts and
>Easy Language.  Maybe I've just discovered one of the basic limitations
>of SuperCharts EasyLanguage and I just want confirmation from more
>experienced
>users.  There seems to be no way to assign values to variables in a
>statement,
>such as:
>   iff(close>open,Flag1=1,Flag1=0)
>
>Am I correct in my understanding that this is not possible in SuperCharts?
>
>Regards,
>Glenn Crumpley

It appears that you are not using the IFF( )  fuction correctly.  The
correct format is as follows:

  
>  Flag1 =  iff(close>open,1,0)

You could use this in Supercharts in a system without the reference to Flag1
as follows:

IF  iff(close>open,1,0) = 0 THEN...


Best Regards,
William Brower
Inside Edge Systems
Publisher of TS Express 
The TradeStation Users Journal
Free Sample Available (Send Mail Address)

Internet: 1000mileman@xxxxxxxxxxxxxx
Tel: 203-454-2754 
Fax: 203-221-9195