complete XPVSUPDEM Provider and attached it to SMC Strategy ...
also Cleanup Test Provider and Make a Backup of it for Next Usages ...
This commit is contained in:
@@ -1330,6 +1330,37 @@ class XC121SMCCycleHelper : public XCBase
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Last Peaks Pivot Point ...
|
||||
*
|
||||
* @param pivot: XPVPivotPoint instance Reference ...
|
||||
*
|
||||
* @return ( bool )
|
||||
*/
|
||||
bool GetLastPeakPivotPoint(XPVPivotPoint &pivot)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
pivot.Clean();
|
||||
|
||||
//
|
||||
XPVPivotPoint pivots[];
|
||||
int count = FillPeakPivotPoints(pivots);
|
||||
result = IsValidSize(count);
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
pivot = pivots[count - 1];
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve All Vale Pivot Point Changes as a Collection ...
|
||||
*
|
||||
@@ -1377,6 +1408,37 @@ class XC121SMCCycleHelper : public XCBase
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Last Vale Pivot Point ...
|
||||
*
|
||||
* @param pivot: XPVPivotPoint instance Reference ...
|
||||
*
|
||||
* @return ( bool )
|
||||
*/
|
||||
bool GetLastValePivotPoint(XPVPivotPoint &pivot)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
pivot.Clean();
|
||||
|
||||
//
|
||||
XPVPivotPoint pivots[];
|
||||
int count = FillValePivotPoints(pivots);
|
||||
result = IsValidSize(count);
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
pivot = pivots[count - 1];
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Current Active Pivot ...
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user