// // START Indicator/Oscillator(s) Cases ... // // // XTD ... bool xTDCase1 = conditions.isXTDSignalCrossedOverBear; bool xTDCase2 = conditions.isXTDSignalUnderBear; bool xTDCase3 = conditions.isXTDSignalOverBear; // // XOBD ... bool xOBDCase1 = conditions.isXOBDSignalUnderSwingHigh; bool xOBDCase2 = conditions.isXOBDSignalOverSwingHigh; // // XCHLH ... bool xCHLHCase1 = conditions.isXCHLHSignalBOverSignalT && conditions.isXCHLHSignalBOverLCLL; bool xCHLHCase2 = conditions.isXCHLHMCLCHHSame; bool xCHLHCase3 = conditions.isXCHLHSignalBUnderSignalT; bool xCHLHCase4 = conditions.isXCHLHSignalBOverLCLL; bool xCHLHCase5 = conditions.isXCHLHSCMCLLSame && conditions.isXCHLHSCLCLLSame; bool xCHLHCase6 = conditions.isXCHLHMCLCLLSame; // // XCHMA ... bool xCHMACase1 = conditions.isXCHMASCFastUnderSlow && conditions.isXCHMAMCFastOverSlow && conditions.isXCHMALCFastUnderSlow; bool xCHMACase2 = conditions.isXCHMASCFastOverSlow && conditions.isXCHMAMCFastUnderSlow && conditions.isXCHMALCFastUnderSlow; bool xCHMACase3 = conditions.isXCHMASCFastOverSlow && conditions.isXCHMAMCFastOverSlow && conditions.isXCHMALCFastOverSlow; bool xCHMACase4 = conditions.isXCHMASCFastUnderSlow && conditions.isXCHMAMCFastUnderSlow && conditions.isXCHMALCFastOverSlow; // // START Indicator/Oscillator(s) Cases ... // // // In this Method we give XTM Signals as a Base and then try to // get Verifications from other stuffs ... // bool isMethod1HasSignal = // // // isXTMHasSignal && // // // conditions.isXTMVale && // // // ( // // // ( // // // xTDCase1 && // // // ( // // // ( // // // xOBDCase1 && // // // ( // // // xCHLHCase1 && // xCHLHCase2 && // xCHMACase1 // // // ) // // // ) // // // ) // // // ) || // ( // // // xTDCase2 && // // // ( // // // xOBDCase1 && // // // ( // // // ( // // // xCHLHCase3 && // xCHLHCase4 && // xCHLHCase5 && // xCHLHCase6 && // // // xCHMACase2 // // // ) || // ( // // // xCHLHCase1 && // xCHLHCase6 && // // // xCHMACase3 // // // ) || // ( // // // xCHLHCase3 && // xCHLHCase4 && // xCHLHCase2 && // // // xCHMACase4 // // // ) // // // ) // // // ) // // // ) // // // ) // // // ; // bool isMethod1HasSignal = false; // // XCHMA ... bool xCHMACase1 = conditions.isXCHMASCFastUnderSlow && conditions.isXCHMAMCFastOverSlow && conditions.isXCHMALCFastUnderSlow; bool xCHMACase2 = conditions.isXCHMASCFastOverSlow && conditions.isXCHMAMCFastUnderSlow && conditions.isXCHMALCFastUnderSlow; bool xCHMACase3 = conditions.isXCHMASCFastOverSlow && conditions.isXCHMAMCFastOverSlow && conditions.isXCHMALCFastOverSlow; bool xCHMACase4 = conditions.isXCHMASCFastUnderSlow && conditions.isXCHMAMCFastUnderSlow && conditions.isXCHMALCFastOverSlow; // // XCHLH ... bool xCHLHCase = false; bool xCHLHCase1 = conditions.isXCHLHSignalBOverSignalT && conditions.isXCHLHSignalBOverLCLL; bool xCHLHCase2 = conditions.isXCHLHSignalBUnderSignalT && conditions.isXCHLHSignalBOverLCLL; bool xCHLHCase3 = conditions.isXCHLHSignalBUnderSignalT && conditions.isXCHLHSignalBUnderLCLL; bool xCHLHCase4 = conditions.isXCHLHMCLCHHSame; bool xCHLHCase5 = conditions.isXCHLHMCLCLLSame; bool xCHLHCase6 = conditions.isXCHLHSCMCLLSame; bool xCHLHCase7 = conditions.isXCHLHSCLCLLSame; // bool xCHLHMAState1 = ( // xCHLHCase1 && conditions.isXOBDSignalUnderSwingHigh // ( // ( // xCHLHCase4 && // ( xCHMACase1 || xCHMACase3 ) ) // || // ( // xCHLHCase5 && // xCHMACase3 // ) // || // xCHMACase3 // ) // ); // bool xCHLHMAState2 = ( // xCHLHCase2 && // ( // ( // xCHLHCase5 && xCHLHCase6 && xCHLHCase7 && // xCHMACase2 // ) // || // ( // xCHLHCase4 && // xCHMACase4 // ) // || // xCHMACase4 // || // ( // xCHLHCase4 && xCHLHCase6 && // xCHMACase3 // ) // ) ); // // XCHLH => XCHMA ... bool xCHLHCombineXCHMA = // xCHLHMAState1 // || // xCHLHMAState2 // ; // // XOBD => XCHLH => XCHMA ... bool xOBDCombineXCHLHCombineXCHMA = // ;