Errors, bugs, questions - page 865

 
denkir:
Exactly! Only not to get, but to install... I searched the Documentation - couldn't find anything on the subject :-((
What documentation did you check?
 

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.

 
sion:

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.

 
sergeev:
What documentation were you looking at?
In the native MQL5 .
 
denkir:
In the native MQL5 .
there' s everything there is.
 
sergeev:
There's all there is to it.

Read more than once :-)

So there's no way to do it programmatically...

 
denkir:

Read more than once :-)

So there's no way to do it programmatically...

Yes, WinApi will get there, but it turns out that some ex5 must already be running on some chart.
 
Yedelkin:

Just now, when posting to the forum (editing), the following error was displayed in the browser status bar:

Thanks, corrected it. The fix will be available when the site is updated.
 
avoitenko:

TesterWithdrawal does not work outside the tester. Hence the different results.


Do you mean that this function does not emulate a withdrawal in the strategy tester? Or the fact that I am trying to withdraw something on the real server with this function?
 
sion:
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?

Reason: