36 lines
877 B
Plaintext
36 lines
877 B
Plaintext
//
|
|
XCPOIDrawer *drawer = cHelper.mPOIDrawer;
|
|
|
|
//
|
|
if (cStateEvents.hasNewFairValueGap)
|
|
{
|
|
//
|
|
int idx = GetYoungest(cState.fairValueGaps);
|
|
has = IsValidIndex(idx);
|
|
if (has)
|
|
{
|
|
//
|
|
XBoxZone box;
|
|
has = ToBox(
|
|
box,
|
|
cState.fairValueGaps[idx] //
|
|
);
|
|
if (has)
|
|
{
|
|
//
|
|
XCBoxObject *iObj;
|
|
has = drawer.DrawBox(
|
|
box,
|
|
iObj //
|
|
);
|
|
if (has)
|
|
{
|
|
Print("Box Drawn ...");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
//
|
|
ZeroMemory(drawer);
|