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

Re: IncludeSystem Question



PureBytes Links

Trading Reference Links

Bill,
    I think you are looking for the IncludeSignal statement.  Note *signal*,
not *system*.
    For example, this line includes my _stops_s strategy within another
strategy...

       includeSignal: "_stops_s",
          0,    {timeInTrade}
          0,    {stopLossPct}
          0,    {trailStopProfitTargetPct}
       3.5,    {trailStopPct}
          0,    {profitTargetPct}
          0;    {minimumProfitPct}

Regards,
Peter

----- Original Message -----
From: "Bill Vedder" <bved01@xxxxxxx>
To: <omega-list@xxxxxxxxxx>
Sent: Saturday, February 09, 2002 9:23 AM
Subject: IncludeSystem Question


Using TS4 and having a problem getting an IncludeSystem to work...

I'm writing code to do post trade analysis. When I try to verify the
system that has the line

IncludeSystem:"TAP", LenSt, LenIT, LenLT, PrnFile, ID;

I get the error

"Variables and arrays not allowed here"

and the input "ID" is highlighted.  "ID" is a character input.

When I remove "ID" as an input, both the mainsysem and includesystem
verify ok.

Does anyone know if one can use a string input in an IncludeSystem
statement?

Any help much appreciated.

Best,

Bill Vedder