how to get the account balance of the last 10 trades?
View/Terminal/Account History. Right click. then custom period
thank you for your answer. Now how can I get that information in metaeditor? I know accountbalance() but its only the current balance can I get the past history of my accountbalance() for the last 10 trades?
I'm not sure I understand correctly, you know your balance and equity before the first order is placed, right?
So record balance before the first order is made. After you place the first order record the equity and repeat the process.
Sorry not sure if that helped, or total waste of time.
how do youput your account balance in the comment?
string symbol = "EURUSD";
int cmd = OP_BUY;
double lot = 0.1;
double price = MarketInfo(symbol, MODE_ASK);
int slippage = 5;
double stoploss = 0; // determine your sl
double takeprofit = 0; // determine your tp
string comment = DoubleToString(AccountBalance(),2);
int magic = 0; // determine your magic number
OrderSend(symbol, cmd, lot, price slippage, stoploss, takeprofit, comment, magic);
with this code ( please try it ) you will have your current balance on comment