Support Board
Date/Time: Fri, 09 May 2025 22:30:37 +0000
Post From: Compilier error
[2016-09-03 20:33:49] |
ertrader - Posts: 682 |
The last error at 2715 happens with the following code. The other errors at 2724, 2706, 2700 and 2731 use the same call process so once fixed, all can be fixed. float WriteFile(SCStudyInterfaceRef sc) { std::ofstream output; output.open ("writefile.txt", std::ofstream::out | std::ofstream::app); // insert into the file and add spaces between variables output << g_ControlLine << " " << g_ProfitFactor << " " << g_TotalPercentProfitable << " " << g_MaximumDrawdown << " " << g_MaximumTradeRunup <<" " << g_TotalTrades << " " << g_TotalLongTrades << " " << g_TotalShortTrades << "\n"; output.close(); } Date Time Of Last Edit: 2016-09-03 20:44:28
|