How to run a strategy or an indicator on JForex plaform (Dukascopy)?

JForex platform supports two basic structures helping and automating trade on forex – strategies and indicators. Unfortunately, due to Dukascopy technical constraints, many useful indicators can be only implemented as strategies. Then we run such indicator as a strategy.

To run our own strategy, we have to know where we saved the file with this strategy. Most often it is the C:\…\My documents\JForex\Strategies\ folder. I recommend to save all your strategies there. Then we can launch our strategy:

  • We start the JForex platform.
  • In the “Workspace” window (at bottom left) we click “Strategies” with the right mouse button and we choose “Open Strategy”.

  • A window with strategy selection appears. Here we choose a file with the strategy we want to run. I will choose LuktomAskBidLines as an example.

    Most often (if we have Java code and a compiled version with jfx extension) there are two files for our strategy. If we want only to run the strategy, we may choose the jfx file. If we also want to modify the code of the strategy, we have to choose the source file.

  • To run the selected strategy we have to click on it with the right mouse button in the “Workspace” window and then choose “Local Run”. The strategy will start.

    Note: If we run a strategy from the file, which is a Java source code, it may be necessary to compile the strategy first (choosing “Compile”) and then if the compilation succeeds, choose “Local Run”.

To run our own indicator I recommend to place the indicator file in C:\…\My documents\JForex\Inicators\ folder. Then, if we want to see/modify the Java source code of our indicator, we repeat steps from 1 to 3 with one difference only – in step 2 we choose “Open indicator”.

  • We run the indicator in the selected chart window. That’s why we choose an instrument (e.g. EUR/USD) for the chart in the “Workspace”->”Chart” window. We click on it with the right mouse button and choose “Add Indicator”->”More…”

  • A window with built-in indicators appears. We click the “Custom indicator” button and select the file with our indicator. Then we click “OK” and the indicator starts.

Share with your friends:

Send us your comments

Name (required)

Email (required)

Message

  • Facebook