Initialisation of all strategies at FT Start ??

How to create strategies and indicators
Message
Author
Phil_Trade
Posts: 94
Joined: Tue Jan 31, 2012 5:14 am
Contact:

Initialisation of all strategies at FT Start ??

#1 Postby Phil_Trade » Tue Jan 31, 2012 5:34 am

Hi all

I'm new in FT. I have read help and forum thread, but don't find why FT run all strategy InitStrategy() if present in Strategies folder, even if I use "Enable/Disable Strategy Execution" button and even if no strategy are selected in the list?
I'm testing a lot of them, and it take long time to load + Init my R sofware or fire my showMessage() command etc

Why strategies are not initialize only when i press START TEST and ONLY if I have check them in the list ?

If i want to modify my strategy with delphi, i cant' compile it until I leave FT ? How can i release strategy.dll file from FT to modify and compile it with delphi ?

Hope i'm clear enough and sorry for my poor english :oops:

thanks for answer
my live account - 8 based pairs with optimized parameters : +188%
http://www.myfxbook.com/members/Philipp ... jpg/519044
TradeSlide : http://bit.ly/14R9Nf6

to be informed about Windev/MT4 services : a04486-tradingsignal@yahoo.fr

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#2 Postby FT Support » Wed Feb 01, 2012 6:11 am

Thank you for the details, we'll think what can be done here
Check our other product here:
http://www.forexcopier.com

User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

#3 Postby Tantalus » Wed Feb 01, 2012 10:50 am

If i want to modify my strategy with delphi, i cant' compile it until I leave FT ? How can i release strategy.dll file from FT to modify and compile it with delphi ?


This confuses me. You don't modify the .dll file when you modify a strategy, you modify the source code (usually .dpr). The .dll file is the compiled form. You should have no trouble modifying the source code and re-compiling it, though you'll have to stop any tests before you can install the new compiled version into Forex Tester. There should be no need to close FT to install a new version of a strategy - just stop all tests in progress.
Tantalus Research - Developing 21st Century Trading Systems.

Phil_Trade
Posts: 94
Joined: Tue Jan 31, 2012 5:14 am
Contact:

#4 Postby Phil_Trade » Wed Feb 01, 2012 11:13 am

Tantalus wrote:
If i want to modify my strategy with delphi, i cant' compile it until I leave FT ? How can i release strategy.dll file from FT to modify and compile it with delphi ?


This confuses me. You don't modify the .dll file when you modify a strategy, you modify the source code (usually .dpr). The .dll file is the compiled form. You should have no trouble modifying the source code and re-compiling it, though you'll have to stop any tests before you can install the new compiled version into Forex Tester. There should be no need to close FT to install a new version of a strategy - just stop all tests in progress.


You're right, I modify .dpr file, but when i compile to get the dll file, it seems FT lock it... Message "impossible to create dll file" until I leave FT.
Since FT read all DLL file present in strategy folder to build the strategy list available, i think it locks the file too. Any suggestion ?
my live account - 8 based pairs with optimized parameters : +188%

http://www.myfxbook.com/members/Philipp ... jpg/519044

TradeSlide : http://bit.ly/14R9Nf6



to be informed about Windev/MT4 services : a04486-tradingsignal@yahoo.fr

User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

#5 Postby Tantalus » Thu Feb 02, 2012 12:17 am

Perhaps you're compiling directly to the FT strategies folder. I always compile the dll to a separate project folder, then I install it using the Install New Strategy command, which copies the dll into the FT strategies folder. That way I can always compile another version without interfering with the one FT is currently using.
Tantalus Research - Developing 21st Century Trading Systems.

Phil_Trade
Posts: 94
Joined: Tue Jan 31, 2012 5:14 am
Contact:

#6 Postby Phil_Trade » Thu Feb 02, 2012 3:48 am

Tantalus wrote:Perhaps you're compiling directly to the FT strategies folder. I always compile the dll to a separate project folder, then I install it using the Install New Strategy command, which copies the dll into the FT strategies folder. That way I can always compile another version without interfering with the one FT is currently using.


Yes I'm compiling in strategies folder. Your way is a little bit quicker. i will use it. Thks
my live account - 8 based pairs with optimized parameters : +188%

http://www.myfxbook.com/members/Philipp ... jpg/519044

TradeSlide : http://bit.ly/14R9Nf6



to be informed about Windev/MT4 services : a04486-tradingsignal@yahoo.fr


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 6 guests