Before using that approach, please consider which of the approaches of launching multiple instances of the same strategy, might be the most convenient one for you. Consider the following alternatives: 1) See autolaunching options: https://www.dukascopy.com/wiki/index.php ... omatically 2) Also you might open in JForex client multiple instance of the same strategy in Workspace pane. 3) Using Standalone API: https://www.dukascopy.com/wiki/index.php ... strategies
higebouzu wrote:
If I back test multi instrument strategies, should I download many pairs datas in historical tester?
You need to select all instruments in Historical Tester wtih + button that your strategies are going to use.
higebouzu
Post subject: Re: Multiple strategies within a strategy
Post rating: 0
Posted: Tue 25 Oct, 2011, 13:49
User rating: 0
Joined: Thu 19 May, 2011, 07:42 Posts: 7 Location: JP
Thank your fast & exact replying!
I'll try them.
But I'm a beginner of programing.
I have to make a file including multi instances & a methods it & a folder holding them. & then I set instances file to run.
Is it right?
API Support
Post subject: Re: Multiple strategies within a strategy
I have to make a file including multi instances & a methods it & a folder holding them. & then I set instances file to run.
First you need to create a .jar file, containing your strategy (see a tutorial for Eclipse IDE https://www.youtube.com/watch?v=osV89b8QN3Q). Then you should add the .jar file for your "multi-strategy" by @Library annotation, just as it is done in the wiki example.
higebouzu
Post subject: Re: Multiple strategies within a strategy
Post rating: 0
Posted: Tue 25 Oct, 2011, 17:14
User rating: 0
Joined: Thu 19 May, 2011, 07:42 Posts: 7 Location: JP
Thanx support.
But I have questions. -Your suggestion is as launch multiple strategy on my PC? -What advantages can I get comparing wiki example? Faster? ^I found degree of freedom with it.
Ultimate problem! Maybe my knowledge is short to code. Same wiki sample to the end? If it's not so & you are OK, lecture me your sample.
API Support
Post subject: Re: Multiple strategies within a strategy
-Your suggestion is as launch multiple strategy on my PC?
The easiest is 2) - but you have to do the launching of each strategy manually. So we suggest you to start with 1) - autolaunching from command line, since it is both automatized and rather more graspable for a beginner programmer. When you get more comfortable with java programming and JForex API, try the wiki example and/or 3) - the Standalone API approach.
higebouzu
Post subject: Re: Multiple strategies within a strategy
Post rating: 0
Posted: Wed 26 Oct, 2011, 11:12
User rating: 0
Joined: Thu 19 May, 2011, 07:42 Posts: 7 Location: JP