This commit is contained in:
2025-04-25 02:04:21 +03:30
parent aa648284cf
commit e1bcf58bc8
4 changed files with 384 additions and 13 deletions
+16 -2
View File
@@ -171,10 +171,12 @@ class XCXCAEASignaller : XCBase
XBoxZone pivotBox;
XBoxZone signalBox;
int pivotsCount = 0;
bool hasTrend = false;
bool hasPivots = false;
double additionalSL = 0;
bool hasSignalBox = false;
XCAEAConditions conditions;
ENUM_X_DIRECTION trend = X_DIRECTION_NONE;
ENUM_X_DIRECTION signalBoxDir = X_DIRECTION_NONE;
//
@@ -190,12 +192,16 @@ class XCXCAEASignaller : XCBase
zIndex //
);
//
// Check Market Trend ...
hasTrend = detector.MarketTrend(trend);
//
// Draw Founded Pivots ...
drawer.Draw(cTime);
//
// Retrieve Valid Boxes ...
// Retrieve Valid Pviots ...
pivotsCount = detector.FillPivots(pivots);
hasPivots = IsValidSize(pivotsCount);
@@ -245,6 +251,7 @@ class XCXCAEASignaller : XCBase
//
// Detect Sinal Box ...
hasSignalBox = DetectXCAEAConditions(
trend,
pivots,
conditions,
pivotBox,
@@ -758,7 +765,8 @@ class XCXCAEASignaller : XCBase
//
// Configure Drawer ...
drawer.drawTickPivots = true;
drawer.drawTrendLine = true;
drawer.drawTickPivots = false;
drawer.drawVolumePivots = false;
drawer.drawRSIPeakPivots = true;
drawer.drawRSIValePivots = true;
@@ -783,6 +791,8 @@ class XCXCAEASignaller : XCBase
drawer.fvgBearishPivotsWidth = 2;
drawer.valeSupSWLPivotsWidth = 1;
drawer.peakResSWHPivotsWidth = 1;
drawer.trendLineBullishWidth = 4;
drawer.trendLineBullishWidth = 4;
drawer.pvFVGBullishPivotsWidth = 1;
drawer.pvFVGBearishPivotsWidth = 1;
@@ -798,6 +808,8 @@ class XCXCAEASignaller : XCBase
drawer.fvgBearishPivotsColor = clrRed;
drawer.valeSupSWLPivotsColor = clrAqua;
drawer.peakResSWHPivotsColor = clrMagenta;
drawer.trendLineBullishColor = clrAqua;
drawer.trendLineBullishColor = clrMagenta;
drawer.pvFVGBullishPivotsColor = clrLime;
drawer.pvFVGBearishPivotsColor = clrRed;
@@ -813,6 +825,8 @@ class XCXCAEASignaller : XCBase
drawer.fvgBearishPivotsStyle = STYLE_DASHDOTDOT;
drawer.valeSupSWLPivotsStyle = STYLE_SOLID;
drawer.peakResSWHPivotsStyle = STYLE_SOLID;
drawer.trendLineBullishWidth = STYLE_SOLID;
drawer.trendLineBullishWidth = STYLE_SOLID;
drawer.pvFVGBullishPivotsStyle = STYLE_DASHDOTDOT;
drawer.pvFVGBearishPivotsStyle = STYLE_DASHDOTDOT;