Download MetaTrader 5

TesterWithdrawal available for MQL4

To add comments, please log in or register
Pablo Rego
1784
Pablo Rego  

Is the function TesterWithdrawal() from MQL5 available also for MQL4?  In mql4 code, it compiles, but it seems to do nothing.

Fernando Carreiro
3598
Fernando Carreiro  
Pablo Rego:

Is the function TesterWithdrawal() from MQL5 available also for MQL4?  In mql4 code, it compiles, but it seems to do nothing.

No! It is not available on MetaTrader 4! It probably accepts compiling it due to the fact that the Compiler/Editor is common between the two versions, but it is not valid under MQL4.
Pablo Rego
1784
Pablo Rego  
Fernando Carreiro:
No! It is not available on MetaTrader 4! It probably accepts compiling it due to the fact that the Compiler/Editor is common between the two versions, but it is not valid under MQL4.
That's sad. This function is very useful. But ok, thank you.
Fernando Carreiro
3598
Fernando Carreiro  
Pablo Rego:
That's sad. This function is very useful. But ok, thank you.

Consider changing over to MetaTrader 5 and MQL5! Given that MetaTrader 4 may have its days numbered, it is time to look into v5.

You can also do as I do, which is make your code compatible with both versions (using conditional compilation) and test it on both. This way I can test on MT4 with my own tick data and also test on MT5 making use of the extra features available to me.

Pablo Rego
1784
Pablo Rego  
Fernando Carreiro:

Consider changing over to MetaTrader 5 and MQL5! Given that MetaTrader 4 may have its days numbered, it is time to look into v5.

You can also do as I do, which is make your code compatible with both versions (using conditional compilation) and test it on both. This way I can test on MT4 with my own tick data and also test on MT5 making use of the extra features available to me.

Lol, yep, I agree. But the stronger forex brokers still are .mq4. Meanwhile we need to keep both. But I agree that keeping both codes compatible is at least a need.
To add comments, please log in or register