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

Re: TS2Ki: Floating point invalid numbers in calculation


  • Date: Mon, 28 Dec 2009 16:39:15 -0600
  • From: "Samuel K. Tennis" <sktennis@xxxxxxxxxxxxxxxxxx>
  • Subject: Re: TS2Ki: Floating point invalid numbers in calculation

PureBytes Links

Trading Reference Links

At 12:35 PM 12/19/2009, you wrote:
Date: Sat, 19 Dec 2009 10:35:44 -0800 (PST)
Subject: RE: TS2Ki: Floating point invalid numbers in calculation

On Thu, 17 Dec 2009, Gene Pope wrote:

Thanks for all the replies.

Bob: I don't know why "if CurrentBar <= 1" would behave any different than "if CurrentBar = 1". I have always used the <= convention because I can never remember if the first bar starts at 1 or 0.

The first bar will be "1" unless you reference tomorrow's date, time or open anywhere in the code. Then the first bar will be "0".


-Alex


Samuel K. Tennis
Vista-Research                        voice: 1(850) 243-5105
129 Staff Drive, NE                    cell: 1(850) 582-7342
Ft. Walton Beach, FL  32548             fax: 1(510) 743-8274
<SKTennis@xxxxxxxxxxxxxxxxxx> <http://www.vista-research.com>

        ***** EasyLanguage Spoken Here *****