how to find yesterday AccountEquity

 

I used below code for equity

AccountEquity()


now I want to now what is yesterday AccountEquity

How I can do it?

Best regadrds

Neda

 
Get today's equity. Remember it for tomorrow.
 
William Roeder:
Get today's equity. Remember it for tomorrow.
I want to use it in formula and run in an expert
 
Neda shahbazi:
I want to use it in formula and run in an expert

I don't think there be any safe way to do that. because there can be some withdrawals or deposits in the middle of the account history.
And as far as I know this is not something you have access in all the brokers.
Plus some brokers take some money from your account as account holding fee etc.

I think this is why William Roeder said to get today's equity and use for tomorrow. 

Reason: