I am trying to make a strategy for FT 2.2 with Microsoft Visual C++ 2008 Express Edition. I load the .dll but it says "Cannot install strategy, file will be deleted."
Any known issues with making these strategies with Microsoft Visual C++ 2008 Express Edition?
Microsoft Visual C++ 2008 Exp Ed for making strategies?
-
- Posts: 3
- Joined: Fri Aug 14, 2009 12:21 pm
-
- Posts: 11
- Joined: Wed Aug 19, 2009 11:49 pm
- Location: Singapore
it works for me
Hello, I just installed VC++ express and it works fine for me. I can create strategy and execute them in FT2.2
Have you followed the instructions in the first programming lesson to create your DLL ?
It works for me but I am struggling with the FT functions, the documentation is not easy for me.
Good Luck
Have you followed the instructions in the first programming lesson to create your DLL ?
It works for me but I am struggling with the FT functions, the documentation is not easy for me.
Good Luck
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
zortag wrote:Did you ever resolve this issue? I too am using VC++ 2008 and cannot install the strategy. Do I need to use VC++ 2005 instead?
If you can not install strategy, there could be 2 reasons:
- you did not declare procedures InitStrategy, GetSingleTick and others as external in *.def file, or did not attach this file to the project (see Lesson 1). So Forex Tester can not find them in resulting dll file and assumes that this is not a strategy file.
- you used some trade functions (that is not allowed) in InitStrategy procedure. These functions will produce error and again Forex Tester assumes that this is a strategy that can not work properly and will delete it.
Hasta la vista
Mike
Mike
Return to “Programming lessons”
Who is online
Users browsing this forum: No registered users and 24 guests