track historical negative float

 
Is there a way to track the historical negative float for an account? I'd like to programmatically track the open position negative float for some systems.
 
The attached EA logs the equity to a csv file. You put it on its own chart, and leave it there. It will make a log entry whenever the equity has changed 1% since the last log entry, and when the balance changed.
Files:
 
richplank wrote:
The attached EA logs the equity to a csv file. You put it on its own chart, and leave it there. It will make a log entry whenever the equity has changed 1% since the last log entry, and when the balance changed.
Excellent. Thanks much!
Reason: