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

RE: [system-traders] price per point



Hi,

this looks like a bug in GT, however I think it's not related to the points issue you mentioned.

We've had a similar problem before, with GT trying to access negative array indices, and my guess
is that this is a problem with one of the indicators/signals being used not handling dependencies
correctly.

Regarding your data, are you running the backtest with only 10 records in the data file, or is
this just a sample ?

If this problem is what I'm thinking, maybe you can work around this bug by using more data
in your file.




-----Original Message-----
From: ITM Services [mailto:support
AT
itmsvs.com]
Sent: Monday, December 06, 2004 12:00 AM
To: system-traders
AT
geniustrader.org
Subject: [system-traders] price per point


How do you change the points, let say I want to use soy as the example. In 
stocks, a 100 point move is $1.00, but with soy, one point would be $50.00 
...is there a way to do this in an Alias?

Some sample data that I'm using:

428.00  436.25  428.00  435.00  14473   11-01-2001
433.50  436.25  433.00  433.50  9404    11-02-2001
432.00  436.75  432.00  435.50  6107    11-05-2001
435.00  437.25  431.50  432.00  5299    11-06-2001
433.50  441.50  433.50  439.00  2795    11-07-2001
442.00  442.00  434.50  434.75  2074    11-08-2001
437.00  444.00  434.50  441.75  2259    11-09-2001
442.00  446.00  440.00  445.00  1841    11-12-2001
443.50  445.00  442.00  442.25  1159    11-13-2001
444.00  449.00  443.50  448.00  681     11-14-2001

I'm asking as I am assuming this is my problem. Using backtest.pl, I get the 
error

Modification of non-creatable array value attempted, subscript -2 at 
../GT/CacheValues.pm line 58.

using: ./backtest.pl ChannelBreakout soy

(yes, the file is soy.txt)

the above test works fine on your sample data (./backtest.pl ChannelBreakout 
13000 for example), but breaks using my soy data.