A quick script illustrating how to get the P&L of the last closed trade with MQL5.
Have a WordPress.com account? Log in now.