This commit is contained in:
2025-09-07 19:44:33 +03:30
parent 4b333d7f76
commit a365c14a3e
+8 -4
View File
@@ -387,10 +387,14 @@ class XCXOM1SignallerBase
if (has)
{
//
has = iFast >= iLower &&
iFast <= iUpper &&
iSlow >= iLower &&
iSlow <= iUpper;
double iZoneUpper = MathMax(iFibUpper, iFibLower);
double iZoneLower = MathMin(iFibUpper, iFibLower);
//
has = iFast >= iZoneLower &&
iFast <= iZoneUpper &&
iSlow >= iZoneLower &&
iSlow <= iZoneUpper;
}
//