Multicurrency

 
Hi.

im currently developing an EA with that you can trade different currency pairs on one single chart.
When I add a currency in the input field settings, how can i refresh/update it automaticly?
It only start trading when I close and open the terminal.
 

Hi

When you trade on multiple pairs you need to ensure that you have new “ticks” on those pairs other than on your main chart. Generally, most EAs are working on OnTick function, but this is performed only when new tick is detected on the symbol of the chart when there would be no tick. The EA won’t run with its functions. You can try OnTimer to perform functions every Xms, then you don’thave to wait for new tick on main chart. There might be other problems beside that you would have to show us your code or the journal perhaps there are some errors in your code.

Best Regards