fix xca indicator to calculate all bars if necessary ...

This commit is contained in:
2025-04-29 09:19:52 +03:30
parent 7060ed012a
commit f7e8e1c5bf
3 changed files with 48 additions and 21 deletions
+18 -14
View File
@@ -1074,20 +1074,22 @@ bool DetectXCAEAConditions(
//
bool isCond2Bullish =
//
false &&
// false &&
//
isVolumeOverAvg &&
isVolumeBullish &&
isVolumeOverLast &&
c3MASlowState > 0 &&
c3MAMediumState > 0 &&
cBar.GetUp() > pSar &&
conditions.isFastOverSlow &&
conditions.isVidyaBullish &&
conditions.isFastOverMedium &&
isTrendRangeFinishedFromValid &&
conditions.isSwingHighOverLast &&
conditions.isSarSwitchedToBullish
conditions.isRSIOS
//
// isVolumeOverAvg &&
// isVolumeBullish &&
// isVolumeOverLast &&
// c3MASlowState > 0 &&
// c3MAMediumState > 0 &&
// cBar.GetUp() > pSar &&
// conditions.isFastOverSlow &&
// conditions.isVidyaBullish &&
// conditions.isFastOverMedium &&
// isTrendRangeFinishedFromValid &&
// conditions.isSwingHighOverLast &&
// conditions.isSarSwitchedToBullish
//
//
// isX3MaBearishState &&
@@ -1114,7 +1116,9 @@ bool DetectXCAEAConditions(
if (isCond2)
{
//
// Print("Cond2");
Print("Cond2");
isCond2Bullish = false;
isCond2Bearish = false;
}
//
+5 -5
View File
@@ -212,12 +212,12 @@ class XCXCAEASignaller : XCBase
// drawer.Draw(cTime);
//
// drawer.DrawPeakResSWHPivots(cTime);
// drawer.DrawValeSupSWLPivots(cTime);
drawer.DrawPeakResSWHPivots(cTime);
drawer.DrawValeSupSWLPivots(cTime);
// drawer.DrawFVGBullishPivots(cTime);
// drawer.DrawFVGBearishPivots(cTime);
// drawer.DrawRSICrossedOverOSPivots(cTime);
// drawer.DrawRSICrossedUnderOBPivots(cTime);
drawer.DrawRSICrossedOverOSPivots(cTime);
drawer.DrawRSICrossedUnderOBPivots(cTime);
//
// Retrieve Valid Pviots ...
@@ -849,7 +849,7 @@ class XCXCAEASignaller : XCBase
//
// Oscillators Views ...
inputs.showRSI = false;
inputs.showRSI = true;
inputs.showCCI = false;
inputs.showMFI = false;
inputs.showRVI = false;