last ...
This commit is contained in:
@@ -1152,6 +1152,7 @@ bool TestDetectSignal(
|
|||||||
|
|
||||||
//
|
//
|
||||||
box = iBox;
|
box = iBox;
|
||||||
|
dir = iBox.dir;
|
||||||
|
|
||||||
//
|
//
|
||||||
iBox.Clean();
|
iBox.Clean();
|
||||||
|
|||||||
@@ -703,6 +703,52 @@ class XCXCAEASignaller : XCBase
|
|||||||
//
|
//
|
||||||
result = isBullish ||
|
result = isBullish ||
|
||||||
isBearish;
|
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)
|
if (result)
|
||||||
@@ -719,6 +765,10 @@ class XCXCAEASignaller : XCBase
|
|||||||
//
|
//
|
||||||
// Cleanup ...
|
// Cleanup ...
|
||||||
|
|
||||||
|
//
|
||||||
|
cBar.Clean();
|
||||||
|
conditions.Clean();
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user