last ...
This commit is contained in:
@@ -3185,6 +3185,7 @@ class XCPOIDrawer : public XCBase
|
||||
*/
|
||||
bool CreateBox(
|
||||
XCBoxObject *&object,
|
||||
string name,
|
||||
double upper,
|
||||
double lower,
|
||||
datetime from,
|
||||
@@ -3207,10 +3208,14 @@ class XCPOIDrawer : public XCBase
|
||||
//
|
||||
string dateStr = ToFormatString(from) + "|" + ToFormatString(to);
|
||||
string dateMD5 = ToMD5(dateStr);
|
||||
string name = "XBox_" +
|
||||
ToString(upper) + "_" +
|
||||
ToString(lower) + "_" +
|
||||
dateMD5;
|
||||
if (!IsValid(name))
|
||||
{
|
||||
//
|
||||
name = "XBox_" +
|
||||
ToString(upper) + "_" +
|
||||
ToString(lower) + "_" +
|
||||
dateMD5;
|
||||
}
|
||||
|
||||
//
|
||||
result =
|
||||
@@ -3297,10 +3302,12 @@ class XCPOIDrawer : public XCBase
|
||||
? BullishFVGColor()
|
||||
: BearishFVGColor();
|
||||
ENUM_LINE_STYLE style = STYLE_DASHDOTDOT;
|
||||
string name = box.GetTag();
|
||||
|
||||
//
|
||||
result = CreateBox(
|
||||
object,
|
||||
name,
|
||||
box.upper,
|
||||
box.lower,
|
||||
box.from,
|
||||
@@ -3348,9 +3355,13 @@ class XCPOIDrawer : public XCBase
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
string name = box.GetTag();
|
||||
|
||||
//
|
||||
result = CreateBox(
|
||||
object,
|
||||
name,
|
||||
box.upper,
|
||||
box.lower,
|
||||
box.from,
|
||||
|
||||
Reference in New Issue
Block a user