NOTE: The installers no longer contain the MT4 script called "Launch JFX Interface" - but you can easily launch the interface by opening the MT4 Data Folder and double clicking on the file called 'FXA_JFX_Interface.jar' - If you want to create your own MT4 auto launch script we have published the MQL4 script code in Step 5. You will need to familiar with the MT4 editor if you decide to do this.
Click the 'Hybrid JFX/MT4 Installers' tab. Then select the product you wish to install from the table - your download should start automatically
Open up the zip package you've just downloaded, run the installer and install the package in the MT4 Data Folder
(Use the MT4 'Open Data Folder' [Click 'File' and then 'Open Data Folder' in MT4] option to very quickly identify the MT4 Data Folder location, you'll see the path to the folder at the top of the explorer window... if you right click on the path information in Windows Explorer you can select "copy address as text" from the dropdown selection.. then you can simply paste the MT4 Data Folder into the installer text field by clicking in the installation text field and pressing Control & V (to paste the data)).
Do NOT use the same MT4 Data Folder as shown in the installation guide. Each trader's MT4 Data Folder will be different!
Do NOT install the package in the MT4 indicators or experts folders!
If you want to always allow DLL imports make a global change in the MT4 option menu. To do so - in MT4 click 'Tools' / 'Options' and then select the 'Expert Advisors' tab. Now make sure 'Allow DLL imports' is ticked as shown below. This will always ensure "Allow DLL imports" is selected on product load.
Standard MT4 templates are not specific to timeframes but rather ALL timeframes for the asset in question. If you try to use MT4 templates to hold JFX parameter data all that will happen is the template will load the JFX Indicator/EA which will then search for the underlying control file in the MT4 files folder. If no parameter file is found for the specific timeframe the JFX indicator/EA will use the default parameter settings for the JFX product.
The JFX tools have a much more granular approach then the standard MT4 templates system but if you do want to simulate the MT4 'ALL timeframe' template based approach you can use the JFX Profiles option where you copy a saved JFX profile to all timeframes for the specific asset - you can also perform a blanket profile copy to all timeframes on all charts which are running the specific JFX based product
Sometimes the Java file associations get messed up on your machine. The most obvious sign you have a problem with file associations is where you double click the Java Interface for the first time and Windows thinks the MT4 Data Folder is a 'Windows/System 32' file. The easiest way to resolve this issue is to run a utility program called JarFix this was developed by Johann N. Löfflmann and you can view the details of his utlity here. You may also see the error message in the screenshot above which indicates your Java file associations aren't correct on your machine. Jarfix will resolve these issues. Once you've run Jarfix simply re-load the Java interface by double clicking on the 'FXA_JFX_Interface.jar' file in your MT4 Data Folder.
Then navigate to your MT4 Data Folder. The easy way to get to the MT4 Data Folder in MT4 is:-
|Click 'File' and then 'Open Data Folder'|
|The path to the MT4 Data folder is shown in the highlighted section at top of the Windows Explorer window as shown in the screenshot below|
|The easiest way to get the folder data is to right click in the MT4 Data Folder area (the highlit section in the screenshot above) and select "copy address as text". Then you can simply paste the MT4 Data Folder address directly into the Java interface|
Make sure you have loaded the appropriate JFX indicator or EA onto every chart you want to control using the JFX interface and ticked the 'Allow DLL Imports' in the common tab. See 'How do I enable 'Allow DLL imports'?'
Make sure the Data path is correct in the JFX interface - See 'How do I set the Data Path?'
Assuming you have correct synchronisation between MT4 and the Java interface, when you click in the main chart area on any chart running FX AlgoTrader Java JFX tools the "Selected Chart" field in the interface will show the current chart Symbol and ID which will match the chart ID at the top left corner of the MT4 main chart window.
To check the MT4/Java synchronisation: Open the MT4 Data Folder, open the file called "Selected_Account.csv". This file should contain exactly the same path as your MT4 Data Folder.. if it does - your synchronisation is OK. If it doesn't please read on....
When the Java interface is run for the first time a special MT4/Java sychronisation window is displayed. The Java program should automatically set the Interface Data Path to your MT4 Data Folder.
In cases where there are Java file association issues on the machine the Java program may incorrectly use the "C:/Windows/System32" file path as the default. To correct this issue close the Java interface. Open the MT4 Data Folder and delete the file called "Selected_Account.csv" and then refer to "How to fix Java File Association Issues" in this FAQ guide.
Once .jar files are correctly associated with the Java Run Time Environment you can open the FX AlgoTrader Java interface again by double clicking on the "FXA_JFX_Interface.jar" file, log in and then the Initial Synchronisation Screen should correctly display your MT4 Data Folder Path... thus confirming synchronisation has been performed correctly.
If Windows UAC is running on your machine - Windows will virtualize the MT4 Data folder... so your MT4 Data folder will look something similar to:-
The AppData folder is a hidden folder so if you can't see it in Windows Explorer you will need to change your Folder Options in Windows... Here's a video of how to do this if you want to navigate to it.
When the Java interfaces are initially loaded they use a default size which depending on your screen resolution may clip some of the interface components. You can resize all of the Java interface windows by dragging the borders of the window in the conventional windows resizing fashion (see video). When the interface is closed the settings you have made will be saved and when you re-open the same inteface the system will load your previous window position and size.
All JFX products can play .wav sound files which can be located anywhere on the machine which the user has access rights for. The default MT4 sounds are held in a folder called "Sounds" which resides below the MT4 Data Folder. If you are running on a machine with Windows UAC (User Account Control) enabled Windows will have virtualized your MT4 Data Folder and the sounds folder won't be accesible from the virtualized location.
In this case you can access the original MT4 Sounds folder by looking at the file called 'origin.txt' which is in your MT4 Data Folder. 'Origin.txt' contains the path to the original physical installation folder for MT4 prior to Windows Virtualization. So to select a sound simply click the Alert Sound button in any of the product interfaces and navigate to either the MT4 Sounds folder or another location on your machine which you can access which contains .wav files of your choice
Simply click anywhere in the main chart area of the chart you want to work on. Providing the appropriate FX AlgoTrader indicator or EA is loaded on the chart, the Java interface will automatically detect the chart you just clicked on