Documentation

Applications

Last updated on 15. 10. 2024 by Mark Fric

Broker profiles

Broker profile is a new feature in StrategyQuant X introduced in Build 141.

Generally, the idea is that you can create a “profile” for a given broker, where you can use specific settings of this broker.

It is because different brokers can have different settings – they are in different time zones, they can even have different settings for some symbols or use different trading sessions.

Broker profiles are a way to configure this in StrategyQuant X, moving one more step towards the realistic backtest with your broker.

Broker profile functionality can be divided into two areas:

  1. It can limit the groups of stocks traded in Stockpicker engine – because some brokers support only a subset of stocks.
  2. Use broker instrument settings and time zone instead of the default one used in SQX

 

SQX 141 already comes with a set of predefined broker profiles for most common brokers. Here is the list of default brokers:

  • IC Markets
  • RoboForex
  • PepperStone
  • OANDA
  • Darwinex
  • Dukascopy
  • 5ers
  • FTMO
  • Monevis

Broker profile Stock Picker functionality

It can limit the groups of stocks traded in Stockpicker engine – because some brokers support only a subset of stocks.

An example is XTB broker – they allow trading a few thousands major stocks from tens of thousands that are generally available on stock exchange.

 

You can use Broker profile to list stocks that are traded on XTB, and then use this broker profile in Stockpicker backtest – it will ignore stocks that are not traded on XTB, leading to a realistic result.

 

Broker profile Metatrader 5 functionality

With this functionality you can specify a timezone of your specific broker, and you can also create Instruments and Sessions specifically for this broker.

Some brokers use different instrument settings on certain symbols – for example, they use different Point value, tick step, etc.

 

Usage with Instruments and sessions

It is simple for Instruments and Sessions – you can create instruments/sessions that are specific for your broker. Then you can have data that uses these instruments instead of default SQ instruments, and this way your backtests in SQX will match backtests in your MT5 platform as far as instrument configuration or sessions are considered.

 

Usage when downloading data from Dukascopy or Darwinex

Predefined broker profiles can be newly used also when adding and downloading data from free sources like Dukascopy and Darwinex.

You can now select a broker profile when adding these data:

And when you select a broker profile different from SQ Default you will be able to choose your own instrument settings for the added data.

Also, the downloaded data is automatically converted from the timezone of the source to the timezone of your broker. 

 

IMPORTANT NOTE:

PLEASE BE AWARE THAT THIS SCRIPT RESOLVES THE ISSUE EXTRACTING CORRECT DATA SETTINGS, HOWEVER IT DOES NOT RESOLVE THE ISSUE WITH DATA DIFFERENCES.
PLEASE READ THIS ARTICLE ABOUT THE DATA DIFFERENCES.

FOR ACCURATE RESULTS YOU SHOULD USE BROKER DATA FROM PLATFORM IF THEY ARE AVAILABLE IN METATRADER 5 PLATFORM. CHECK THIS TUTORIAL ON HOW TO EXPORT DATA FROM METATRADER 5 AND IMPORT TO STRATEGYQUANT X.

All point values are calculated in USD currency, if you are using different account currency, you need to update the values from script manually. 

Getting correct Instruments & sessions from broker

How can you get the correct instrument and session settings for your broker?

 

As said above, there already are predefined profiles for most common brokers. If you use a different broker, there is another simple solution – a script originally created by SQ power user Karish, now maintained by StrategyQuant.

 

You can download the script (see below) – for MetaTrader 5 version, and when you’ll run it in MT it will go through all the symbols currently on your Market watch, checks instrument info + sessions for all of them and outputs this info to a set of XML files.

 

You can then import these files in SQX to your broker profile – and you’ll have the correct settings of your broker in the SQX.

The script is available online or directly in SQ X installation folder
\custom_indicators\BrokerProfileInstrumentsSessionsScripts\Update_SQX_Instruments_information.ex5

Was this article helpful? The article was useful The article was not useful

Subscribe
Notify of
9 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Paul
14. 11. 2024 9:28 pm

Thanks. I don’t get how to use the FTMO settings in algowizard. Can you please explain?

LUIGI ESPOSITO
LUIGI ESPOSITO
19. 11. 2024 10:12 pm

Salve, manca lo script per MT4 c’è solo per MT5 nella cartella di installazione, potete caricare il file in modo da poterlo scaricare? Grazie

Arvid Mock
25. 11. 2024 2:26 pm

Dear Sir or Madame,

your MT4-script “Update_instrument_settings.ex4″ isn`t in the installation-Folder of the new SQx 141.
Where can i download it?

Kind regards
Arvid

Pepe
26. 11. 2024 10:03 pm

There is no Script folder for MT5. (SQX Build 141)

tomas262
Admin
Reply to  Pepe
27. 11. 2024 9:50 pm

That is correct. The ExportProperties file is mean to be used only in MT4

JAMES HIGGINS
5. 1. 2025 1:18 pm

How can I add IG Index CFD as a broker profile. I can export the mt4.properties but there does not seem to be any way to import that information to be used in SQ ?

Is there an example .xml available so I can see the format required for import ?

IG Index is a MT4 only broker so I have no option to move to MT5. Most UK regulated brokers are MT4 only offerings.

Last edited 5 months ago by JAMES HIGGINS
tomas262
Admin
Reply to  JAMES HIGGINS
8. 1. 2025 10:35 pm

Broker profiles are meant to be exported from MT5 only. MT4 is not supported for this feature

Alexandre Andrade
9. 6. 2025 9:22 pm

How to configure broker profile to crypto download?

tomas262
Admin
Reply to  Alexandre Andrade
10. 6. 2025 2:13 pm

Broker profiles are supported only for MetaTrader 5 brokers. Let me know if any questions