Example of Building a DLL with Delphi

Delphi will build DLLs that can be easily called by the NeuroShell Trader, just as C and Powerbasic DLLs can be called. Click here to download an example we built with Delphi 3.0, along with all the compiler files needed. The file project1.dpr contains the source code which can be read in the Windows Notepad in case you do not currently own Delphi.

This example builds a simple moving average identical to the example we previously built in PowerBasic. If you want to run this example, put the .dll file and the .tpl file into the “template” folder of the Trader directory. There is also a chart which uses the indicator; the indicator appears under the Custom Indicators category.

Was this article helpful?

Related Articles