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

[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.