last complete resolve long sls ...
This commit is contained in:
@@ -2395,10 +2395,378 @@ struct X121SignalGenerator
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
// CUSTOM ...
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
// XICH ...
|
||||
(conditions.ichConditions.isSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isClosedOverKijunSen &&
|
||||
conditions.ichConditions.isSenkouSpanAOverLast &&
|
||||
conditions.ichConditions.isTenkanSenOverKijunSen &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverLast) &&
|
||||
//
|
||||
// XCHMA ...
|
||||
(conditions.chmaConditions.isSlowSupport &&
|
||||
conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isCLoseOverFast &&
|
||||
conditions.chmaConditions.isCloseOverSlow &&
|
||||
conditions.chmaConditions.isRetestFastSlow &&
|
||||
conditions.chmaConditions.isRetestSFastSlow &&
|
||||
conditions.chmaConditions.isRetestMFastSlow &&
|
||||
conditions.chmaConditions.isRetestLFastSlow &&
|
||||
conditions.chmaConditions.isRetestHFastSlow &&
|
||||
!conditions.chmaConditions.isFastSupport &&
|
||||
!conditions.chmaConditions.isRetestCFastSlow)
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
// XICH ...
|
||||
conditions.ichConditions.isSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isClosedUnderKijunSen &&
|
||||
conditions.ichConditions.isSenkouSpanAOverLast &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverLast &&
|
||||
!conditions.ichConditions.isTenkanSenOverKijunSen &&
|
||||
!conditions.ichConditions.isTenkanSenUnderKijunSen &&
|
||||
//
|
||||
// XTD ...
|
||||
conditions.tdConditions.isSwitchedToBullish &&
|
||||
//
|
||||
// XVLM ...
|
||||
conditions.vlmConditions.isVolumeBullish &&
|
||||
conditions.vlmConditions.isVolumeOverLast &&
|
||||
conditions.vlmConditions.isVolumeChangedToBullish &&
|
||||
//
|
||||
// XHULL ...
|
||||
conditions.hullConditions.isBullish &&
|
||||
conditions.hullConditions.isUpBullish &&
|
||||
conditions.hullConditions.isDownBullish &&
|
||||
conditions.hullConditions.isSwitchedToBullish &&
|
||||
//
|
||||
// XCHMA ...
|
||||
conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isCLoseOverFast &&
|
||||
conditions.chmaConditions.isCloseOverSlow &&
|
||||
conditions.chmaConditions.isSlowSupport &&
|
||||
conditions.chmaConditions.isRetestFastSlow &&
|
||||
conditions.chmaConditions.isRetestSFastSlow &&
|
||||
conditions.chmaConditions.isRetestMFastSlow &&
|
||||
conditions.chmaConditions.isRetestLFastSlow &&
|
||||
conditions.chmaConditions.isRetestHFastSlow &&
|
||||
!conditions.chmaConditions.isFastSupport &&
|
||||
!conditions.chmaConditions.isRetestCFastSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
// XPV ...
|
||||
(conditions.pvConditions.isNewPeak &&
|
||||
conditions.pvConditions.isNewPeakOverLast &&
|
||||
conditions.pvConditions.isFiboIncreased &&
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5) &&
|
||||
(
|
||||
//
|
||||
(
|
||||
//
|
||||
// XPV ...
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isMCBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
!conditions.pvConditions.isSCBullish &&
|
||||
!conditions.pvConditions.isSCLLBullish &&
|
||||
!conditions.pvConditions.isLCBullish &&
|
||||
!conditions.pvConditions.isLCLLBullish &&
|
||||
!conditions.pvConditions.isHCBullish &&
|
||||
!conditions.pvConditions.isHCLLBullish &&
|
||||
//
|
||||
// XTD ...
|
||||
conditions.tdConditions.isSwitchedToBullish &&
|
||||
//
|
||||
// XICH ...
|
||||
conditions.ichConditions.isTenkanSenCrossedOverKijunSen &&
|
||||
//
|
||||
// XHULL ...
|
||||
conditions.hullConditions.isSwitchedToBullish &&
|
||||
//
|
||||
// XCHMA ...
|
||||
conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isCLoseOverFast &&
|
||||
conditions.chmaConditions.isCloseOverSlow &&
|
||||
conditions.chmaConditions.isRetestFastSlow &&
|
||||
conditions.chmaConditions.isRetestMFastSlow &&
|
||||
conditions.chmaConditions.isRetestLFastSlow &&
|
||||
conditions.chmaConditions.isRetestHFastSlow &&
|
||||
conditions.chmaConditions.isSlowSupport &&
|
||||
!conditions.chmaConditions.isFastSupport &&
|
||||
!conditions.chmaConditions.isRetestCFastSlow &&
|
||||
!conditions.chmaConditions.isRetestSFastSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
// XPV ...
|
||||
conditions.pvConditions.isCloseCrossedOverFib1 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isLCBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isLCLLBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
||||
conditions.pvConditions.isLCLLSwitchedToBullish &&
|
||||
!conditions.pvConditions.isHCBullish &&
|
||||
!conditions.pvConditions.isHCLLBullish &&
|
||||
!conditions.pvConditions.isMCHHSwitchedToBullish &&
|
||||
!conditions.pvConditions.isLCHHSwitchedToBullish &&
|
||||
//
|
||||
// XICH ...
|
||||
conditions.ichConditions.isClosedOverKijunSen &&
|
||||
conditions.ichConditions.isTenkanSenOverKijunSen &&
|
||||
conditions.ichConditions.isSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverLast &&
|
||||
!conditions.ichConditions.isSenkouSpanAOverLast &&
|
||||
//
|
||||
// XHULL ...
|
||||
conditions.hullConditions.isSwitchedToBullish &&
|
||||
//
|
||||
// XHTD ...
|
||||
conditions.htdConditions.isSwitchedToBullish &&
|
||||
//
|
||||
// XCHMA ...
|
||||
conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isCLoseOverFast &&
|
||||
conditions.chmaConditions.isCloseOverSlow &&
|
||||
conditions.chmaConditions.isSlowSupport &&
|
||||
conditions.chmaConditions.isRetestFastSlow &&
|
||||
conditions.chmaConditions.isRetestMFastSlow &&
|
||||
conditions.chmaConditions.isRetestLFastSlow &&
|
||||
conditions.chmaConditions.isRetestHFastSlow &&
|
||||
!conditions.chmaConditions.isFastSupport &&
|
||||
!conditions.chmaConditions.isRetestCFastSlow &&
|
||||
!conditions.chmaConditions.isRetestSFastSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
// XPV ...
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
!conditions.pvConditions.isSCBullish &&
|
||||
!conditions.pvConditions.isSCLLBullish &&
|
||||
!conditions.pvConditions.isMCBullish &&
|
||||
!conditions.pvConditions.isMCLLBullish &&
|
||||
!conditions.pvConditions.isLCBullish &&
|
||||
!conditions.pvConditions.isLCLLBullish &&
|
||||
!conditions.pvConditions.isHCBullish &&
|
||||
!conditions.pvConditions.isHCLLBullish &&
|
||||
//
|
||||
// XICH ...
|
||||
conditions.ichConditions.isTenkanSenCrossedOverKijunSen &&
|
||||
//
|
||||
// XCHMA ...
|
||||
conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isCLoseOverFast &&
|
||||
conditions.chmaConditions.isCloseOverSlow &&
|
||||
conditions.chmaConditions.isRetestFastSlow &&
|
||||
conditions.chmaConditions.isRetestSFastSlow &&
|
||||
conditions.chmaConditions.isRetestMFastSlow &&
|
||||
conditions.chmaConditions.isRetestLFastSlow &&
|
||||
conditions.chmaConditions.isRetestHFastSlow &&
|
||||
!conditions.chmaConditions.isRetestCFastSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
// XPV ...
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
!conditions.pvConditions.isSCHHSwitchedToBullish &&
|
||||
!conditions.pvConditions.isMCBullish &&
|
||||
!conditions.pvConditions.isMCLLBullish &&
|
||||
!conditions.pvConditions.isLCBullish &&
|
||||
!conditions.pvConditions.isLCLLBullish &&
|
||||
!conditions.pvConditions.isHCBullish &&
|
||||
!conditions.pvConditions.isHCLLBullish &&
|
||||
//
|
||||
// XICH ...
|
||||
conditions.ichConditions.isClosedOverKijunSen &&
|
||||
conditions.ichConditions.isTenkanSenOverKijunSen &&
|
||||
conditions.ichConditions.isSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isSenkouSpanAOverLast &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverLast &&
|
||||
conditions.ichConditions.isSenkouSpanACrossedOverB &&
|
||||
//
|
||||
// XCHMA ...
|
||||
conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isCLoseOverFast &&
|
||||
conditions.chmaConditions.isCloseOverSlow &&
|
||||
conditions.chmaConditions.isRetestFastSlow &&
|
||||
conditions.chmaConditions.isSlowSupport &&
|
||||
conditions.chmaConditions.isRetestSFastSlow &&
|
||||
conditions.chmaConditions.isRetestMFastSlow &&
|
||||
conditions.chmaConditions.isRetestLFastSlow &&
|
||||
conditions.chmaConditions.isRetestHFastSlow &&
|
||||
!conditions.chmaConditions.isRetestCFastSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
// XPV ...
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
conditions.pvConditions.isHCBullish &&
|
||||
conditions.pvConditions.isHCHHBullish &&
|
||||
conditions.pvConditions.isHCLLBullish &&
|
||||
!conditions.pvConditions.isLCBullish &&
|
||||
!conditions.pvConditions.isLCLLBullish &&
|
||||
//
|
||||
// XICH ...
|
||||
conditions.ichConditions.isClosedOverKijunSen &&
|
||||
conditions.ichConditions.isTenkanSenOverKijunSen &&
|
||||
conditions.ichConditions.isSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isFutureSenkouSpanAOverLast &&
|
||||
!conditions.ichConditions.isSenkouSpanAOverLast &&
|
||||
//
|
||||
// XSTR ...
|
||||
conditions.strConditions.isTrendSwitchedToBullish &&
|
||||
//
|
||||
// XCHMA ...
|
||||
conditions.chmaConditions.isFastOverSlow &&
|
||||
conditions.chmaConditions.isCLoseOverFast &&
|
||||
conditions.chmaConditions.isCloseOverSlow
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
(
|
||||
//
|
||||
// XPV ...
|
||||
conditions.pvConditions.isCloseOverFib1 &&
|
||||
conditions.pvConditions.isCloseOverFib2 &&
|
||||
conditions.pvConditions.isCloseOverFib3 &&
|
||||
conditions.pvConditions.isCloseOverFib4 &&
|
||||
conditions.pvConditions.isCloseOverFib5 &&
|
||||
conditions.pvConditions.isSCBullish &&
|
||||
conditions.pvConditions.isSCHHBullish &&
|
||||
conditions.pvConditions.isSCLLBullish &&
|
||||
conditions.pvConditions.isMCBullish &&
|
||||
conditions.pvConditions.isMCHHBullish &&
|
||||
conditions.pvConditions.isMCLLBullish &&
|
||||
conditions.pvConditions.isLCHHBullish &&
|
||||
!conditions.pvConditions.isLCBullish &&
|
||||
!conditions.pvConditions.isLCLLBullish &&
|
||||
!conditions.pvConditions.isHCBullish &&
|
||||
!conditions.pvConditions.isHCHHBullish &&
|
||||
!conditions.pvConditions.isHCLLBullish &&
|
||||
//
|
||||
// XMC ...
|
||||
conditions.mcConditions.isSwitchedToBullish &&
|
||||
conditions.mcConditions.isSlowCrossedOverVerifier &&
|
||||
//
|
||||
// XICH ...
|
||||
conditions.ichConditions.isSenkouSpanAOverB &&
|
||||
conditions.ichConditions.isClosedOverKijunSen &&
|
||||
conditions.ichConditions.isTenkanSenOverKijunSen &&
|
||||
!conditions.ichConditions.isSenkouSpanAOverLast &&
|
||||
//
|
||||
// XSTR ...
|
||||
conditions.strConditions.isTrendSwitchedToBullish
|
||||
//
|
||||
)
|
||||
// //
|
||||
// ||
|
||||
// //
|
||||
// (
|
||||
// //
|
||||
// //
|
||||
// )
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
;
|
||||
|
||||
// //
|
||||
// // Filter Conditions Based On Providers ...
|
||||
// if (result) {
|
||||
// //
|
||||
// if (provider == ToString(PROVIDER_UNKNOWN)) {
|
||||
// //
|
||||
// result =
|
||||
// //
|
||||
// result &&
|
||||
// !(
|
||||
// //
|
||||
// //
|
||||
// (
|
||||
|
||||
// )
|
||||
// //
|
||||
// )
|
||||
// //
|
||||
// ;
|
||||
// }
|
||||
// }
|
||||
|
||||
//
|
||||
// Apply Filter ...
|
||||
// Based On Symbol and Period ...
|
||||
@@ -3948,6 +4316,28 @@ struct X121SignalGenerator
|
||||
//
|
||||
;
|
||||
|
||||
// //
|
||||
// // Filter Conditions Based On Providers ...
|
||||
// if (result) {
|
||||
// //
|
||||
// if (provider == ToString(PROVIDER_UNKNOWN)) {
|
||||
// //
|
||||
// result =
|
||||
// //
|
||||
// result &&
|
||||
// !(
|
||||
// //
|
||||
// //
|
||||
// (
|
||||
|
||||
// )
|
||||
// //
|
||||
// )
|
||||
// //
|
||||
// ;
|
||||
// }
|
||||
// }
|
||||
|
||||
//
|
||||
// Apply Filter ...
|
||||
// Based On Symbol and Period ...
|
||||
|
||||
Reference in New Issue
Block a user