advanced
Now you are reading
How to run a strategy or indicator on the JForex Dukascopy platform
0

How to run a strategy or indicator on the JForex Dukascopy platform

created Paweł MosionekDecember 3, 2010

Platform JForex Dukascopy supports two basic structures to facilitate and automate trading on Forex market - strategies (strategies) and indicators (indicators). Unfortunately, due to the technical limitations of the platform Dukascopymany useful indicators can only be implemented as strategies. Then we run such an indicator like a strategy.

Running tools on JForex Dukascopy

To run our own strategy, we need to know where we saved the file with our strategy on the disk. This is usually a folder C: \… \ My Documents \ JForex \ Strategies \. I recommend that you write down all your strategies here. We proceed to launch the strategy:

Step I
We're launching the JForex platform.

Step II
Then, in the "Workspace" window (bottom left), right-click on "Strategies", and then select "Open Strategy".

JForex Dukascopy: Open Strategy

Step III
A window with the choice of strategy appears. Here we choose a file with our strategy that we intend to launch. For example, I will choose the LuktomAskBidLines strategy.

JForex Dukascopy: File Selection

Usually (if we have Java code and a compiled strategy with the extension jfx) there are two files about our strategy. If you just want to run the strategy, just select the file with the jfx extension. If you want to modify the code of our strategy in addition to launching, select the file with the source code of our strategy.

Step IV
To run the selected strategy, right-click on it in the "Workspace" window, and then select "Local Run". The strategy takes off.

JForex Dukascopy: Local Run

Note: If we run the strategy from a file that is Java code, it may be necessary to compile our strategy first (choosing "Compile"), and then if the compilation is successful, choose "Local Run".

To run your own pointer, I recommend that you first place the pointer file in C: \… \ My Documents \ JForex \ Inicators \. Then, if we want to modify / view the Java source code of our indicator, we repeat steps 1 to 3 with the only difference that in step 2 we choose "Open Indicator".

Step V
We run a given indicator in the selected chart window. Therefore, for a given chart, in the "Workspace" -> "Chart" window, select the instrument (eg EUR / USD). Click on it with the right mouse button and select "Add Indicator" -> "More ..."

JForex Dukascopy: Add Indicator - More

Step VI
A window appears with a selection of built-in indicators. Click the "Custom indicator" button and select our file with the indicator.

JForex Dukascopy: Custom Indicator

Then click "OK" and the indicator starts.

Author and source: FxCraft.biz

What do you think?
I like it
0%
Interesting
0%
Heh ...
0%
Shock!
0%
I do not like
0%
Detriment
0%
About the Author
Paweł Mosionek
An active trader on the Forex market since 2006. Editor of the Forex Nawigator portal and editor-in-chief and co-creator of the ForexClub.pl website. Speaker at the "Focus on Forex" conference at the Warsaw School of Economics, "NetVision" at the Gdańsk University of Technology and "Financial Intelligence" at the University of Gdańsk. Twice winner of "Junior Trader" - investment game for students organized by DM XTB. Addicted to travel, motorbikes and parachuting.