This commit is contained in:
2025-03-01 04:52:23 +03:30
parent c3bc38befb
commit 1d554ec21d
5 changed files with 882 additions and 429 deletions
+15 -4
View File
@@ -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,