Files
include/fxsaber/TesterCache/TestCacheSymbolRecord.mqh
T
2025-02-07 19:08:31 +03:30

18 lines
1.1 KiB
Plaintext

#include "String.mqh"
#include "ExpTradeSummary.mqh"
//+------------------------------------------------------------------+
//| record of optimization by symbols |
//+------------------------------------------------------------------+
struct TestCacheSymbolRecord : public ExpTradeSummary
{
// wchar_t symbol[32];
STRING32 symbol;
#define TOSTRING3(A) #A + " = " + this.A[] + "\n"
string ToString( void ) const
{
return(ExpTradeSummary::ToString() + TOSTRING3(symbol));
}
#undef TOSTRING3
};