Start withdrawal request from cBot
Created at 28 Jun 2021, 11:43
GE
Start withdrawal request from cBot
28 Jun 2021, 11:43
For good moneymanagement we need to send a notification from our cBot to ourselfs to suggest withdrawal, then we need to send a withdraw request to the broker.
We would be better off if this could be done from the cBot itself.
We'd like a method like
bool SendWithDrawalRequest(double AmountToWithDraw);
usage:
If (Account.Equity >= 2000)
{
if ( !SendWithDrawalRequest(1000))
Print("Withdraw request failed");
else
Print("Withdraw request sent");
}
cTrader Automate
@genappsforex