refactor all requirements for draw and detect pois and also add Fima Helper, Parser Class Implementations for Separation of Concerns ...
This commit is contained in:
@@ -334,3 +334,46 @@
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Testing Draws ...
|
||||
|
||||
//
|
||||
XFIMAMarketStructure pivots[];
|
||||
|
||||
//
|
||||
XPivot pvPivots[];
|
||||
XPivot hkPivots[];
|
||||
XPivot maPivots[];
|
||||
XPivot zgPivots[];
|
||||
XPivot sarPivots[];
|
||||
|
||||
//
|
||||
poiDetector.CollectZGPivots(zgPivots);
|
||||
poiDetector.CollectMAPivots(maPivots);
|
||||
poiDetector.CollectHKPivots(hkPivots);
|
||||
poiDetector.CollectPVPivots(pvPivots);
|
||||
poiDetector.CollectSARPivots(sarPivots);
|
||||
|
||||
//
|
||||
// Merging All Pivots ...
|
||||
Copy(pvPivots, pivots, false);
|
||||
Copy(zgPivots, pivots, false);
|
||||
Copy(maPivots, pivots, false);
|
||||
Copy(hkPivots, pivots, false);
|
||||
Copy(sarPivots, pivots, false);
|
||||
|
||||
//
|
||||
if (HasChild(pivots))
|
||||
{
|
||||
poiDrawer.DrawPivots(pivots, iDrawConfig);
|
||||
}
|
||||
|
||||
//
|
||||
// Cleanup ...
|
||||
XClean(pivots);
|
||||
XClean(pvPivots);
|
||||
XClean(hkPivots);
|
||||
XClean(maPivots);
|
||||
XClean(zgPivots);
|
||||
XClean(sarPivots);
|
||||
|
||||
Reference in New Issue
Block a user