3828 lines
169 KiB
Plaintext
3828 lines
169 KiB
Plaintext
//
|
|
&&
|
|
//
|
|
// Exceptions:
|
|
// there some commonly Exceptions which makes our choice incorrect,
|
|
// here we are combined knownly Exceptions ...
|
|
!(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
((mConditions.isXLHLLSameInLength &&
|
|
mConditions.isXLHHHSameInLength) &&
|
|
(
|
|
//
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
(mConditions.isXLHPriceInSignalRange &&
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
((mConditions.isXLHPriceUnderSignal ||
|
|
mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
((mConditions.isXLHPriceOverSignal ||
|
|
mConditions.isXLHPriceCrossedOverSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
((!mConditions.isXLHPriceOverSignal &&
|
|
!mConditions.isXLHPriceUnderSignal &&
|
|
!mConditions.isXLHPriceInSignalRange &&
|
|
!mConditions.isXLHPriceCrossedOverSignal &&
|
|
!mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
((mConditions.isXLHLLSameInLength &&
|
|
!mConditions.isXLHHHSameInLength) &&
|
|
(
|
|
//
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
(mConditions.isXLHPriceInSignalRange &&
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
((mConditions.isXLHPriceUnderSignal ||
|
|
mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
((mConditions.isXLHPriceOverSignal ||
|
|
mConditions.isXLHPriceCrossedOverSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
((!mConditions.isXLHPriceOverSignal &&
|
|
!mConditions.isXLHPriceUnderSignal &&
|
|
!mConditions.isXLHPriceInSignalRange &&
|
|
!mConditions.isXLHPriceCrossedOverSignal &&
|
|
!mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
((!mConditions.isXLHLLSameInLength &&
|
|
mConditions.isXLHHHSameInLength) &&
|
|
(
|
|
//
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
(mConditions.isXLHPriceInSignalRange &&
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
((mConditions.isXLHPriceUnderSignal ||
|
|
mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
((mConditions.isXLHPriceOverSignal ||
|
|
mConditions.isXLHPriceCrossedOverSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
((!mConditions.isXLHPriceOverSignal &&
|
|
!mConditions.isXLHPriceUnderSignal &&
|
|
!mConditions.isXLHPriceInSignalRange &&
|
|
!mConditions.isXLHPriceCrossedOverSignal &&
|
|
!mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
((!mConditions.isXLHLLSameInLength &&
|
|
!mConditions.isXLHHHSameInLength) &&
|
|
(
|
|
//
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
(mConditions.isXLHPriceInSignalRange &&
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
((mConditions.isXLHPriceUnderSignal ||
|
|
mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
((mConditions.isXLHPriceOverSignal ||
|
|
mConditions.isXLHPriceCrossedOverSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
((!mConditions.isXLHPriceOverSignal &&
|
|
!mConditions.isXLHPriceUnderSignal &&
|
|
!mConditions.isXLHPriceInSignalRange &&
|
|
!mConditions.isXLHPriceCrossedOverSignal &&
|
|
!mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Stop Outs ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
||
|
|
//
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
((mConditions.isXLHLLSameInLength &&
|
|
mConditions.isXLHHHSameInLength) &&
|
|
(
|
|
//
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
(mConditions.isXLHPriceInSignalRange &&
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
((mConditions.isXLHPriceUnderSignal ||
|
|
mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
((mConditions.isXLHPriceOverSignal ||
|
|
mConditions.isXLHPriceCrossedOverSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
((!mConditions.isXLHPriceOverSignal &&
|
|
!mConditions.isXLHPriceUnderSignal &&
|
|
!mConditions.isXLHPriceInSignalRange &&
|
|
!mConditions.isXLHPriceCrossedOverSignal &&
|
|
!mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// Both HH and LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
((mConditions.isXLHLLSameInLength &&
|
|
!mConditions.isXLHHHSameInLength) &&
|
|
(
|
|
//
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
(mConditions.isXLHPriceInSignalRange &&
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
((mConditions.isXLHPriceUnderSignal ||
|
|
mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
((mConditions.isXLHPriceOverSignal ||
|
|
mConditions.isXLHPriceCrossedOverSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
((!mConditions.isXLHPriceOverSignal &&
|
|
!mConditions.isXLHPriceUnderSignal &&
|
|
!mConditions.isXLHPriceInSignalRange &&
|
|
!mConditions.isXLHPriceCrossedOverSignal &&
|
|
!mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// LL Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
((!mConditions.isXLHLLSameInLength &&
|
|
mConditions.isXLHHHSameInLength) &&
|
|
(
|
|
//
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
(mConditions.isXLHPriceInSignalRange &&
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
((mConditions.isXLHPriceUnderSignal ||
|
|
mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
((mConditions.isXLHPriceOverSignal ||
|
|
mConditions.isXLHPriceCrossedOverSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
((!mConditions.isXLHPriceOverSignal &&
|
|
!mConditions.isXLHPriceUnderSignal &&
|
|
!mConditions.isXLHPriceInSignalRange &&
|
|
!mConditions.isXLHPriceCrossedOverSignal &&
|
|
!mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
((!mConditions.isXLHLLSameInLength &&
|
|
!mConditions.isXLHHHSameInLength) &&
|
|
(
|
|
//
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
(mConditions.isXLHPriceInSignalRange &&
|
|
(
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price In Signal Range ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
((mConditions.isXLHPriceUnderSignal ||
|
|
mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Under Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
((mConditions.isXLHPriceOverSignal ||
|
|
mConditions.isXLHPriceCrossedOverSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Over Signal ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
((!mConditions.isXLHPriceOverSignal &&
|
|
!mConditions.isXLHPriceUnderSignal &&
|
|
!mConditions.isXLHPriceInSignalRange &&
|
|
!mConditions.isXLHPriceCrossedOverSignal &&
|
|
!mConditions.isXLHPriceCrossedUnderSignal) &&
|
|
(
|
|
//
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Over Slow ...
|
|
((mConditions.isXCHMASCFastOverSlow ||
|
|
mConditions.isXCHMASCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Over Slow ...
|
|
((mConditions.isXCHMAMCFastOverSlow ||
|
|
mConditions.isXCHMAMCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Over Slow ...
|
|
((mConditions.isXCHMALCFastOverSlow ||
|
|
mConditions.isXCHMALCFastCrossedOverSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if SC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMASCTrendsDown &&
|
|
mConditions.isXCHMASCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if MC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMAMCTrendsDown &&
|
|
mConditions.isXCHMAMCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
||
|
|
//
|
|
// XSI Short ...
|
|
// Resolve Guard Attacks ...
|
|
// not LL and HH Same In Length ...
|
|
// Price Free ...
|
|
// Check if LC Fast Under Slow But Trends Down ...
|
|
((mConditions.isXCHMALCTrendsDown &&
|
|
mConditions.isXCHMALCFastUnderSlow) &&
|
|
(
|
|
//
|
|
false
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
)
|
|
//
|
|
) |