Download MetaTrader 5

SymbolSelect (symbol, true) always returns false; MT4

To add comments, please log in or register
Find and download Code Base apps via MetaTrader. It is fast!
Dr Matthias Hammelsbeck
537
Dr Matthias Hammelsbeck 2015.10.18 22:55 

Hi alltogether,

I have a problem with the function Symbolselect (Symbol(),true): it always returns wrong!

 

I'm using a specially installed Metatrader 4 without any broker connection because I solely want to backtest my strategies here with well defined history data. I do not want to pollute these data with broker inputs.

Version is  4.00, Build 890.

Question: Am I wrong here? A online broker connection is it mandatory?

 

I'm grateful for any help.

Thank you

 

Matthias Hammelsbeck 

Roberto Jacobs
46476
Roberto Jacobs 2016.12.07 06:48  
Dr Matthias Hammelsbeck:

Hi alltogether,

I have a problem with the function Symbolselect (Symbol(),true): it always returns wrong!

 

I'm using a specially installed Metatrader 4 without any broker connection because I solely want to backtest my strategies here with well defined history data. I do not want to pollute these data with broker inputs.

Version is  4.00, Build 890.

Question: Am I wrong here? A online broker connection is it mandatory?

 

I'm grateful for any help.

Thank you

 

Matthias Hammelsbeck 

MQL4 Reference / Market Info / SymbolSelect

be explained :
If the value is false, a symbol should be removed from MarketWatch, otherwise a symbol should be selected in this window. A symbol can't be removed if the symbol chart is open, or there are open orders for this symbol.

Alain Verleyen
Moderator
30752
Alain Verleyen 2016.12.07 08:41  
Dr Matthias Hammelsbeck:

Hi alltogether,

I have a problem with the function Symbolselect (Symbol(),true): it always returns wrong!

 

I'm using a specially installed Metatrader 4 without any broker connection because I solely want to backtest my strategies here with well defined history data. I do not want to pollute these data with broker inputs.

Version is  4.00, Build 890.

Question: Am I wrong here? A online broker connection is it mandatory?

 

I'm grateful for any help.

Thank you

 

Matthias Hammelsbeck 

You need at least to connect once to initialize your trading environment. Disconnect after and do you tests.

Build 890 is very old, not sure you will be able to connect to a broker.

To add comments, please log in or register