There are two ways how you can possibly invoke functions from another strategy:
- From a strategy class file by using reflection.
- From a jar which contains the strategy.
The second option is more convenient, both from compilation and programming point of view.
So in either case 1. or 2. you need to compile the strategy outside the JForex platform, since in the JForex platform you can neither obtain .class nor .jar files. We strongly suggest you using an IDE for this purpose. The most popular of them is Eclipse. Have a look at the following tutorial (The 3rd section for the beginning is rather optional):http://www.vogella.de/articles/Eclipse/article.html
And then import the Standalone API project:http://www.dukascopy.com/wiki/#Use_in_Eclipse
And then export the jar file (see the turial's section 4.5).