PureBytes Links
Trading Reference Links
|
>I now use TradeStation only for its charting module and some strategy
>testing and optimization -- for real time data collection I use DTN/TRAX
>and for computations instead of Easy Language I use Visual Basic, which is
>much more stable and developed. I have a lot of legacy code in EL and
>would like to convert it all to VB. Does anyone know of an EL-->VB translator?
I don't think it's practical. EL and VB have virtually one-for-one
syntax except for the strategy commands. The problem is that the
way ES handles functions won't translate into VB. In EL, every
instance of a function call retains its own set of local variables,
and each local variable has its own history. All local variables
within each function retain their state from one bar to the next.
This is NOT the same as static variables in VB. It's as if you had
a SEPARATE set of static variables for EACH place that you call a
function.
You can imagine it's like every instance of a function call results in
an inline expansion of that function call right at that point in the
code. VB doesn't do that.
--
,|___ Alex Matulich -- alex@xxxxxxxxxxxxxx
// +__> Director of Research and Development
// \
// __) Unicorn Research Corporation -- http://unicorn.us.com
|