PureBytes Links
Trading Reference Links
|
Hello Ray,
This was something that I had run into with TS4 way back when the 64Kb
limit was a problem. The includesystem statement causes the system to
be included regardless of the conditional. Each system should be self
contained.
The only thing that I could do was to check MarketPostition and
BarsSinceEntry in system B to determine if system A went into the
market. If I remember correctly, even putting the includesystem
statement at the beginning or end makes no difference as to where the
system gets included/executed within the code.
-- Roy
Thursday, August 8, 2002, 9:07:25 PM, you wrote:
RG> Hmmm.. I'm stumped.
RG> I'd like to have the option to ignore an IncludeSystem statement within a
RG> signal. I thought this would be simple, but apparently I'm missing
RG> something.
RG> Here's what I'm attempting to do... If input Report is set to <> 1, then
RG> IncludeSystem statement would/should _not_ execute. If Report is set to 1,
RG> then IncludeSystem statement would/should execute. Unfortunately, the
RG> IncludeSystem statement executes no matter what value "Report" is set to.
RG> It's like the compiler is overriding the conditional statement in favor of
RG> the IncludeSystem directive. Any help/insight appreciated...
RG> Inputs: Report(0);
RG> If Report = 1 then begin
RG> IncludeSystem: "whatever" ;
RG> end;
--
Best regards,
Roy mailto:tozar@xxxxxxxxxxxxx
|