PureBytes Links
Trading Reference Links
|
Valerie,
One of the keys to reducing the size of your EasyLanguage executable (and avoiding the need to write a dll) is reducing the number of inputs and variables you use.
Where possible, use fixed numbers in place of inputs and use the built-in variables (Value1, Value2, ...) in place of user-declared variables. Also, try to reduce or eliminate the use of functions which have a large number of inputs. If a funtion you're using requires a large number of inputs, consider building the function code right into your system and hard-coding the input values (as fixed numbers). Also, remember that many of Omega's built-in functions have not been optimized for size so you may be able to create your own, smaller versions of them.
If all else fails, post your code to the list...
The Omega Man
>
> ---- you wrote:
> >
> > Hi everybody,
> >
> > Please can EL experts give any hints on general ways
> > how to handle "Memory error: EXE code too large" error
> > situation in TS4 (build21) on W98/64Mb RAM?
> > I have my trading system successfully saved and verified after
> > some minor changes but producing error message on recalculation
> > phase. I use multiple exits and reentry signals in the system.
> > Which EL code statements are critical in volume when
> > compiling the source code? Which are better to be placed
> > in separate variables, functions, include-systems etc.
> > TIA.
> >
> > Best regards,
> > Valery Bartashevich
> > Minsk, Belarus
> > E-mail: bvs97f@xxxxxxxxx
> > ICQ#12107901
> >
> >
> > =====
> >
>
>
> ------------------------------------------------------
|