Support Board
Date/Time: Thu, 21 Nov 2024 21:07:03 +0000
Post From: Getting profit/loss for the last N number of trades
[2013-04-07 23:54:15] |
User76625 - Posts: 49 |
Is there a way to get the profit/loss from the last 2 or more closed trades? I see you can get it for the most recent closed trade using InternalPositionData.LastTradeProfitLoss, but I want to add a line of code so that I can stop entering new trades once I've had two losing trades on the day, and then reset things to begin entering new trades at the open of the following day. Thank you. |