last ...
This commit is contained in:
@@ -391,10 +391,15 @@ class XCXOM1SignallerBase
|
|||||||
double iZoneLower = MathMin(iFibUpper, iFibLower);
|
double iZoneLower = MathMin(iFibUpper, iFibLower);
|
||||||
|
|
||||||
//
|
//
|
||||||
|
// Validate MA Place ...
|
||||||
has = iFast >= iZoneLower &&
|
has = iFast >= iZoneLower &&
|
||||||
iFast <= iZoneUpper &&
|
iFast <= iZoneUpper &&
|
||||||
iSlow >= iZoneLower &&
|
iSlow >= iZoneLower &&
|
||||||
iSlow <= iZoneUpper;
|
iSlow <= iZoneUpper;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Validate Fibo Values ...
|
||||||
|
// TODO: ...
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -515,7 +520,12 @@ class XCXOM1SignallerBase
|
|||||||
// zones[i].UpdateByBarIndex(barIndex);
|
// zones[i].UpdateByBarIndex(barIndex);
|
||||||
|
|
||||||
//
|
//
|
||||||
drawer.DrawZone(zones[i], true, true);
|
drawer.DrawZone(
|
||||||
|
zones[i],
|
||||||
|
true, // Draw Price ...
|
||||||
|
true, // Draw Middle ...
|
||||||
|
true // Draw From ...
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -64,7 +64,8 @@ class XCXOM1POIDrawer : public XCBase
|
|||||||
void DrawZone(
|
void DrawZone(
|
||||||
XOM1Zone &zone,
|
XOM1Zone &zone,
|
||||||
bool drawPrice = false,
|
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 ...
|
// Clean Resources ...
|
||||||
box.Clean();
|
box.Clean();
|
||||||
|
|||||||
Reference in New Issue
Block a user