cleanup unused collections and also disable drawings for memory improvement ...
This commit is contained in:
@@ -974,19 +974,27 @@ bool DetectX121SMCXTWPVSiganlSetup(
|
||||
|
||||
//
|
||||
int condition2MinPVDiffPoint = 30;
|
||||
bool isPeakDiffPointPassed = analysePeakDiff >= (condition2MinPVDiffPoint * points);
|
||||
bool isValeDiffPointPassed = analyseValeDiff >= (condition2MinPVDiffPoint * points);
|
||||
bool isAnalysePeakDiffPointPassed = analysePeakDiff >= (condition2MinPVDiffPoint * points);
|
||||
bool isAnalyseValeDiffPointPassed = analyseValeDiff >= (condition2MinPVDiffPoint * points);
|
||||
|
||||
//
|
||||
// DONCHAIN Conditions ...
|
||||
|
||||
// //
|
||||
// double analyseDonCloseUpper = analyseConditions.x121Conditions.donCloseUpperBuffer[1];
|
||||
// double analyseDonCloseLower = analyseConditions.x121Conditions.donCloseLowerBuffer[1];
|
||||
//
|
||||
double analyseDonOpenUpper = analyseConditions.x121Conditions.donOpenUpperBuffer[1];
|
||||
double analyseDonOpenLower = analyseConditions.x121Conditions.donOpenLowerBuffer[1];
|
||||
|
||||
// //
|
||||
// double analyseonOpenUpper = analyseConditions.x121Conditions.donOpenUpperBuffer[1];
|
||||
// double analyseonOpenLower = analyseConditions.x121Conditions.donOpenLowerBuffer[1];
|
||||
//
|
||||
double analyseDonHighUpper = analyseConditions.x121Conditions.donHighUpperBuffer[1];
|
||||
double analyseDonHighLower = analyseConditions.x121Conditions.donHighLowerBuffer[1];
|
||||
|
||||
//
|
||||
double analyseDonCloseUpper = analyseConditions.x121Conditions.donCloseUpperBuffer[1];
|
||||
double analyseDonCloseLower = analyseConditions.x121Conditions.donCloseLowerBuffer[1];
|
||||
|
||||
//
|
||||
double analyseDonLowUpper = analyseConditions.x121Conditions.donLowUpperBuffer[1];
|
||||
double analyseDonLowLower = analyseConditions.x121Conditions.donLowLowerBuffer[1];
|
||||
|
||||
//
|
||||
// OPEN ...
|
||||
@@ -1136,7 +1144,7 @@ bool DetectX121SMCXTWPVSiganlSetup(
|
||||
// Bullish Conditions 1 ...
|
||||
bool bullishConditions1 =
|
||||
//
|
||||
// false
|
||||
// false &&
|
||||
hasBullishTrend &&
|
||||
isBullishFiboPassed &&
|
||||
analyseCBar.IsBullish() &&
|
||||
@@ -1157,7 +1165,7 @@ bool DetectX121SMCXTWPVSiganlSetup(
|
||||
// Bearish Conditions 1 ...
|
||||
bool bearishConditions1 =
|
||||
//
|
||||
// false
|
||||
// false &&
|
||||
hasBearishTrend &&
|
||||
isBearishFiboPassed &&
|
||||
analyseCBar.IsBearish() &&
|
||||
@@ -1181,11 +1189,11 @@ bool DetectX121SMCXTWPVSiganlSetup(
|
||||
// Bullish Conditions 2 ...
|
||||
bool bullishConditions2 =
|
||||
//
|
||||
false
|
||||
// hasBullishTrend &&
|
||||
// isNewValeOverLast &&
|
||||
// donCloseLower > vale &&
|
||||
// isValeDiffPointPassed
|
||||
false &&
|
||||
hasBullishTrend &&
|
||||
isNewAnalyseValeOverLast &&
|
||||
isAnalyseValeDiffPointPassed &&
|
||||
analyseDonCloseLower > analyseVale
|
||||
//
|
||||
;
|
||||
if (bullishConditions2)
|
||||
@@ -1199,11 +1207,11 @@ bool DetectX121SMCXTWPVSiganlSetup(
|
||||
// Bearish Conditions 2 ...
|
||||
bool bearishConditions2 =
|
||||
//
|
||||
false
|
||||
// hasBearishTrend &&
|
||||
// isNewPeakUnderLast &&
|
||||
// donCloseUpper > peak &&
|
||||
// isPeakDiffPointPassed
|
||||
false &&
|
||||
hasBearishTrend &&
|
||||
isNewAnalysePeakUnderLast &&
|
||||
isAnalysePeakDiffPointPassed &&
|
||||
analyseDonCloseUpper > analysePeak
|
||||
//
|
||||
;
|
||||
if (bearishConditions2)
|
||||
|
||||
Reference in New Issue
Block a user