This commit is contained in:
2025-09-07 21:16:39 +03:30
parent a365c14a3e
commit eaf04cd81c
2 changed files with 40 additions and 2 deletions
+11 -1
View File
@@ -391,10 +391,15 @@ class XCXOM1SignallerBase
double iZoneLower = MathMin(iFibUpper, iFibLower);
//
// Validate MA Place ...
has = iFast >= iZoneLower &&
iFast <= iZoneUpper &&
iSlow >= iZoneLower &&
iSlow <= iZoneUpper;
//
// Validate Fibo Values ...
// TODO: ...
}
//
@@ -515,7 +520,12 @@ class XCXOM1SignallerBase
// zones[i].UpdateByBarIndex(barIndex);
//
drawer.DrawZone(zones[i], true, true);
drawer.DrawZone(
zones[i],
true, // Draw Price ...
true, // Draw Middle ...
true // Draw From ...
);
}
}
+29 -1
View File
@@ -64,7 +64,8 @@ class XCXOM1POIDrawer : public XCBase
void DrawZone(
XOM1Zone &zone,
bool drawPrice = false,
bool drawMiddle = false //
bool drawMiddle = false,
bool drawFrom = false //
)
{
//
@@ -163,6 +164,33 @@ class XCXOM1POIDrawer : public XCBase
}
}
//
// Draw From ...
if (drawFrom)
{
//
CChartObjectVLine *mLineObj;
string mLineName = "mfl_" + ToMD5(zone.GetTag());
mLineObj = new CChartObjectVLine();
has = mLineObj.Create(
mDrawer.ChartIdentification(),
mLineName,
mDrawer.SubWindowIdentification(),
zone.from //
);
if (has)
{
//
mDrawer.ApplyStyle(
mLineObj,
zone.dir //
);
//
mObjects.Add(mLineObj);
}
}
//
// Clean Resources ...
box.Clean();