Dear Mike,
I am using Visual C++ 2005. I have successfully built the strategy files included with Forextester. I have also made some of my own strategies.
But i can't seem to build any indicators. not even simple ones. I have taken all the necessary steps and have included all needed header files.
Please help me out.
The Code is attached. you can also find it in the Forextester help file
"Example how to work with objects from indicator".
the log after trying to build is also attached.
Thanks and regards,
Sheraz
PS: if i remove the code body from all the functions (init/calculate etc) and exclude header fles of "technicalfunctions.h" and "Graphics.h", the build would give no errors.
Programming in Visual C++ 2005
-
- Posts: 33
- Joined: Thu Feb 19, 2009 8:40 am
Programming in Visual C++ 2005
- Attachments
-
- error log.rar
- the error log after trying to build in Visual C++ 2005.
- (1.79 KiB) Downloaded 215 times
-
- Test indicator.rar
- The code included in Forextester/help for Visual C++
- (1.03 KiB) Downloaded 234 times
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Re: Programming in Visual C++ 2005
forextester wrote:Dear Mike,
I am using Visual C++ 2005. I have successfully built the strategy files included with Forextester. I have also made some of my own strategies.
But i can't seem to build any indicators. not even simple ones. I have taken all the necessary steps and have included all needed header files.
Please help me out.
The Code is attached. you can also find it in the Forextester help file
"Example how to work with objects from indicator".
the log after trying to build is also attached.
Thanks and regards,
Sheraz
PS: if i remove the code body from all the functions (init/calculate etc) and exclude header fles of "technicalfunctions.h" and "Graphics.h", the build would give no errors.
I am not an expert with C++ and do not have C compiler on my computer at this moment. So can not help you.
Hasta la vista
Mike
Mike
-
- Posts: 33
- Joined: Thu Feb 19, 2009 8:40 am
-
- Posts: 103
- Joined: Sun Jan 02, 2011 6:05 pm
Hi,
Finally understand how to use VC2008 to compile.
Fixed the problem on the Test Indicator.CPP.
Original caused crash to ForexTester
On the Project Properties
- Linker Input -
Module Definition File : Default.Def
Always set to Default.Def with in the following given format together in
the folder of your *.cpp . eg \Test Indicator\Test Indicator.
========================================
LIBRARY
EXPORTS
Init
Done
Calculate
ReplaceStr
IntrfProcsRec
OnParamsChange
========================================
Finally understand how to use VC2008 to compile.
Fixed the problem on the Test Indicator.CPP.
Original caused crash to ForexTester
On the Project Properties
- Linker Input -
Module Definition File : Default.Def
Always set to Default.Def with in the following given format together in
the folder of your *.cpp . eg \Test Indicator\Test Indicator.
========================================
LIBRARY
EXPORTS
Init
Done
Calculate
ReplaceStr
IntrfProcsRec
OnParamsChange
========================================
- Attachments
-
- Test Indicator.rar
- (6.38 KiB) Downloaded 242 times
Return to “Programming lessons”
Who is online
Users browsing this forum: No registered users and 15 guests