This commit is contained in:
2025-06-06 05:42:15 +03:30
parent 519dc3b59f
commit 555244a844
8 changed files with 1388 additions and 96 deletions
@@ -1407,3 +1407,27 @@
///////////////////////////////////////////////////////////////////
template <typename T>
bool IsBoolean(T value)
{
//
bool result = false;
//
string normalizedValue = ToString(value);
StringToLower(normalizedValue);
normalizedValue = Trim(normalizedValue);
//
result =
!IsValid(normalizedValue)
? false
: (normalizedValue == "true" ||
normalizedValue == "false");
//
return result;
}
///////////////////////////////////////////////////////////////////
@@ -0,0 +1 @@
X121XCATBEA\X121XCATBEA_XAUUSDb_M5.x121.log