last ...
This commit is contained in:
@@ -6113,6 +6113,25 @@ struct XOBFVG
|
|||||||
return fvg != NULL &&
|
return fvg != NULL &&
|
||||||
fvg.IsValid();
|
fvg.IsValid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
void UpdateTo(datetime value = NULL)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
value = NormalizeTime(value);
|
||||||
|
|
||||||
|
//
|
||||||
|
if (HasOB())
|
||||||
|
{
|
||||||
|
ob.To(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
if (HasFVG())
|
||||||
|
{
|
||||||
|
fvg.To(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -8739,6 +8758,7 @@ int ExtractOBFVGZones(
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Detecting FVG ...
|
// Detecting FVG ...
|
||||||
|
idx = -1;
|
||||||
for (int j = 0; j < ArraySize(tmpFVGs); j++)
|
for (int j = 0; j < ArraySize(tmpFVGs); j++)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
@@ -8784,6 +8804,7 @@ int ExtractOBFVGZones(
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
idx = j;
|
||||||
iOBFVG.fvg = jFVG;
|
iOBFVG.fvg = jFVG;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -8796,6 +8817,18 @@ int ExtractOBFVGZones(
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Remove Selected FVG from List ...
|
||||||
|
if (IsValidIndex(idx))
|
||||||
|
{
|
||||||
|
//
|
||||||
|
ArrayRemove(
|
||||||
|
tmpFVGs,
|
||||||
|
idx,
|
||||||
|
1 //
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// TODO: Detect Other POI(s) ...
|
// TODO: Detect Other POI(s) ...
|
||||||
|
|
||||||
@@ -8809,6 +8842,9 @@ int ExtractOBFVGZones(
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
iOBFVG.UpdateTo(cTime);
|
||||||
|
|
||||||
//
|
//
|
||||||
AddRef(
|
AddRef(
|
||||||
iOBFVG,
|
iOBFVG,
|
||||||
|
|||||||
Reference in New Issue
Block a user