last works on implementing Candlestick Patterns on Bar Analyser Class ...
This commit is contained in:
@@ -2988,52 +2988,6 @@
|
||||
//
|
||||
// Decisions ...
|
||||
|
||||
//
|
||||
bool IsBullishDecision(
|
||||
XOHCL &bar,
|
||||
double percent = 70 // Percent of Body
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
bar.IsValid() &&
|
||||
bar.Index() > 0 &&
|
||||
bar.IsBullish() &&
|
||||
(bar.GetRange() * percent) / 100 <= bar.GetBody()
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
bool IsBearishDecision(
|
||||
XOHCL &bar,
|
||||
double percent = 70 // Percent of Body
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
bar.IsValid() &&
|
||||
bar.Index() > 0 &&
|
||||
bar.IsBearish() &&
|
||||
(bar.GetRange() * percent) / 100 <= bar.GetBody()
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Candlestic Patterns ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user