Profit formula?
- Bug replaces my parameters with defaults
- Trading: Mathematics in Trading: How to Estimate Trade Results
- How does Drawdown calculate? What is the formula?
bool OrderCalcProfit(
ENUM_ORDER_TYPE action, // type of the order (ORDER_TYPE_BUY or ORDER_TYPE_SELL)
string symbol, // symbol name
double volume, // volume
double price_open, // open price
double price_close, // close price
double& profit // variable for obtaining the profit value
);
Thank you anyway!
mql4 does not have equivalent function for OrderCalcProfit()