I first made a strategy that was installed perfectly.
Now when I made another strategy in exactly the same way, when I try to install it I get a popup saying:
Can not install strategy, file will be deleted.
Have error: Can not find or load "strategy.dll".
What is that strategy.dll? My strategy dll file is called strategy_c.dll.
Can not find or load strategy.dll
-
- Posts: 8
- Joined: Sun Feb 09, 2014 2:23 am
-
- Posts: 8
- Joined: Sun Feb 09, 2014 2:23 am
Problem solved.
The error message "Can not find or load strategy.dll" made me think that the problem must be in the installation or a bug in FT. However when I commented out code in my strategy I found that this global declaration caused it:
int bars = Bars();
Of course that initialization must be in InitStrategy().
It would be nice with better error messages!
The error message "Can not find or load strategy.dll" made me think that the problem must be in the installation or a bug in FT. However when I commented out code in my strategy I found that this global declaration caused it:
int bars = Bars();
Of course that initialization must be in InitStrategy().
It would be nice with better error messages!
Who is online
Users browsing this forum: No registered users and 20 guests