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

Re: BarNumber function



PureBytes Links

Trading Reference Links

It verifies in TradeStation 8...

Are you sure the minus sign is a minus sign and not some other look-alike symbol?

BarNumber is a function call. It might be better to use CurrentBar.

Bob Fulks


At 03:51 PM 2/6/2005, Dale Glaspie wrote:

>Why does the following code not verify?
>
>Condition1 = TradeLevel > 0;
>
>IF Condition1 then
>  Value1 = BarNumber;
>IF BarNumber > Value1 then
>  Value2 = BarNumber - Value1;
>
>According to the TS manual this should be written properly but it shows an
>error stating the "minus sign" is not recognized by Easy Language.
>
>Thanks for help.