PureBytes Links
Trading Reference Links
|
Passing variables to and from a Dll is a very straight foreward
procedure (when you know what Omega had in mind). You either send the
variable BYVALue or you send a pointer. The Dll function can return a
single value to EL, or you can return multiple variables using pointers
in the function call arguments. Strings which are sent by pointer only.
The easy way to do this is with Power Basic as they create true 32bit
Dlls (and .exe too). The harder way is to do it with C or C++ which has
a long steep learning curve.
Omega also provides access to any variable or array in a Dll with its
confusingly documented ELKit32.Dll. With this you can also access Date
Time O H L C for any bar in the data series and convert dates to Julian
(in a different way than in EL tho!)
I have written alot of code in Dlls for Tradestation. They execute very
fast and give you access to the full windows 32bit API, not to mention
some very powerfull tools like TYPEs (Methods in C) and other math
functions. Porting EL functions to another language takes a little time
but is possible as the code is available in EL. If you have any
questions let me know.
Regards
Mike
|