last ...
This commit is contained in:
@@ -1463,6 +1463,29 @@ struct XOHCL
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Candlestic Tools ...
|
||||
|
||||
//
|
||||
bool IsDoji() {
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
// Validate Content and Ignore 0 Bar
|
||||
// since it is not Completed ...
|
||||
result = IsValid() && Index() > 0;
|
||||
if (!result) {
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = open == close;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// Convert to String Representation ...
|
||||
string ToString()
|
||||
|
||||
Reference in New Issue
Block a user