Complete Ticks Zones ...
This commit is contained in:
@@ -2268,6 +2268,59 @@ class XCPOIDrawer : public XCBase
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Ticks Zone ...
|
||||
|
||||
bool CreateTicksZone(
|
||||
XCTicksZone &zone,
|
||||
XCTicksZoneObject *&object
|
||||
) {
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result = zone.IsValid();
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
string prefix = Prefix();
|
||||
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(
|
||||
chartID,
|
||||
window,
|
||||
zone,
|
||||
prefix //
|
||||
);
|
||||
|
||||
//
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// object.ZoneFill(fill);
|
||||
// object.ZoneColor(crl);
|
||||
// object.ZoneWidth(width);
|
||||
// object.ZoneStyle(style);
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
protected:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user