| View previous topic :: View next topic |
| Author |
Message |
Terranin Site Admin

Joined: 21 Oct 2006 Posts: 831
|
Posted: Mon Sep 28, 2009 3:32 pm Post subject: Development tools |
|
|
Forex Tester API allows you to create and install your own indicator or strategy (Expert Adviser) to Forex Tester. API is available for C++ and Borland Delphi (Object Pascal) languages. It is set of files (with useful functions) that you attach to your project to compile resulting *.dll file. Then you can install this file in Forex Tester. You can find API files after installation of Forex Tester in <ForexTester>\Examles\ folder with indicators and strategies examples.
I can recommend to use next tools to compile your projects. API was tested with these tools and they work fine. Also some of them are absolutely free to use even in commercial purpose:
1. Borland Delphi - any Delphi version starting from Delphi 7. Unfortunately it is not free now (they provided free Turbo Delphi Explorer before). You can see Delphi tutorials here: http://www.forextester.com/forum/viewforum.php?f=9
2. Lazarus - free cross platform pascal compiler. Can compile Delphi code without problems. You can download it here: http://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2032%20bits/Lazarus%200.9.26.2/lazarus-0.9.26.2-fpc-2.2.2-win32.exe/download
See how to install it and compile indicator in this video: http://www.youtube.com/watch?v=kL7z8kG7WCw
3. Microsoft Visual C++ 2005 Express Edition (you can download this tool from Microsoft site www.microsoft.com) - it is also free. Or you can use other C++ compilers.
_________________ Hasta la vista
Mike |
|
| Back to top |
|
 |
christoff
Joined: 09 Nov 2006 Posts: 34
|
Posted: Fri Apr 16, 2010 10:50 am Post subject: Problems with setting up Lazarus |
|
|
Hi Mike,
I downloaded the lazarus compiler and installed it exactly as per your video.
Only difference is that my IndicatorInterfaceUnit.pas (39KB) and TechnicalFunctions.pas (9KB) files is in adifferent sub-folder. It were in ForexTester2/Examples/Indicators/Delphi. I did copy them to the Projects directory under lazarus.
I checked and double checked my settings according to those in the video.
However, when I run "Build" for "Alligator.dpr" it gives me the errors as shown in the attached image.
I assume some of my settings are not correct, please help.
Regards,
Christoff
| Description: |
|
| Filesize: |
129.84 KB |
| Viewed: |
13799 Time(s) |

|
|
|
| Back to top |
|
 |
christoff
Joined: 09 Nov 2006 Posts: 34
|
Posted: Fri Apr 16, 2010 1:39 pm Post subject: Problem solved |
|
|
| I solved the problem. I uninstalled ver 28 and installed ver 26 and everything is OK
|
|
| Back to top |
|
 |
GreenBanana
Joined: 19 Mar 2011 Posts: 2
|
Posted: Sat Mar 19, 2011 2:18 pm Post subject: |
|
|
Hi Mike,
I am running thru the installation of the Lazarus using your posted youtube video.
I still could not find the file alligator.dpr ( only alligator.dll available in my folders)
Managed to find the other 2 files (indicatorinterface.pas & TechnicialFunction.pas) thru this forum.
Please advise how i could get this alligator.dpr file from?
Thanks~~
|
|
| Back to top |
|
 |
FT Support
Joined: 11 Jul 2009 Posts: 901
|
Posted: Sat Mar 19, 2011 5:19 pm Post subject: |
|
|
Hello,
Please find "alligator.dpr" file in <your Forex Tester install path>\Examples\Indicators\Delphi\IndicatorsSrc
_________________ Check our other products here:
www.fx-metropolis.com
www.forexcopier.com |
|
| Back to top |
|
 |
GreenBanana
Joined: 19 Mar 2011 Posts: 2
|
Posted: Sat Mar 19, 2011 5:49 pm Post subject: |
|
|
| Got it.. Thanks
|
|
| Back to top |
|
 |
seattlerust
Joined: 10 Oct 2008 Posts: 11
|
Posted: Thu Mar 31, 2011 5:11 pm Post subject: Visual Basic |
|
|
HI,
Is it possible to use Visual Basic to develop indicators or strategies for Forex Tester? If not, which of the available languages is the closest to VB?
Thanks,
SR
|
|
| Back to top |
|
 |
FT Support
Joined: 11 Jul 2009 Posts: 901
|
|
| Back to top |
|
 |
NudgeFX
Joined: 19 Aug 2011 Posts: 5 Location: Australia
|
Posted: Mon Aug 22, 2011 12:11 am Post subject: Re: Problems with setting up Lazarus |
|
|
| christoff wrote: | Hi Mike,
I downloaded the lazarus compiler and installed it exactly as per your video.
Only difference is that my IndicatorInterfaceUnit.pas (39KB) and TechnicalFunctions.pas (9KB) files is in adifferent sub-folder. It were in ForexTester2/Examples/Indicators/Delphi. I did copy them to the Projects directory under lazarus.
I checked and double checked my settings according to those in the video.
However, when I run "Build" for "Alligator.dpr" it gives me the errors as shown in the attached image.
I assume some of my settings are not correct, please help.
Regards,
Christoff |
you can solve this error by adding interfaces to your uses clause, and select NoGUI under compiler options - paths for the LCL widget type
|
|
| Back to top |
|
 |
|