Initial Commit ...
@@ -0,0 +1,79 @@
|
||||
Longs
|
||||
\\\\\\\\\\\\\\\\\\
|
||||
//////////////////
|
||||
|
||||
// 1/
|
||||
// isXTDSignalCrossedOverBear
|
||||
|
||||
2/3/4/6/7/9/
|
||||
isXTDSignalUnderBear
|
||||
|
||||
5/8/10/
|
||||
isXTDSignalOverBear
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1/2/4/5/6/7/8/9/10/
|
||||
isXOBDSignalUnderSwingHigh
|
||||
|
||||
// 3/
|
||||
// isXOBDSignalOverSwingHigh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1/3/4/8/9/
|
||||
isXCHLHSignalBOverSignalT
|
||||
|
||||
1/2/3/4/5/6/7/8/9/
|
||||
isXCHLHSignalBOverLCLL
|
||||
|
||||
1/4/5/7/8/10/
|
||||
isXCHLHMCLCHHSame
|
||||
|
||||
2/5/6/7/10/
|
||||
isXCHLHSignalBUnderSignalT
|
||||
|
||||
// 2/7/
|
||||
// isXCHLHSCMCLLSame
|
||||
|
||||
// 2/
|
||||
// isXCHLHSCLCLLSame
|
||||
|
||||
2/3/10/
|
||||
isXCHLHMCLCLLSame
|
||||
|
||||
// 10/
|
||||
// isXCHLHSignalBUnderLCLL
|
||||
|
||||
|
||||
|
||||
|
||||
1/5/6/10/
|
||||
isXCHMASCFastUnderSlow
|
||||
|
||||
1/3/4/7/8/9/
|
||||
isXCHMAMCFastOverSlow
|
||||
|
||||
// 1/2/
|
||||
// isXCHMALCFastUnderSlow
|
||||
|
||||
2/3/4/7/8/9/
|
||||
isXCHMASCFastOverSlow
|
||||
|
||||
2/5/6/10/
|
||||
isXCHMAMCFastUnderSlow
|
||||
|
||||
3/4/5/6/7/8/9/10/
|
||||
isXCHMALCFastOverSlow
|
||||
|
||||
Shorts
|
||||
\\\\\\\\\\\\\\\\\\
|
||||
//////////////////
|
||||
|
||||
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 37 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 14 KiB |
@@ -0,0 +1,293 @@
|
||||
//
|
||||
// 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 =
|
||||
//
|
||||
;
|
||||
@@ -0,0 +1,111 @@
|
||||
bool method1Cond1 =
|
||||
//
|
||||
conditions.isXCHLHMCLCHHSame &&
|
||||
conditions.isXCHMAMCFastOverSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXCHMASCFastUnderSlow &&
|
||||
conditions.isXCHLHSignalBOverSignalT &&
|
||||
conditions.isXOBDSignalUnderSwingHigh;
|
||||
|
||||
bool method1Cond2 =
|
||||
//
|
||||
conditions.isXCHLHMCLCLLSame &&
|
||||
conditions.isXTDSignalUnderBear &&
|
||||
conditions.isXCHMASCFastOverSlow &&
|
||||
conditions.isXCHMAMCFastUnderSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXOBDSignalUnderSwingHigh &&
|
||||
conditions.isXCHLHSignalBUnderSignalT;
|
||||
|
||||
bool method1Cond3 =
|
||||
//
|
||||
conditions.isXCHLHMCLCLLSame &&
|
||||
conditions.isXTDSignalUnderBear &&
|
||||
conditions.isXCHMAMCFastOverSlow &&
|
||||
conditions.isXCHMASCFastOverSlow &&
|
||||
conditions.isXCHMALCFastOverSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXCHLHSignalBOverSignalT;
|
||||
|
||||
bool method1Cond4 =
|
||||
//
|
||||
conditions.isXCHLHMCLCHHSame &&
|
||||
conditions.isXTDSignalUnderBear &&
|
||||
conditions.isXCHMAMCFastOverSlow &&
|
||||
conditions.isXCHMASCFastOverSlow &&
|
||||
conditions.isXCHMALCFastOverSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXCHLHSignalBOverSignalT &&
|
||||
conditions.isXOBDSignalUnderSwingHigh;
|
||||
|
||||
bool method1Cond5 =
|
||||
//
|
||||
conditions.isXCHLHMCLCHHSame &&
|
||||
conditions.isXTDSignalOverBear &&
|
||||
conditions.isXCHMALCFastOverSlow &&
|
||||
conditions.isXCHMASCFastUnderSlow &&
|
||||
conditions.isXCHMAMCFastUnderSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXOBDSignalUnderSwingHigh &&
|
||||
conditions.isXCHLHSignalBUnderSignalT;
|
||||
|
||||
bool method1Cond6 =
|
||||
//
|
||||
conditions.isXTDSignalUnderBear &&
|
||||
conditions.isXCHMALCFastOverSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXCHMASCFastUnderSlow &&
|
||||
conditions.isXCHMAMCFastUnderSlow &&
|
||||
conditions.isXOBDSignalUnderSwingHigh &&
|
||||
conditions.isXCHLHSignalBUnderSignalT;
|
||||
|
||||
bool method1Cond7 =
|
||||
//
|
||||
conditions.isXCHLHMCLCHHSame &&
|
||||
conditions.isXTDSignalUnderBear &&
|
||||
conditions.isXCHMAMCFastOverSlow &&
|
||||
conditions.isXCHMASCFastOverSlow &&
|
||||
conditions.isXCHMALCFastOverSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXOBDSignalUnderSwingHigh &&
|
||||
conditions.isXCHLHSignalBUnderSignalT;
|
||||
|
||||
bool method1Cond8 =
|
||||
//
|
||||
conditions.isXCHLHMCLCHHSame &&
|
||||
conditions.isXTDSignalOverBear &&
|
||||
conditions.isXCHMAMCFastOverSlow &&
|
||||
conditions.isXCHMASCFastOverSlow &&
|
||||
conditions.isXCHMALCFastOverSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXOBDSignalUnderSwingHigh &&
|
||||
conditions.isXCHLHSignalBOverSignalT;
|
||||
|
||||
|
||||
bool method1Cond9 =
|
||||
//
|
||||
conditions.isXTDSignalUnderBear &&
|
||||
conditions.isXCHMAMCFastOverSlow &&
|
||||
conditions.isXCHMASCFastOverSlow &&
|
||||
conditions.isXCHMALCFastOverSlow &&
|
||||
conditions.isXCHLHSignalBOverLCLL &&
|
||||
conditions.isXOBDSignalUnderSwingHigh &&
|
||||
conditions.isXCHLHSignalBOverSignalT;
|
||||
|
||||
bool isMethod1HasSignal =
|
||||
//
|
||||
// Merge Positions Conditions here ...
|
||||
conditions.isXTMVale && (
|
||||
//
|
||||
method1Cond1 ||
|
||||
method1Cond2 ||
|
||||
method1Cond3 ||
|
||||
method1Cond4 ||
|
||||
method1Cond5 ||
|
||||
method1Cond6 ||
|
||||
method1Cond7 ||
|
||||
method1Cond8 ||
|
||||
method1Cond9
|
||||
//
|
||||
);
|
||||
|
||||