last works on Fix and Resolve XPivotAnalysis Calculations and Drawn ...
This commit is contained in:
@@ -1004,8 +1004,8 @@ struct XPivotAnalysis
|
||||
box.from = fromTime;
|
||||
|
||||
//
|
||||
box.upper = minorResistance;
|
||||
box.lower = majorResistance;
|
||||
box.upper = majorResistance;
|
||||
box.lower = minorResistance;
|
||||
box.dir = X_DIRECTION_BEARISH;
|
||||
box.type = GetTag() + "_Resistance";
|
||||
|
||||
@@ -1146,6 +1146,98 @@ struct XPivotAnalysis
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represent an String Unique Identifier for Upper Trend Chart Objects ...
|
||||
*
|
||||
* @return ( string )
|
||||
*/
|
||||
string GetUpperObjectID()
|
||||
{
|
||||
//
|
||||
string result = "";
|
||||
|
||||
//
|
||||
if (!IsValid())
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = GetTag() + "_" + symbol + "_" + ToXString(period) + "_UPPER_" + ToXString(TimeToSeconds(time));
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represent an String Unique Identifier for Lower Trend Chart Objects ...
|
||||
*
|
||||
* @return ( string )
|
||||
*/
|
||||
string GetLowerObjectID()
|
||||
{
|
||||
//
|
||||
string result = "";
|
||||
|
||||
//
|
||||
if (!IsValid())
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = GetTag() + "_" + symbol + "_" + ToXString(period) + "_LOWER_" + ToXString(TimeToSeconds(time));
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represent an String Unique Identifier for Support Box Chart Objects ...
|
||||
*
|
||||
* @return ( string )
|
||||
*/
|
||||
string GetSupportBoxObjectID()
|
||||
{
|
||||
//
|
||||
string result = "";
|
||||
|
||||
//
|
||||
if (!IsValid())
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = GetTag() + "_" + symbol + "_" + ToXString(period) + "_SUPPORT_" + ToXString(TimeToSeconds(time));
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represent an String Unique Identifier for Resistance BOX Chart Objects ...
|
||||
*
|
||||
* @return ( string )
|
||||
*/
|
||||
string GetResistanceBoxObjectID()
|
||||
{
|
||||
//
|
||||
string result = "";
|
||||
|
||||
//
|
||||
if (!IsValid())
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = GetTag() + "_" + symbol + "_" + ToXString(period) + "_RESISTANCE_" + ToXString(TimeToSeconds(time));
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represent as String ...
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user