one to one coaching

jForex Bridge Question

radicaltour

Moderator
VIP Member
hi guys,
i have a question about the Dukascopy bridge and was hoping one of you can help.
How can i get the bridge to work with multiple MT4 instances?
For example, i have 4 MT4 instances with different EAs on each of them. So how do i get all of the trades to be replicated on 1 JForex instance (using the bridge)? Or is it possible to open multiple JForex instances?

Thank you.
 

rwrz

Member
Hello,

Its more simple than that... ;D
On jForex Bridge Strategy ( on jForex ), you choose the LOG file this will READ to transfer the trades, RIGHT?
The only thing you need to do is create copy of the Bridge Strategy with different names ( change the Class NAME of the Strategy to the same File name ), then you will have 4 Bridges strategies with 4 different parameters, and 4 different LOG files ...

Understood?

For example:
Change the file:
Code:
MT4JForexClientsBridge.java
to:
Code:
MT4JForexClientsBridge[B]2[/B].java
Now, inside the MT4JForexClientsBridge.java, change this line:
Code:
public class MT4JForexClientsBridge implements IStrategy {
to:
Code:
public class MT4JForexClientsBridge[B]2[/B] implements IStrategy {
And voi lá! Run your new strategy! :p

Any questions, just write there... =)
 

radicaltour

Moderator
VIP Member
hello rwrz,
i actually did those exact steps before asking the question...because i'm a programmer too. I thought that would fix it but it didn't.
If i open up the 2nd Bridge strategy, the UI comes up and override the 1st Bridge strategy. However, the 1st Bridge is still taking action based on the 1st log file and the 2nd Bridge is not doing anything at all.

Maybe there's more code i need to change?

thanks for help.
 

Attachments

rwrz

Member
hmm...
Sorry, I didnt know that...
I will check this weekend how to open two instances.. ok? I think it will be an easy modification at the code.
 
Thank you for the information shared. Is the said forex offers free trial?
You must be registered for see images
You must be registered for see images
You must be registered for see images
You must be registered for see images
You must be registered for see images
You must be registered for see images
You must be registered for see images
You must be registered for see images
You must be registered for see images
 
one to one coaching
Top