last ...
This commit is contained in:
@@ -1076,16 +1076,16 @@ struct XOHCL
|
||||
//
|
||||
bool isBullish =
|
||||
IsBullish() &&
|
||||
IsBullish(forDir) &&
|
||||
close > price &&
|
||||
open < price;
|
||||
low < price &&
|
||||
high > price &&
|
||||
IsBullish(forDir);
|
||||
|
||||
//
|
||||
bool isBearish =
|
||||
IsBearish() &&
|
||||
IsBearish(forDir) &&
|
||||
close < price &&
|
||||
open > price;
|
||||
low < price &&
|
||||
high > price &&
|
||||
IsBearish(forDir);
|
||||
|
||||
//
|
||||
result = isBullish ||
|
||||
@@ -1102,7 +1102,7 @@ struct XOHCL
|
||||
//
|
||||
// Apply Edge Range ...
|
||||
double iReqRange =
|
||||
(range / 100) * GetFiboLevelValue(fibLevel);
|
||||
(range / 100) * (GetFiboLevelValue(fibLevel) * 100);
|
||||
|
||||
//
|
||||
// Calculate Boundary Price ...
|
||||
@@ -1117,9 +1117,16 @@ struct XOHCL
|
||||
|
||||
//
|
||||
// Detect Breaked Value ...
|
||||
// result =
|
||||
// isBullish
|
||||
// ?
|
||||
|
||||
//
|
||||
double breakedPrice =
|
||||
isBullish
|
||||
? (high - price)
|
||||
: (price - low);
|
||||
|
||||
//
|
||||
result =
|
||||
breakedPrice >= iReqRange;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user