// // Draw ... // // XCBaseObject *drawnObjects[]; // if (hasBullishOBs) { // for (int i = 0; i < bullishOBsCount; i++) { // XCOrderBlock *iOb = conditions.bullishOBs[i]; // XCBullishOrderBlockObject *iObObj; bool isCreated = visionCycleHelper .mPOIDrawer .CreateBullishOrderBlock( iOb, iObObj // ); if (isCreated) { // Add( (XCBaseObject *)iObObj, drawnObjects // ); } } } // if (hasBearishOBs) { // for (int i = 0; i < bearishOBsCount; i++) { // XCOrderBlock *iOb = conditions.bearishOBs[i]; // XCBearishOrderBlockObject *iObObj; bool isCreated = visionCycleHelper .mPOIDrawer .CreateBearishOrderBlock( iOb, iObObj // ); if (isCreated) { // Add( (XCBaseObject *)iObObj, drawnObjects // ); } } } // if (hasBullishFVGs) { // for (int i = 0; i < bullishFVGsCount; i++) { // XCFVG *iFVG = conditions.bullishFVGs[i]; // XCBullishFairValueGapObject *iFVGObj; bool isCreated = visionCycleHelper .mPOIDrawer .CreateBullishFairValueGap( iFVG, iFVGObj // ); if (isCreated) { // Add( (XCBaseObject *)iFVGObj, drawnObjects // ); } } } // if (hasBearishFVGs) { // for (int i = 0; i < bearishFVGsCount; i++) { // XCFVG *iFVG = conditions.bearishFVGs[i]; // XCBearishFairValueGapObject *iFVGObj; bool isCreated = visionCycleHelper .mPOIDrawer .CreateBearishFairValueGap( iFVG, iFVGObj // ); if (isCreated) { // Add( (XCBaseObject *)iFVGObj, drawnObjects // ); } } } // if (hasSupportZones) { // for (int i = 0; i < supportZonesCount; i++) { // XCSupportZoneObject *iObj; bool isCreated = visionCycleHelper .mPOIDrawer .CreateSupportZone( conditions.supportZones[i], iObj // ); // if (isCreated) { // Add( (XCBaseObject *)iObj, drawnObjects // ); } } } // if (hasResistanceZones) { // for (int i = 0; i < resistanceZonesCount; i++) { // XCResistanceZoneObject *iObj; bool isCreated = visionCycleHelper .mPOIDrawer .CreateResistanceZone( conditions.resistanceZones[i], iObj // ); // if (isCreated) { // Add( (XCBaseObject *)iObj, drawnObjects // ); } } } // if (hasDemandZones) { // for (int i = 0; i < demandZonesCount; i++) { // XCDemandZoneObject *iObj; bool isCreated = visionCycleHelper .mPOIDrawer .CreateDemandZone( conditions.demandZones[i], iObj // ); // if (isCreated) { // Add( (XCBaseObject *)iObj, drawnObjects // ); } } } // if (hasSupplyZones) { // for (int i = 0; i < supplyZonesCount; i++) { // XCSupplyZoneObject *iObj; bool isCreated = visionCycleHelper .mPOIDrawer .CreateSupplyZone( conditions.supplyZones[i], iObj // ); // if (isCreated) { // Add( (XCBaseObject *)iObj, drawnObjects // ); } } } // // //