We have expanded our international reach with offices across the world including Asia Pacific, Africa, Australia, Europe and Latin America. This provides us with an unrivaled level of local knowledge and expertise to satisfy our clients’ expectations.
`)
.join('');
}
// Update active state for buttons
document.querySelectorAll('.btn-region').forEach(btn => {
btn.classList.remove('selected-region');
});
const activeBtn = Array.from(document.querySelectorAll('.btn-region'))
.find(btn => btn.getAttribute('onclick').includes(`'${region}'`));
if (activeBtn) {
activeBtn.classList.add('selected-region');
}
// Update mobile select value
const mobileSelect = document.querySelector('.mobile-select select');
if (mobileSelect) {
mobileSelect.value = region;
}
// Store current region
currentRegion = region;
} else {
container.innerHTML = '
Select a region to view the map
';
if (countryContainer) {
countryContainer.innerHTML = ''; // Clear country section when no region is selected
}
currentRegion = '';
}
}
// Set default region on page load (Asia Pacific)
window.addEventListener('DOMContentLoaded', () => {
changeRegion('ap'); // This ensures Asia Pacific is loaded by default
});
// Re-render map on window resize to switch between mobile/desktop images
window.addEventListener('resize', () => {
if (currentRegion) {
changeRegion(currentRegion);
}
});
TheOfficial Partner of the Duke of Edinburgh Cup
The Duke of Edinburgh Cup is a charity with Royal Patronage dedicated to supporting young people worldwide in health, education, and welfare. 2025 is the eighth year that ATFX has proudly sponsored the Duke of Edinburgh Cup and its mission. As a company, we are passionate about social responsibility, and we are dedicated to supporting meaningful causes that make a difference.
Test the Waters or Dive In? We've Got Both
Whether you’re just starting out or ready to trade live, ATFX gives you the freedom to learn, practise, and grow at your own pace, all with the same trusted support.
Demo Account
Your free ATFX demo account is the perfect way to start trading, ideally for new traders before moving to a live account
function openTab(evt, tabName) {
// Hide all tab contents
const tabContents = document.getElementsByClassName('tab-content');
for (let i = 0; i < tabContents.length; i++) {
tabContents[i].classList.remove('active');
}
// Remove active class from all tab buttons
const tabButtons = document.getElementsByClassName('tab-button');
for (let i = 0; i < tabButtons.length; i++) {
tabButtons[i].classList.remove('active');
}
// Show the selected tab and mark button as active
document.getElementById(tabName).classList.add('active');
evt.currentTarget.classList.add('active');
}
function openTabFromDropdown(tabName) {
// Hide all tab contents
const tabContents = document.getElementsByClassName('tab-content');
for (let i = 0; i < tabContents.length; i++) {
tabContents[i].classList.remove('active');
}
// Show the selected tab
document.getElementById(tabName).classList.add('active');
}