last ...
This commit is contained in:
@@ -2487,12 +2487,6 @@ class XCPOIDrawer : public XCBase
|
||||
long chartID = ChartIdentification();
|
||||
int window = SubWindowIdentification();
|
||||
|
||||
//
|
||||
// bool fill = BearishFVGFill();
|
||||
// int width = BearishFVGWidth();
|
||||
// color crl = BearishFVGColor();
|
||||
// ENUM_LINE_STYLE style = BearishFVGStyle();
|
||||
|
||||
//
|
||||
object = new XCTicksZoneObject();
|
||||
result = object.Create(
|
||||
@@ -2513,6 +2507,49 @@ class XCPOIDrawer : public XCBase
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create Consolidation Zone Object ...
|
||||
*
|
||||
* @param zone: XConsolidationZone instance Reference ...
|
||||
*
|
||||
* @return ( bool )
|
||||
*/
|
||||
bool CreateConsolidationZone(
|
||||
XConsolidationZone &zone,
|
||||
XCConsolidationZoneObject *&object //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
object = NULL;
|
||||
|
||||
//
|
||||
result = zone.IsValid();
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
string prefix = Prefix();
|
||||
long chartID = ChartIdentification();
|
||||
int window = SubWindowIdentification();
|
||||
|
||||
//
|
||||
object = new XCConsolidationZoneObject();
|
||||
result = object.Create(
|
||||
chartID,
|
||||
window,
|
||||
zone,
|
||||
prefix //
|
||||
);
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Draw Specified Signal ...
|
||||
*
|
||||
@@ -2537,13 +2574,17 @@ class XCPOIDrawer : public XCBase
|
||||
}
|
||||
|
||||
//
|
||||
string name = signal.GetTag();
|
||||
string prefix = Prefix();
|
||||
long chartID = ChartIdentification();
|
||||
int window = SubWindowIdentification();
|
||||
|
||||
//
|
||||
object = new XCSignalObject();
|
||||
result = object.Create(
|
||||
ChartIdentification(),
|
||||
name,
|
||||
SubWindowIdentification(),
|
||||
signal //
|
||||
chartID,
|
||||
window,
|
||||
signal,
|
||||
prefix //
|
||||
);
|
||||
if (!result)
|
||||
{
|
||||
@@ -3155,14 +3196,20 @@ class XCPOIDrawer : public XCBase
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
string prefix = Prefix();
|
||||
long chartID = ChartIdentification();
|
||||
int window = SubWindowIdentification();
|
||||
|
||||
//
|
||||
// Draw Pivot it self ...
|
||||
XCXPVPivotObject *iPivotObj;
|
||||
iPivotObj = new XCXPVPivotObject();
|
||||
bool isCreated = iPivotObj.Create(
|
||||
ChartIdentification(),
|
||||
SubWindowIdentification(),
|
||||
pivot //
|
||||
chartID,
|
||||
window,
|
||||
pivot,
|
||||
prefix //
|
||||
);
|
||||
if (!isCreated)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user