Download MetaTrader 5

Discussion of article "Using the TesterWithdrawal() Function for Modeling the Withdrawals of Profit"

To add comments, please log in or register
Do you have questions to the application's developer - ask them in Comments section
MetaQuotes Software Corp.
Moderator
181068
MetaQuotes Software Corp. 2010.09.06 16:02 

New article Using the TesterWithdrawal() Function for Modeling the Withdrawals of Profit is published:

This article describes the usage of the TesterWithDrawal() function for estimating risks in trade systems which imply the withdrawing of a certain part of assets during their operation. In addition, it describes the effect of this function on the algorithm of calculation of the drawdown of equity in the strategy tester. This function is useful when optimizing parameter of your Expert Advisors.

Author: Andrey Voytenko

forexistence
285
forexistence 2010.09.08 21:05  

Really good article. All other articles are also good of course, but this is more focused on the purpose of the trading itself: withdrawals.

Thanks for sharing your ideas. 

Andrey Voytenko
23090
Andrey Voytenko 2010.09.09 10:18  

Thanks for the compliment.

I think we need more articles on testing capabilities, as the tester in Metatrader5 really wonderful.

forexistence
285
forexistence 2010.09.15 18:31  
avoitenko:

Thanks for the compliment.

I think we need more articles on testing capabilities, as the tester in Metatrader5 really wonderful.

Yes i agree with you.

Future developers of opensource mt5 EAs, can decide to include testing capabilities in their's EAs thanks also to your article, very instructive.

I hope future open-source EAs will consider the testerwithdrawal() function.

Documentation on MQL5: Common Functions / TesterWithdrawal
  • www.mql5.com
Common Functions / TesterWithdrawal - Documentation on MQL5
Simone Gargano
9163
Simone Gargano 2015.11.01 15:41  
I added this function to mq4 EA and seems is not working...I didn't receive any message in the journal too...is it compatible with MT4?
Stuart Browne
5801
Stuart Browne 2015.11.02 00:26  
Simone Gargano:
I added this function to mq4 EA and seems is not working...I didn't receive any message in the journal too...is it compatible with MT4?
Yeah the TesterWithdawal() is a strange one in MT4. It comes up OK in autocomplete and it doesn't throw errors if you use it, it just doesn't work. It's also not in the MT4 documentation so I don't believe it ever got implemented. Maybe send it through as a suggestion to Service Desk
Simone Gargano
9163
Simone Gargano 2015.11.04 17:01  
Stuart Browne:
Yeah the TesterWithdawal() is a strange one in MT4. It comes up OK in autocomplete and it doesn't throw errors if you use it, it just doesn't work. It's also not in the MT4 documentation so I don't believe it ever got implemented. Maybe send it through as a suggestion to Service Desk
Check here http://forum.mql4.com/60725, someone tried to use it in the past and they received errors like "function not yet implemented"...so I guess it should works now! I sent a ticket to the Service Desk as suggested. Let's see...
CExpertExecutor::TesterWithdrawal is not implemented yet - MQL4 forum
  • www.mql5.com
CExpertExecutor::TesterWithdrawal is not implemented yet - MQL4 forum
Simone Gargano
9163
Simone Gargano 2015.11.10 19:58  
Simone Gargano:
Check here http://forum.mql4.com/60725, someone tried to use it in the past and they received errors like "function not yet implemented"...so I guess it should works now! I sent a ticket to the Service Desk as suggested. Let's see...
Ok, they confirmed that is not available for MT4.
Bruno Cabral
161
Bruno Cabral 2016.04.24 17:27  
MetaQuotes Software Corp.:

New article Using the TesterWithdrawal() Function for Modeling the Withdrawals of Profit is published:

Author: Andrey Voytenko

Hi Andrey,

Nice article, but I have one question.

The funtion TesterWithdrawal is called inside TimeOfWithDrawal, but where do you use TimeOfWithDrawal? 

Thanks 

To add comments, please log in or register