Forex Tester Forum (Professional Training Software for Traders) Forum Index Forex Tester Forum (Professional Training Software for Traders)

Back to main site   Risk disclosure
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Development tools

 
Post new topic   Reply to topic    Forex Tester Forum (Professional Training Software for Traders) Forum Index -> FT API
View previous topic :: View next topic  
Author Message
Terranin
Site Admin


Joined: 21 Oct 2006
Posts: 831

PostPosted: Mon Sep 28, 2009 3:32 pm    Post subject: Development tools Reply with quote

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
View user's profile Send private message
christoff



Joined: 09 Nov 2006
Posts: 34

PostPosted: Fri Apr 16, 2010 10:50 am    Post subject: Problems with setting up Lazarus Reply with quote

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



lazarus error.png
 Description:
 Filesize:  129.84 KB
 Viewed:  13993 Time(s)

lazarus error.png


Back to top
View user's profile Send private message
christoff



Joined: 09 Nov 2006
Posts: 34

PostPosted: Fri Apr 16, 2010 1:39 pm    Post subject: Problem solved Reply with quote

I solved the problem. I uninstalled ver 28 and installed ver 26 and everything is OK
Back to top
View user's profile Send private message
GreenBanana



Joined: 19 Mar 2011
Posts: 2

PostPosted: Sat Mar 19, 2011 2:18 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
FT Support



Joined: 11 Jul 2009
Posts: 901

PostPosted: Sat Mar 19, 2011 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
GreenBanana



Joined: 19 Mar 2011
Posts: 2

PostPosted: Sat Mar 19, 2011 5:49 pm    Post subject: Reply with quote

Got it.. Thanks
Back to top
View user's profile Send private message MSN Messenger
seattlerust



Joined: 10 Oct 2008
Posts: 11

PostPosted: Thu Mar 31, 2011 5:11 pm    Post subject: Visual Basic Reply with quote

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
View user's profile Send private message
FT Support



Joined: 11 Jul 2009
Posts: 901

PostPosted: Thu Mar 31, 2011 7:18 pm    Post subject: Reply with quote

Hello SR,

Sorry, we do not have VB API, i'd suggest you to use Delphi, it is a bit more user-friendly than C++

Please see more information about FT API here:

Forex Tester -> Help -> Strategies API
Forex Tester -> Help -> Indicators API
http://www.forextester.com/forum/viewforum.php?f=8
http://www.forextester.com/forum/viewforum.php?f=9

_________________
Check our other products here:
www.fx-metropolis.com
www.forexcopier.com
Back to top
View user's profile Send private message Visit poster's website
NudgeFX



Joined: 19 Aug 2011
Posts: 5
Location: Australia

PostPosted: Mon Aug 22, 2011 12:11 am    Post subject: Re: Problems with setting up Lazarus Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Forex Tester Forum (Professional Training Software for Traders) Forum Index -> FT API All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group