This commit is contained in:
2025-05-05 22:00:38 +03:30
parent 905ea76a16
commit 50a6c60b9f
2 changed files with 51 additions and 0 deletions
+1
View File
@@ -1152,6 +1152,7 @@ bool TestDetectSignal(
//
box = iBox;
dir = iBox.dir;
//
iBox.Clean();
+50
View File
@@ -703,6 +703,52 @@ class XCXCAEASignaller : XCBase
//
result = isBullish ||
isBearish;
if (!result)
{
return result;
}
//
// Checking Breakeout or Rejection ...
//
XOHCL cBar;
result = cBar.Init(
conditions.symbol,
conditions.period,
cIndex //
);
if (!result)
{
//
cBar.Clean();
//
return result;
}
//
// Retrieving Conditions ...
XCAEAConditions helperConditions;
result = helper.GetConditions(
helperConditions,
cIndex,
5 //
);
if (!result)
{
//
cBar.Clean();
conditions.Clean();
//
return result;
}
//
// Checking Breakeout or Rejection ...
// TODO: Handle this ...
bool isBreakeout = false;
//
if (result)
@@ -719,6 +765,10 @@ class XCXCAEASignaller : XCBase
//
// Cleanup ...
//
cBar.Clean();
conditions.Clean();
//
return result;
}