This commit is contained in:
2024-07-18 09:58:29 +03:30
parent b4bc3774b0
commit 57affb201e
4 changed files with 603 additions and 71 deletions
+66
View File
@@ -2265,6 +2265,72 @@ struct XOHCL
return result;
}
//
// Bullish Marubozu ...
bool IsBullishMarubozu()
{
//
bool result = false;
//
result = IsValid() && Index() > 0;
if (!result)
{
return result;
}
//
result = IsBullish();
if (!result)
{
return result;
}
//
result =
//
GetUp() == high &&
GetDown() == low
//
;
//
return result;
}
//
// Bearish Marubozu ...
bool IsBearishMarubozu()
{
//
bool result = false;
//
result = IsValid() && Index() > 0;
if (!result)
{
return result;
}
//
result = IsBearish();
if (!result)
{
return result;
}
//
result =
//
GetUp() == high &&
GetDown() == low
//
;
//
return result;
}
//
// Contextual Patterns ...