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

Exe too large



PureBytes Links

Trading Reference Links

I appreciate the responses to my original post, but I'm still curious about
the normal
expectations when coding a system.  I'm inserting below the complete code
for a system I was working on that produced the "Exe too large" error.  This
is a very small piece of code, even though some parts reference externally
defined functions which contribute to the total size.

Is it normal to expect this error from this quantity and type of code?

If so, what should I do--Code every line in a different module?  Seriously.

Regards,
Glenn

{************************************************************

	System		:Short0809
	Last Edit	: 1/15/98

	Provided By	: Glenn Crumpley

	*************************************************************}

Inputs:
Length(10),PctRLen(75),FiltrPct(15),AdMomLen(10),XAvgLen(10),EnFast(8.3896),
EnSlow(17.5185),EnAvg(9.0503),ExFast(8.3896),ExSlow(17.5185),ExAvg(9.0503),S
lopeLen(4),AvgLen(10);

Vars: AMA(Close), Filter(0), AMAlo(Close), AMAhi(Close);

AMA = _AMA(Close, Length);

Filter = FiltrPct * StdDev(AMA - AMA[1], Length) / 100;

AMAlo = iff(AMA < AMA[1], AMA, AMAlo[1]);
AMAhi = iff(AMA > AMA[1], AMA, AMAhi[1]);

if AMAhi - AMA > Filter and high<Parabolic(.02) and
LinearRegSlope((ADX(18)),3)>0 and
MRO(PercentR(PctRLen)>BollingerBand((PercentR(PctRLen)),7,1.5),30,1)>MRO(Per
centR(PctRLen)<BollingerBand((PercentR(PctRLen)),7,-1.5),30,1) then Sell at
Market;

IF PercentR(PctRLen)>BollingerBand((PercentR(PctRLen)),7,1.5) then begin
   Print("Date: ",Date,"  PercentR:",PercentR(PctRLen),"
BBUp:",BollingerBand((PercentR(PctRLen)),7,1.5));
   ExitShort("BBUp") at Market;
End;