Jmalad / Publications
Forum
Take Profit, and Close trade position
Hello MQL5 community Can someone please help me, by example; how do i close an open trade, either through a function or TP amount? I tried this: double myAccountProfit = AccountInfoDouble ( ACCOUNT_PROFIT ); double myAccountEquity = AccountInfoDouble ( ACCOUNT_EQUITY ); if (myAccountEquity -