complete XCA Indicator, implements it's Helper and Add all Conditions, and also rename XSTRCCI tProject o XCAEA and only use XCA and XOSC inside it ...

This commit is contained in:
2025-04-15 04:31:43 +03:30
parent ab6ddf0b43
commit d912210e68
11 changed files with 6725 additions and 1445 deletions
+40
View File
@@ -1049,6 +1049,46 @@ struct XOHCL
return result;
}
//
bool IsBreaked(
double price,
ENUM_X_DIRECTION forDir //
)
{
//
bool result = false;
//
result = IsValid() &&
price > 0 &&
HasDirection(forDir);
if (!result)
{
return result;
}
//
bool isBullish =
IsBullish() &&
IsBullish(forDir) &&
close > price &&
open < price;
//
bool isBearish =
IsBearish() &&
IsBearish(forDir) &&
close < price &&
open > price;
//
result = isBullish ||
isBearish;
//
return result;
}
//
// Find Highest Bar Index ...
int FindHighestIndex(