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

Data series - why won't this verify?



PureBytes Links

Trading Reference Links

The indicator below will not verify because of "Unresolveable data error". As
can be seen, the data series are all available at the time of verification.

{ *****************************************************************************
 Function : f_TestInputs
 Type   : Series function
 ***************************************************************************** }
  Inputs: InA(NumericSeries),
     InB(NumericSeries),
     InC(NumericSeries),
     InD(NumericSeries),
     inE(NumericSeries),
     inF(NumericSeries),
     InG(Numeric);

Indicator: i_TestFunction
 Inputs: Options 0
 Plot1 = f_TestInputs( Close of Data2,
                     Close of Data3,
                     Close of Data4,
                     Close of Data5,
                     Close of Data10,
                     Close of Data11,
                     Options);

The indicator above will verify if "Close of Data2" is changed to "2" - a
Numeric rather than a NumericSeries.

The indicator can be verified if the data series are declared as inputs and then
passed to the function:

 Inputs: InA Close of Data2
            InB Close of Data3
            InC Close of Data4
            InD Close of Data5
            InE Close of Data10
            InF Close of Data11
            Options 0
 Plot1 = f_TestInputs(InA,
                     InB,
                     InC,
                     InD,
                     InE,
                     InF,
                     Options);

I'm working on complex indicator/system and I'm out of inputs trying to declare
all of the data series as inputs!

Is there a reason why the first example will not verify or is this a bug? I
don't understand why inserting a simple numeric in lieu of the first data series
will allow the indicator to verify.

Earl Adamy