add support for verify points using mA ...
This commit is contained in:
@@ -326,6 +326,7 @@ bool mXWZDetectSupportZones = true;
|
||||
bool mXWZDetectResistanceZones = true;
|
||||
|
||||
//
|
||||
bool filterPOIsUsingMa = true; // Filter POI(s) Using MA
|
||||
bool filterPOIsUsingZones = false; // Filter POI(s) Using Zones
|
||||
|
||||
//
|
||||
@@ -1249,6 +1250,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iBullMomentumValue =
|
||||
!filterPOIsUsingMa
|
||||
? iBullMomentumValue
|
||||
: iBullMomentumValue < iMa
|
||||
? iBullMomentumValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1269,6 +1278,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iBearMomentumValue =
|
||||
!filterPOIsUsingMa
|
||||
? iBearMomentumValue
|
||||
: iBearMomentumValue > iMa
|
||||
? iBearMomentumValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1317,6 +1334,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iBullRejectionValue =
|
||||
!filterPOIsUsingMa
|
||||
? iBullRejectionValue
|
||||
: iBullRejectionValue < iMa
|
||||
? iBullRejectionValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1337,6 +1362,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iBearRejectionValue =
|
||||
!filterPOIsUsingMa
|
||||
? iBearRejectionValue
|
||||
: iBearRejectionValue > iMa
|
||||
? iBearRejectionValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1386,6 +1419,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iBullPinValue =
|
||||
!filterPOIsUsingMa
|
||||
? iBullPinValue
|
||||
: iBullPinValue < iMa
|
||||
? iBullPinValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1406,6 +1447,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iBearPinValue =
|
||||
!filterPOIsUsingMa
|
||||
? iBearPinValue
|
||||
: iBearPinValue > iMa
|
||||
? iBearPinValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1454,6 +1503,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iBullEngulfValue =
|
||||
!filterPOIsUsingMa
|
||||
? iBullEngulfValue
|
||||
: iBullEngulfValue < iMa
|
||||
? iBullEngulfValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1474,6 +1531,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iBearEngulfValue =
|
||||
!filterPOIsUsingMa
|
||||
? iBearEngulfValue
|
||||
: iBearEngulfValue > iMa
|
||||
? iBearEngulfValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1521,7 +1586,15 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
iSwingLowValue =
|
||||
!filterPOIsUsingMa
|
||||
? iSwingLowValue
|
||||
: iSwingLowValue < iMa
|
||||
? iSwingLowValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
if (isSwingHigh)
|
||||
@@ -1541,6 +1614,14 @@ void CalculateValues(
|
||||
)
|
||||
? selectedValue
|
||||
: 0;
|
||||
|
||||
//
|
||||
iSwingHighValue =
|
||||
!filterPOIsUsingMa
|
||||
? iSwingHighValue
|
||||
: iSwingHighValue > iMa
|
||||
? iSwingHighValue
|
||||
: 0;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user