refactor libraries issues for new version compiling ...
This commit is contained in:
@@ -954,8 +954,8 @@ struct XOHCL
|
||||
}
|
||||
|
||||
//
|
||||
bool isBullish = IsBullish(forDir);
|
||||
bool isBearish = IsBearish(forDir);
|
||||
bool isBullish = IsSpecifiedBullish(forDir);
|
||||
bool isBearish = IsSpecifiedBearish(forDir);
|
||||
|
||||
//
|
||||
double fiboLevelValue = GetFibonacciLevel(
|
||||
@@ -1003,13 +1003,13 @@ struct XOHCL
|
||||
|
||||
//
|
||||
bool isBullish =
|
||||
IsBullish(forDir) &&
|
||||
IsSpecifiedBullish(forDir) &&
|
||||
low < price &&
|
||||
GetDown() > price;
|
||||
|
||||
//
|
||||
bool isBearish =
|
||||
IsBearish(forDir) &&
|
||||
IsSpecifiedBearish(forDir) &&
|
||||
high > price &&
|
||||
GetUp() < price;
|
||||
|
||||
@@ -1064,7 +1064,7 @@ struct XOHCL
|
||||
result = IsValid() &&
|
||||
price > 0 &&
|
||||
HasDirection(forDir) &&
|
||||
IsValid(boundaryType);
|
||||
IsSpecifiedValid(boundaryType);
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
@@ -1078,14 +1078,14 @@ struct XOHCL
|
||||
IsBullish() &&
|
||||
low < price &&
|
||||
high > price &&
|
||||
IsBullish(forDir);
|
||||
IsSpecifiedBullish(forDir);
|
||||
|
||||
//
|
||||
bool isBearish =
|
||||
IsBearish() &&
|
||||
low < price &&
|
||||
high > price &&
|
||||
IsBearish(forDir);
|
||||
IsSpecifiedBearish(forDir);
|
||||
|
||||
//
|
||||
result = isBullish ||
|
||||
@@ -1346,10 +1346,10 @@ struct XOHCL
|
||||
|
||||
//
|
||||
result =
|
||||
(IsValid(prefix)
|
||||
(IsSpecifiedValid(prefix)
|
||||
? prefix + "_"
|
||||
: "") +
|
||||
"XOHCL_" + symbol + "_" + ToString(period) + "_" + ToFormatString(time);
|
||||
"XOHCL_" + symbol + "_" + ToXString(period) + "_" + ToFormatString(time);
|
||||
|
||||
//
|
||||
return result;
|
||||
@@ -1364,7 +1364,7 @@ struct XOHCL
|
||||
|
||||
//
|
||||
result = GetTypeName(this) +
|
||||
"(O(" + ToString(open) + "),H(" + ToString(high) + "),C(" + ToString(close) + "),L(" + ToString(low) + "))";
|
||||
"(O(" + ToXString(open) + "),H(" + ToXString(high) + "),C(" + ToXString(close) + "),L(" + ToXString(low) + "))";
|
||||
|
||||
//
|
||||
return result;
|
||||
@@ -1496,7 +1496,7 @@ struct XBarRemainsTime
|
||||
if (!ignoreZeroValues || hours > 0)
|
||||
{
|
||||
//
|
||||
string strHour = ToString(hours);
|
||||
string strHour = ToXString(hours);
|
||||
if (StringLen(strHour) == 1)
|
||||
{
|
||||
strHour = "0" + strHour;
|
||||
@@ -1511,7 +1511,7 @@ struct XBarRemainsTime
|
||||
if (!ignoreZeroValues || minutes > 0)
|
||||
{
|
||||
//
|
||||
string strMinute = ToString(minutes);
|
||||
string strMinute = ToXString(minutes);
|
||||
if (StringLen(strMinute) == 1)
|
||||
{
|
||||
strMinute = "0" + strMinute;
|
||||
@@ -1526,7 +1526,7 @@ struct XBarRemainsTime
|
||||
if (!ignoreZeroValues || seconds > 0)
|
||||
{
|
||||
//
|
||||
string strSec = ToString(seconds);
|
||||
string strSec = ToXString(seconds);
|
||||
if (StringLen(strSec) == 1)
|
||||
{
|
||||
strSec = "0" + strSec;
|
||||
|
||||
Reference in New Issue
Block a user