remove backup files ...

This commit is contained in:
2025-02-12 01:27:26 +03:30
parent 44f2a9baba
commit 8f1ab5f8bd
24 changed files with 0 additions and 55412 deletions
File diff suppressed because it is too large Load Diff
-138
View File
@@ -1,138 +0,0 @@
//
// Detect New Order Blocks ...
bool hasNewBullishOB = Contains(
X_BULLISH_ORDERBLOCK_DETECTED,
consolidationPoiEvents //
);
bool hasNewBearishOB = Contains(
X_BEARISH_ORDERBLOCK_DETECTED,
consolidationPoiEvents //
);
bool hasNewOB = hasNewBullishOB ||
hasNewBearishOB;
result = hasNewOB;
if (!result)
{
return result;
}
//
// Make Sure New Order Block Detected ...
XCOrderBlock *liveOB = NULL;
if (hasNewBullishOB)
{
//
bool hasBullishOBs = consolidationState.HasBullishOrderBlocks();
int bullishOBsCount = consolidationState.CountBullishOrderBlocks();
if (hasBullishOBs)
{
liveOB = consolidationState.bullishOrderBlocks[bullishOBsCount - 1];
}
}
else if (hasNewBearishOB)
{
//
bool hasBearishOBs = consolidationState.HasBearishOrderBlocks();
int bearishOBsCount = consolidationState.CountBearishOrderBlocks();
if (hasBearishOBs)
{
liveOB = consolidationState.bearishOrderBlocks[bearishOBsCount - 1];
}
}
bool hasLiveOB = liveOB != NULL &&
liveOB.IsValid();
result = hasLiveOB;
if (!result)
{
return result;
}
//
bool isLiveOBBullish = liveOB.IsBullish();
bool isLiveOBBearish = liveOB.IsBearish();
//
ENUM_X_DIRECTION forDir =
isLiveOBBullish
? X_DIRECTION_BULLISH
: X_DIRECTION_BEARISH;
//
XOHCL startedBar;
ENUM_X_DIRECTION startedDir;
bool isLiveOBStarted = liveOB.IsStarted(
forDir,
startedBar,
startedDir //
);
//
XOHCL activatedBar;
ENUM_X_DIRECTION activatedDir;
bool isLiveOBActivated = liveOB.IsActivated(
forDir,
activatedBar,
activatedDir //
);
//
// DRAW ...
//
//
if (isLiveOBStarted)
{
//
XCOHCLObject *barObj;
bool isCreated = consolidationCycleHelper
.mPOIDrawer
.CreateBar(
startedBar,
barObj //
);
}
//
if (isLiveOBActivated)
{
//
XCOHCLObject *barObj;
bool isCreated = consolidationCycleHelper
.mPOIDrawer
.CreateBar(
activatedBar,
barObj //
);
if (isCreated)
{
//
barObj.BodyColor(clrGold);
barObj.HighShadowColor(clrGold);
barObj.LowShadowColor(clrGold);
}
}
//
// Draw Live OB ...
if (isLiveOBBullish)
{
//
XCBullishOrderBlockObject *iObj;
bool isCreated = consolidationCycleHelper
.mPOIDrawer
.CreateBullishOrderBlock(
liveOB,
iObj //
);
}
else
{
//
XCBearishOrderBlockObject *iObj;
bool isCreated = consolidationCycleHelper
.mPOIDrawer
.CreateBearishOrderBlock(
liveOB,
iObj //
);
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-199
View File
@@ -1,199 +0,0 @@
//
// DRAW ...
//
//
XCBaseObject *drawnObjects[];
// //
// if (hasYoungestBullOB)
// {
// //
// XCBullishOrderBlockObject *iObj;
// bool isCreated = drawer
// .CreateBullishOrderBlock(
// youngestBullOB,
// iObj //
// );
// //
// if (isCreated)
// {
// //
// Add(
// (XCBaseObject *)iObj,
// drawnObjects //
// );
// }
// }
// //
// if (hasYoungestBearOB)
// {
// //
// XCBearishOrderBlockObject *iObj;
// bool isCreated = drawer
// .CreateBearishOrderBlock(
// youngestBearOB,
// iObj //
// );
// //
// if (isCreated)
// {
// //
// Add(
// (XCBaseObject *)iObj,
// drawnObjects //
// );
// }
// }
// //
// // Draw Breaked Bullish OrderBlocks ...
// if (hasBreakedBullOBs)
// {
// //
// for (int i = 0; i < breakedBullOBsCount; i++)
// {
// //
// XCOrderBlock *iOB = breakedBullOBs[i];
// // iOB.To(cTime);
// //
// XCBullishOrderBlockObject *iObj;
// bool isCreated = drawer
// .CreateBullishOrderBlock(
// iOB,
// iObj //
// );
// //
// if (isCreated)
// {
// //
// Add(
// (XCBaseObject *)iObj,
// drawnObjects //
// );
// }
// }
// }
// //
// // Draw Breaked Bearish OrderBlocks ...
// if (hasBreakedBearOBs)
// {
// //
// for (int i = 0; i < breakedBearOBsCount; i++)
// {
// //
// XCOrderBlock *iOB = breakedBearOBs[i];
// // iOB.To(cTime);
// //
// XCBearishOrderBlockObject *iObj;
// bool isCreated = drawer
// .CreateBearishOrderBlock(
// iOB,
// iObj //
// );
// //
// if (isCreated)
// {
// //
// Add(
// (XCBaseObject *)iObj,
// drawnObjects //
// );
// }
// }
// }
//
// Draw Tests ...
if (hasTests)
{
//
for (int i = 0; i < testsCount; i++)
{
//
XOBTest iTest = tests[i];
//
bool hasOB = iTest.HasOB();
if (hasOB)
{
//
bool isBullish = iTest.ob.IsBullish();
//
XCBaseObject *obObj;
bool isCreated = drawer
.CreateOrderBlock(
iTest.ob,
obObj //
);
if (isCreated)
{
//
Add(
obObj,
drawnObjects //
);
}
}
//
// bool hasFVGs = iTest.HasFVGs();
// int fvgsCount = iTest.CountFVGs();
// for (int j = 0; j < fvgsCount; j++)
// {
// //
// XCFVG *jFVG = iTest.fvgs[j];
// // jFVG.To(iTest.ob.To());
// //
// XCBaseObject *fvgObj;
// bool isCreated = drawer
// .CreateFairValueGap(
// jFVG,
// fvgObj //
// );
// if (isCreated)
// {
// //
// Add(
// fvgObj,
// drawnObjects //
// );
// }
// }
//
bool hasFVG = iTest.fvg != NULL &&
iTest.fvg.IsValid();
if (hasFVG)
{
//
XCBaseObject *fvgObj;
bool isCreate = drawer.CreateFairValueGap(
iTest.fvg,
fvgObj //
);
if (isCreate)
{
//
Add(
fvgObj,
drawnObjects //
);
}
}
}
}
//
// END DRAW ...
//
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff