PureBytes Links
Trading Reference Links
|
-----Message d'origine-----
De : Clyde Lee <clydelee@xxxxxxx>
À : Pierre Orphelin <pierre.orphelin@xxxxxxxxxx>; Omega List
<omega-list@xxxxxxxxxx>
Date : Wednesday, March 29, 2000 05:04
Objet : Re: Recalculation after Changes in Code
Pierre,
Some day you will get enough intelligence to be able to
generate a reasonable reply but as of this date you have
not reached that august state.
==
Pfff....
Read below, I reached this Nirvana state just before receiving your mail, so
enjoy.
There is NO WAY other than what I am doing that I can
make a change in parameters to a single system and have
that apply to ALL symbols in a Workspace.
==
You should consider global variables to spread your parameters where you
want and to any chart in any workspace.
This is for the first solution.
A second one is to write an user function ( with the array export feature)
to spread your parameters where you want and according to the local ( chart
symbol, exchange symbol) condition where the system is supposed to run.
You will probably have to rewrite some internal code to make it accept these
variable inputs, but this is an other story.
The function, will send a different array ( or arrays) of parameters
according to what is expected in the current chart, and the internal
discrimination will be done inside the user fuction.
You may even use a single TS input to have your system tied to a considered
workspace, and just change this input to let TS2000 recognize the workspace
name.
Combining the input for the workspace name and the array function exporting
the local parameters will solve your problem.
It does not make a damn how you do it. For every level
that a routine is embedded, TS will recalculate each level
UP.
===
Probably.
Include system is old tchnology, left here for ascending compatibility
That ain't only my conclusion -- that is confirmed by OMEGA,
your heroes.
===
Nothing to do with your problem.
I usually find how to use their software, even if it's not always immediate
for complicated problems
PO
www.sirtrade.com
|