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

Re: re : easy code



PureBytes Links

Trading Reference Links

Hello Lawrence,

Is there a need to initialize a counter to 0 in easylanguage?
For instance counter=0; in this case before starting the if thens.

What is the default value of numerical variables?
0 maybe

Thank you.

----- Original Message -----
From: "Lawrence Chan" <stnahc@xxxxxxxx>
To: "Cameron Jones" <camster@xxxxxxxxxxxxxx>; "omega list"
<omega-list@xxxxxxxxxx>
Sent: Sunday, May 13, 2001 17:38 PM
Subject: Re: re : easy code


>
> just from my old memory, the main problem should be
> the marketposition calls.
>
> it returns a single precision "real" number, not
> an integer.
>
> from time to time, easy language in both TS4 and TS2K
> do not really set it to -1, 0, or 1 correctly.
>
> try using
> "marketposition (0) < 0" and
> "marketposition (0) > 0" instead.
>
> the equal zero part should work fine.
>
> -Lawrence
>
>
> --- Cameron Jones <camster@xxxxxxxxxxxxxx> wrote:
> > Hi all,
> >
> > Ok
> > i did the code ........... but it still doesnt work.
> >  It still shorts more
> > than two losers in a row.  obviously it is something
> > my tired eyes have
> > missed.
> > my original posting is below
> >
> > Regards
> > cameron
> >
>
>
> =====
> Lawrence Chan                http://www.tickquest.com
> Home of trading tools NeoBreadth and NeoTicker series
>
>