This commit is contained in:
2024-12-29 05:42:27 +03:30
parent 408422dcfc
commit ecdba76c3f
12 changed files with 2310 additions and 104 deletions
+25 -3
View File
@@ -2518,6 +2518,7 @@ class XCPOIDrawer : public XCBase
*
* @param state: XPOIState instance Reference ...
* @param drawnObjects: CArrayObj instance for Holding Drawn Objects ...
* @param drawTicksZone: Boolean ...
* @param ignoreSwingHighs: Boolean ...
* @param ignoreSwingLows: Boolean ...
* @param ignoreSupportZones: Boolean ...
@@ -2536,6 +2537,7 @@ class XCPOIDrawer : public XCBase
int DrawState(
XPOIState &state,
XCBaseObject *&drawnObjects[],
bool drawTicksZone = false,
bool ignoreSwingHighs = false,
bool ignoreSwingLows = false,
bool ignoreSupportZones = false,
@@ -3013,6 +3015,24 @@ class XCPOIDrawer : public XCBase
}
}
//
if (drawTicksZone && state.ticksZone != NULL)
{
//
XCTicksZoneObject *iObj;
bool isCreated = CreateTicksZone(
state.ticksZone,
iObj //
);
if (isCreated)
{
Add(
(XCBaseObject *)iObj,
drawnObjects //
);
}
}
//
result = ArraySize(drawnObjects);
@@ -3025,7 +3045,7 @@ class XCPOIDrawer : public XCBase
*
* @param pivot: XPVPivot instance Reference ...
* @param drawState: Boolean ...
* @param filterByPrice: Boolean ...
* @param drawTicksZone: Boolean ...
* @param ignoreSwingHighs: Boolean ...
* @param ignoreSwingLows: Boolean ...
* @param ignoreSupportZones: Boolean ...
@@ -3044,7 +3064,8 @@ class XCPOIDrawer : public XCBase
int DrawPivot(
XPVPivot &pivot,
XCBaseObject *&drawnObjects[],
bool drawState = true,
bool drawState = false,
bool drawTicksZone = false,
bool ignoreSwingHighs = false,
bool ignoreSwingLows = false,
bool ignoreSupportZones = false,
@@ -3099,7 +3120,7 @@ class XCPOIDrawer : public XCBase
(XCBaseObject *)iPivotObj,
drawnObjects //
);
//
result = ArraySize(drawnObjects);
@@ -3120,6 +3141,7 @@ class XCPOIDrawer : public XCBase
int stateCount = DrawState(
pivot.state,
stateObjects,
drawTicksZone,
ignoreSwingHighs,
ignoreSwingLows,
ignoreSupportZones,