last ...
This commit is contained in:
@@ -2098,6 +2098,190 @@ struct X121SignalGenerator
|
||||
// Set Default Result to True ...
|
||||
result = true;
|
||||
|
||||
//
|
||||
result =
|
||||
//
|
||||
result &&
|
||||
!(
|
||||
//
|
||||
// XSCORES ...
|
||||
(
|
||||
//
|
||||
bearishScore < 5 &&
|
||||
bullishScore > bearishScore * 10
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
// XMRB ...
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.mrbConditions.isFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
// XCM ...
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.mcConditions.isFastUnderSlow ||
|
||||
conditions.mcConditions.isFastUnderVerifier
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
// XICH ...
|
||||
(
|
||||
//
|
||||
(
|
||||
conditions.ichConditions.isClosedUnderKijunSen &&
|
||||
conditions.ichConditions.isTenkanSenOverKijunSen
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
!conditions.ichConditions.isClosedOverKijunSen &&
|
||||
conditions.ichConditions.isTenkanSenOverKijunSen
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.ichConditions.isClosedOverKijunSen &&
|
||||
!conditions.ichConditions.isTenkanSenOverKijunSen
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.ichConditions.isSenkouSpanAUnderB ||
|
||||
conditions.ichConditions.isSenkouSpanAUnderLast ||
|
||||
conditions.ichConditions.isFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
// XCHMA ...
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
(!conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isFastUnderSlow)
|
||||
//
|
||||
&&
|
||||
//
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isCFastUnderSlow ||
|
||||
conditions.chmaConditions.isSFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isSFastUnderSlow ||
|
||||
conditions.chmaConditions.isMFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isMFastUnderSlow ||
|
||||
conditions.chmaConditions.isLFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isLFastUnderSlow ||
|
||||
conditions.chmaConditions.isHFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isCFastUnderSlow ||
|
||||
conditions.chmaConditions.isSFastUnderSlow ||
|
||||
conditions.chmaConditions.isMFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isCFastUnderSlow ||
|
||||
conditions.chmaConditions.isSFastUnderSlow ||
|
||||
conditions.chmaConditions.isMFastUnderSlow ||
|
||||
conditions.chmaConditions.isLFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isCFastUnderSlow ||
|
||||
conditions.chmaConditions.isSFastUnderSlow ||
|
||||
conditions.chmaConditions.isMFastUnderSlow ||
|
||||
conditions.chmaConditions.isLFastUnderSlow ||
|
||||
conditions.chmaConditions.isHFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isRetestFastSlow &&
|
||||
conditions.chmaConditions.isRetestCFastSlow &&
|
||||
conditions.chmaConditions.isRetestSFastSlow &&
|
||||
conditions.chmaConditions.isRetestMFastSlow &&
|
||||
conditions.chmaConditions.isRetestLFastSlow &&
|
||||
conditions.chmaConditions.isRetestHFastSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
//
|
||||
// Apply Filter ...
|
||||
// Based On Symbol and Period ...
|
||||
@@ -3367,6 +3551,17 @@ struct X121SignalGenerator
|
||||
// Set Default Result to True ...
|
||||
result = true;
|
||||
|
||||
// //
|
||||
// result =
|
||||
// //
|
||||
// result &&
|
||||
// !(
|
||||
// //
|
||||
// //
|
||||
// )
|
||||
// //
|
||||
// ;
|
||||
|
||||
//
|
||||
// Apply Filter ...
|
||||
// Based On Symbol and Period ...
|
||||
|
||||
@@ -0,0 +1,163 @@
|
||||
//
|
||||
// XSCORES ...
|
||||
(
|
||||
//
|
||||
bearishScore < 5 &&
|
||||
bullishScore > bearishScore * 10
|
||||
//
|
||||
)
|
||||
|
||||
//
|
||||
// XICH ...
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
!conditions.ichConditions.isClosedOverKijunSen &&
|
||||
conditions.ichConditions.isTenkanSenOverKijunSen
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.ichConditions.isClosedOverKijunSen &&
|
||||
!conditions.ichConditions.isTenkanSenOverKijunSen
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.ichConditions.isSenkouSpanAUnderB ||
|
||||
conditions.ichConditions.isSenkouSpanAUnderLast ||
|
||||
conditions.ichConditions.isFutureSenkouSpanAUnderB
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
|
||||
//
|
||||
// XCHMA ...
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
(!conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isFastUnderSlow)
|
||||
//
|
||||
&&
|
||||
//
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isCFastUnderSlow ||
|
||||
conditions.chmaConditions.isSFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isSFastUnderSlow ||
|
||||
conditions.chmaConditions.isMFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isMFastUnderSlow ||
|
||||
conditions.chmaConditions.isLFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isLFastUnderSlow ||
|
||||
conditions.chmaConditions.isHFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isCFastUnderSlow ||
|
||||
conditions.chmaConditions.isSFastUnderSlow ||
|
||||
conditions.chmaConditions.isMFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isCFastUnderSlow ||
|
||||
conditions.chmaConditions.isSFastUnderSlow ||
|
||||
conditions.chmaConditions.isMFastUnderSlow ||
|
||||
conditions.chmaConditions.isLFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isCFastUnderSlow ||
|
||||
conditions.chmaConditions.isSFastUnderSlow ||
|
||||
conditions.chmaConditions.isMFastUnderSlow ||
|
||||
conditions.chmaConditions.isLFastUnderSlow ||
|
||||
conditions.chmaConditions.isHFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.chmaConditions.isRetestFastSlow &&
|
||||
conditions.chmaConditions.isRetestCFastSlow &&
|
||||
conditions.chmaConditions.isRetestSFastSlow &&
|
||||
conditions.chmaConditions.isRetestMFastSlow &&
|
||||
conditions.chmaConditions.isRetestLFastSlow &&
|
||||
conditions.chmaConditions.isRetestHFastSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
|
||||
//
|
||||
// XCM ...
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.mcConditions.isFastUnderSlow ||
|
||||
conditions.mcConditions.isFastUnderVerifier
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
|
||||
//
|
||||
// XMRB ...
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
conditions.mrbConditions.isFastUnderSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
@@ -1964,14 +1964,14 @@ struct XBarTracker
|
||||
bool CanProcessBar()
|
||||
{
|
||||
//
|
||||
bool isInTestMode = IsRunningOnTestMode();
|
||||
bool _isInTestMode = IsRunningOnTestMode();
|
||||
|
||||
//
|
||||
bool isNewBar = IsNewBar();
|
||||
|
||||
//
|
||||
bool result =
|
||||
isInTestMode
|
||||
_isInTestMode
|
||||
? isNewBar
|
||||
: !waitsUntilNext
|
||||
? true
|
||||
|
||||
Reference in New Issue
Block a user