
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Exactly! Only not to get, but to install... I searched the Documentation - couldn't find anything on the subject :-((
TesterWithdrawal(1.0);
HistoryDealSelect(3);Print("Пополнение=",HistoryDealGetDouble(3,DEAL_PROFIT));
In the strategy tester, when prompted for withdrawal information, it returns 0.0
On a live server it works fine.
In the strategy tester, when prompted for withdrawal information, it returns 0.0
On the live server works fine.
TesterWithdrawal does not work outside the tester. Hence the different results.
What documentation were you looking at?
In the native MQL5 .
There's all there is to it.
Read more than once :-)
So there's no way to do it programmatically...
Read more than once :-)
So there's no way to do it programmatically...
Just now, when posting to the forum (editing), the following error was displayed in the browser status bar:
TesterWithdrawal does not work outside the tester. Hence the different results.
Do you mean that this function does not emulate withdrawals in the Strategy Tester?
It only works in the Strategy Tester and has no effect on real trading, i.e. you will not be able to withdraw money from your account.
But you are checking its workability incorrectly. Why does your trade have a ticket of 3?