Files
MQL5Data/Documents/BKP/fvg.detection.mq5
T
2025-04-04 21:20:07 +03:30

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);