From 6e720f66adfe6b3a9ec698f2bc9c13cde3077bd8 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Thu, 21 Mar 2024 05:51:23 +0330 Subject: [PATCH] try to resolve all Longs Guard Attacks till HFMarkets ... --- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 208 ++++++++++++- Documents/XAU5-Guards/Guards.yml | 282 ++++++++++++++++++ ...aherelm.xuspy5.provider.indicators.lib.mq5 | 208 ++++++++++++- Projects/XUSPY5/Settings/Longs.set | Bin 0 -> 6870 bytes ...aherelm.xuspy5.provider.indicators.lib.mq5 | 208 ++++++++++++- 5 files changed, 888 insertions(+), 18 deletions(-) create mode 100644 Projects/XUSPY5/Settings/Longs.set diff --git a/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 b/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 index e9854fe0..3fe2d223 100644 --- a/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -3020,6 +3020,22 @@ bool XUSPY5XTDHasLongSignal() // ) // + || + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMASCOverMax && + mConditions.isXLHPriceOverSignal && + mConditions.isXTDSignalCrossedOverBear && + mConditions.isXCHMASCFastCrossedOverSlow) + // + ) + // + ) + // ) // ) @@ -3058,6 +3074,13 @@ bool XUSPY5XTDHasLongSignal() // (mConditions.isXLHPriceOverSignal && ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXTDSignalCrossedOverBear) + // + || // (mConditions.isXLHLLSameInLength && ( @@ -3572,6 +3595,29 @@ bool XUSPY5XTDHasLongSignal() // || // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMASCOverMax && + mConditions.isXLHPriceInSignalRange) + // + ) + // + ) + // + ) + // + ) + // + || + // // Check if MC Fast Under Slow ... ((mConditions.isXCHMAMCFastUnderSlow || mConditions.isXCHMAMCFastCrossedUnderSlow) && @@ -3592,11 +3638,30 @@ bool XUSPY5XTDHasLongSignal() // || // - (mConditions.isXTDBearishVale && - mConditions.isXLHHHSameInLength && - mConditions.isXLHLLSameInLength && - mConditions.isXLHPriceUnderSignal && - mConditions.isXTSCurrentCrossedUnderMediest) + ((mConditions.isXLHHHSameInLength && + mConditions.isXLHLLSameInLength) && + ( + // + (mConditions.isXTDBearishVale && + ( + // + (mConditions.isXLHPriceUnderSignal && + mConditions.isXTSCurrentCrossedUnderMediest) + // + || + // + (mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin && + mConditions.isXLHPriceOverSignal && + mConditions.isXTDSignalCrossedOverBear) + // + ) + // + ) + // + ) + // + ) // ) // @@ -3655,6 +3720,42 @@ bool XUSPY5XTDHasLongSignal() // ) // + || + // + (mConditions.isXTSCurrentCrossedUnderMediest && + ( + // + ((mConditions.isXLHHHSameInLength && + mConditions.isXLHLLSameInLength) && + ( + // + (mConditions.isXLHPriceUnderSignal && + ( + // + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHMCLCHHSame) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -3673,6 +3774,26 @@ bool XUSPY5XTDHasLongSignal() mConditions.isXCHLHSCMCHHSame && mConditions.isXCHMASCCrossedOverMax) // + || + // + ((mConditions.isXLHHHSameInLength && + mConditions.isXLHLLSameInLength) && + ( + // + (mConditions.isXLHPriceOverSignal && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMASCOverMax) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -18256,7 +18377,27 @@ bool XUSPY5XSIHasLongSignal() mConditions.isXCHMASCFastCrossedUnderSlow) && ( // - false + ((mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) && + ( + // + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + (mConditions.isXCHMALCPeak && + mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXCHLHMCLCHHSame) + // + ) + // + ) + // + ) + // + ) // ) // @@ -40416,6 +40557,33 @@ bool XUSPY5XCHMACCHasLongSignal() ((mConditions.isXCHMALCTrendsDown && mConditions.isXCHMALCFastOverSlow) && ( + // + (mConditions.isXTDSignalUnderBear && + ( + // + (mConditions.isXTSCurrentUnderNearest && + ( + // + (mConditions.isXTSCurrentUnderMediest && + ( + // + (mConditions.isXCHMALCPeak && + mConditions.isXCHLHSameHHs && + mConditions.isXLHHHIncreased) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || // ((mConditions.isXTSCurrentMax && mConditions.isXCHMASCOverMax) && @@ -41210,6 +41378,34 @@ bool XUSPY5XCHMACCHasLongSignal() // ) // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // All Bullish ... + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + ((mConditions.isXTDBullOverBear && + mConditions.isXTDSignalOverBear) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXTSCurrentMax && + mConditions.isXCHMASCOverMax && + mConditions.isXTSCurrentCrossedOverNearest) + // + ) + // + ) + // + ) + // + ) + // ) // ) diff --git a/Documents/XAU5-Guards/Guards.yml b/Documents/XAU5-Guards/Guards.yml index e69de29b..8011f221 100644 --- a/Documents/XAU5-Guards/Guards.yml +++ b/Documents/XAU5-Guards/Guards.yml @@ -0,0 +1,282 @@ +GI 0 05:46:22.883 Core 1 2019.09.26 06:00:00 XUSPY5EA > Long Signal Provided by: +KI 0 05:46:22.883 Core 1 2019.09.26 06:00:00 XTAM +CS 0 05:46:22.883 Core 1 2019.09.26 06:00:00 Pusher: 1 +KO 0 05:46:22.883 Core 1 2019.09.26 06:00:00 Market Conditions: +RR 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XOBD | +CL 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +FJ 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XTM | +NQ 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTMVale: true +OJ 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTMEndBearish: true +NR 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTMEndBearishByNeutural: true +LK 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTMNeutural: true +IL 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +PD 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XAMA | +CN 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXAMAEndBearish: true +LD 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXAMAEndBearishByNeutural: true +LI 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXAMANeutural: true +GS 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +QQ 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XTD | +FG 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTDBullUnderBear: true +GM 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTDSignalUnderBear: true +QS 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +JP 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XFI | +ND 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXFIUnderZero: true +MM 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +FJ 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XTS | +KO 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTSCurrentOverNearest: true +JI 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTSCurrentUnderFarest: true +NM 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXTSCurrentUnderMediest: true +ES 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +KP 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XLH | +RH 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXLHLLSameInLength: true +LS 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXLHPriceUnderSignal: true +CS 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +EL 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XRSI | +JH 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXRSICrossedUnderShortExit: true +KK 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +PH 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XCHLH | +PN 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHLHMCOnTopOfLC: true +CE 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +PR 0 05:46:22.883 Core 1 2019.09.26 06:00:00 | XCHMA | +NK 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMASCOverMin: true +DS 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMASCUnderMax: true +FH 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMASCVale: true +MQ 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMASCTrendsUp: true +ME 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMASCFastUnderSlow: true +LG 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMAMCTrendsDown: true +GO 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMAMCFastOverSlow: true +NG 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMALCPeak: true +FR 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMALCTrendsUp: true +HH 0 05:46:22.883 Core 1 2019.09.26 06:00:00 isXCHMALCFastOverSlow: true +EM 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +GG 0 05:46:22.883 Core 1 2019.09.26 06:00:00 +KM 0 05:46:22.883 Core 1 2019.09.26 06:00:00 market buy 1.03 USDJPY tp: 107.705 (107.660 / 107.675 / 107.660) +DM 0 05:46:22.883 Core 1 2019.09.26 06:00:00 deal #186 buy 1.03 USDJPY at 107.675 done (based on order #186) +GD 0 05:46:22.883 Core 1 2019.09.26 06:00:00 deal performed [#186 buy 1.03 USDJPY at 107.675] +RJ 0 05:46:22.883 Core 1 2019.09.26 06:00:00 order performed buy 1.03 at 107.675 [#186 buy 1.03 USDJPY at 107.675] +JK 0 05:46:22.883 Core 1 2019.09.26 06:00:00 XUSPY5EA > T(186)_TY(Long)_TP(107.705)_SL(0.0)_RFS(0.0)_RFR(0.0), Providers: XTAM + + + +GD 0 05:46:22.883 Core 1 2019.09.26 07:50:00 XUSPY5EA > Long Signal Provided by: +RR 0 05:46:22.883 Core 1 2019.09.26 07:50:00 XCHMACC +EH 0 05:46:22.883 Core 1 2019.09.26 07:50:00 Pusher: 1 +ES 0 05:46:22.883 Core 1 2019.09.26 07:50:00 Market Conditions: +HI 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XOBD | +IQ 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +DG 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XTM | +EI 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXTMStartBullish: true +IH 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXTMStartBullishAfterNeutural: true +KQ 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXTMBullish: true +CH 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +JS 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XAMA | +MJ 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXAMAStartBullish: true +OO 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXAMAStartBullishAfterNeutural: true +GK 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXAMABullish: true +MN 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +OD 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XTD | +JN 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXTDBullOverBear: true +KI 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXTDSignalUnderBear: true +EO 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +NE 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XFI | +DM 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXFIOverZero: true +GI 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +LN 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XTS | +RR 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXTSCurrentOverMediest: true +HM 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXTSCurrentUnderFarest: true +QH 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +GO 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XLH | +GK 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXLHHHDecreased: true +HL 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXLHLLSameInLength: true +NF 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXLHPriceUnderSignal: true +EP 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +OH 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XRSI | +QR 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +RQ 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XCHLH | +JE 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHLHMCOnTopOfLC: true +IL 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +RK 0 05:46:22.883 Core 1 2019.09.26 07:50:00 | XCHMA | +DM 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMASCOverMin: true +JJ 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMASCUnderMax: true +GQ 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMASCTrendsUp: true +EK 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMASCFastOverSlow: true +HF 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMAMCTrendsDown: true +KO 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMAMCFastOverSlow: true +JH 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMALCPeak: true +RR 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMALCTrendsUp: true +LH 0 05:46:22.883 Core 1 2019.09.26 07:50:00 isXCHMALCFastOverSlow: true +QL 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +KF 0 05:46:22.883 Core 1 2019.09.26 07:50:00 +RL 0 05:46:22.883 Core 1 2019.09.26 07:50:00 market buy 0.52 USDJPY tp: 107.710 (107.664 / 107.680 / 107.664) +EM 0 05:46:22.883 Core 1 2019.09.26 07:50:00 deal #187 buy 0.52 USDJPY at 107.680 done (based on order #187) +ID 0 05:46:22.883 Core 1 2019.09.26 07:50:00 deal performed [#187 buy 0.52 USDJPY at 107.680] +EJ 0 05:46:22.883 Core 1 2019.09.26 07:50:00 order performed buy 0.52 at 107.680 [#187 buy 0.52 USDJPY at 107.680] +CF 0 05:46:22.883 Core 1 2019.09.26 07:50:00 XUSPY5EA > T(187)_TY(Long)_TP(107.71000000000001)_SL(0.0)_RFS(0.0)_RFR(0.0), Providers: XCHMACC + + + +KF 0 05:46:41.199 Core 1 2020.07.13 01:20:00 XUSPY5EA > Long Signal Provided by: +OM 0 05:46:41.199 Core 1 2020.07.13 01:20:00 XTSFI +MI 0 05:46:41.199 Core 1 2020.07.13 01:20:00 Pusher: 1 +EQ 0 05:46:41.199 Core 1 2020.07.13 01:20:00 Market Conditions: +HK 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XOBD | +NM 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXOBDSwingHigh: true +EJ 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +HH 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XTM | +LP 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXTMEndBullish: true +IH 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXTMEndBullishByNeutural: true +JE 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXTMNeutural: true +KQ 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +RJ 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XAMA | +MH 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXAMABullish: true +GL 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +QJ 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XTD | +HP 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXTDBullOverBear: true +MG 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXTDSignalUnderBear: true +OL 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +LK 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XFI | +HM 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXFIUnderZero: true +KF 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +HM 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XTS | +FH 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXTSCurrentOverFarest: true +NP 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXTSCurrentUnderMediest: true +EF 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +KM 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XLH | +RG 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXLHHHSameInLength: true +RN 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXLHPriceOverSignal: true +QF 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +CQ 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XRSI | +EI 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +FN 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XCHLH | +NK 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHLHMCOnTopOfLC: true +MR 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +FQ 0 05:46:41.199 Core 1 2020.07.13 01:20:00 | XCHMA | +PF 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMASCOverMin: true +NP 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMASCUnderMax: true +QL 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMASCFastOverSlow: true +QE 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMAMCPeak: true +IL 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMAMCTrendsUp: true +CF 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMAMCFastOverSlow: true +QP 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMALCVale: true +CJ 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMALCTrendsDown: true +NM 0 05:46:41.199 Core 1 2020.07.13 01:20:00 isXCHMALCFastUnderSlow: true +OS 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +QM 0 05:46:41.199 Core 1 2020.07.13 01:20:00 +KK 0 05:46:41.199 Core 1 2020.07.13 01:20:00 market buy 3.15 USDJPY tp: 106.945 (106.899 / 106.915 / 106.899) +GF 0 05:46:41.199 Core 1 2020.07.13 01:20:00 deal #475 buy 3.15 USDJPY at 106.915 done (based on order #477) +MK 0 05:46:41.199 Core 1 2020.07.13 01:20:00 deal performed [#475 buy 3.15 USDJPY at 106.915] +MM 0 05:46:41.199 Core 1 2020.07.13 01:20:00 order performed buy 3.15 at 106.915 [#477 buy 3.15 USDJPY at 106.915] +CO 0 05:46:41.199 Core 1 2020.07.13 01:20:00 XUSPY5EA > T(477)_TY(Long)_TP(106.94500000000001)_SL(0.0)_RFS(0.0)_RFR(0.0), Providers: XTSFI + + + +FS 0 05:46:41.199 Core 1 2020.07.13 01:25:00 XUSPY5EA > Long Signal Provided by: +FI 0 05:46:41.199 Core 1 2020.07.13 01:25:00 XTSFI +IM 0 05:46:41.199 Core 1 2020.07.13 01:25:00 Pusher: 2 +PE 0 05:46:41.199 Core 1 2020.07.13 01:25:00 Market Conditions: +ML 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XOBD | +HF 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +IL 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XTM | +HD 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTMStartBullish: true +DS 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTMStartBullishAfterNeutural: true +ND 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTMBullish: true +JM 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +GF 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XAMA | +HL 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXAMABullish: true +NG 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +PM 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XTD | +IE 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTDBullOverBear: true +CS 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTDSignalCrossedOverBear: true +JG 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +IL 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XFI | +MH 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXFIUnderZero: true +NQ 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +MF 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XTS | +OE 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTSCurrentOverFarest: true +NE 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTSCurrentOverNearest: true +OQ 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTSCurrentUnderMediest: true +ME 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXTSCurrentCrossedOverNearest: true +NL 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +LK 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XLH | +QQ 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXLHHHSameInLength: true +IG 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXLHPriceOverSignal: true +RL 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +LG 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XRSI | +NO 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +ED 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XCHLH | +ER 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHLHMCOnTopOfLC: true +FI 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +EO 0 05:46:41.199 Core 1 2020.07.13 01:25:00 | XCHMA | +GH 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMASCOverMin: true +MN 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMASCUnderMax: true +LE 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMASCTrendsUp: true +RO 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMASCFastOverSlow: true +RH 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMAMCPeak: true +JS 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMAMCTrendsUp: true +DK 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMAMCFastOverSlow: true +RS 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMALCVale: true +DO 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMALCTrendsDown: true +EJ 0 05:46:41.199 Core 1 2020.07.13 01:25:00 isXCHMALCFastUnderSlow: true +PP 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +RJ 0 05:46:41.199 Core 1 2020.07.13 01:25:00 +EH 0 05:46:41.199 Core 1 2020.07.13 01:25:00 market buy 3.16 USDJPY tp: 106.946 (106.899 / 106.916 / 106.899) +DI 0 05:46:41.199 Core 1 2020.07.13 01:25:00 deal #476 buy 3.16 USDJPY at 106.916 done (based on order #478) +CH 0 05:46:41.199 Core 1 2020.07.13 01:25:00 deal performed [#476 buy 3.16 USDJPY at 106.916] +GN 0 05:46:41.199 Core 1 2020.07.13 01:25:00 order performed buy 3.16 at 106.916 [#478 buy 3.16 USDJPY at 106.916] +CO 0 05:46:41.199 Core 1 2020.07.13 01:25:00 XUSPY5EA > T(478)_TY(Long)_TP(106.946)_SL(0.0)_RFS(0.0)_RFR(0.0), Providers: XTD,XTSFI + + + +NM 0 05:46:59.513 Core 1 2021.01.07 01:20:00 XUSPY5EA > Long Signal Provided by: +FJ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 XTD +DO 0 05:46:59.513 Core 1 2021.01.07 01:20:00 Pusher: 1 +DK 0 05:46:59.513 Core 1 2021.01.07 01:20:00 Market Conditions: +IN 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XOBD | +DH 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +EN 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XTM | +DJ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXTMBullish: true +LS 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +QL 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XAMA | +FI 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXAMABullish: true +PM 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +JK 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XTD | +OO 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXTDBullOverBear: true +ME 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXTDSignalCrossedOverBear: true +LM 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +OJ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XFI | +IL 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXFIOverZero: true +FG 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +EL 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XTS | +GK 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXTSCurrentOverFarest: true +KP 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXTSCurrentUnderMediest: true +HF 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +NM 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XLH | +NI 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXLHHHDecreased: true +QN 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXLHLLSameInLength: true +CH 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXLHPriceUnderSignal: true +LN 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +NI 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XRSI | +HP 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +CG 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XCHLH | +CS 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHLHMCOnTopOfLC: true +PJ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +CI 0 05:46:59.513 Core 1 2021.01.07 01:20:00 | XCHMA | +IN 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMASCOverMin: true +OH 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMASCUnderMax: true +RG 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMASCTrendsUp: true +LM 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMASCFastOverSlow: true +QD 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMAMCTrendsDown: true +FQ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMAMCFastOverSlow: true +OJ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMALCPeak: true +GP 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMALCTrendsUp: true +EJ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 isXCHMALCFastOverSlow: true +HJ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +JD 0 05:46:59.513 Core 1 2021.01.07 01:20:00 +DR 0 05:46:59.513 Core 1 2021.01.07 01:20:00 market buy 6.93 USDJPY tp: 103.101 (103.055 / 103.071 / 103.055) +OO 0 05:46:59.513 Core 1 2021.01.07 01:20:00 deal #628 buy 6.93 USDJPY at 103.071 done (based on order #637) +GR 0 05:46:59.513 Core 1 2021.01.07 01:20:00 deal performed [#628 buy 6.93 USDJPY at 103.071] +HD 0 05:46:59.513 Core 1 2021.01.07 01:20:00 order performed buy 6.93 at 103.071 [#637 buy 6.93 USDJPY at 103.071] +FJ 0 05:46:59.513 Core 1 2021.01.07 01:20:00 XUSPY5EA > T(637)_TY(Long)_TP(103.101)_SL(0.0)_RFS(0.0)_RFR(0.0), Providers: XTD + + + diff --git a/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 b/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 index e9854fe0..3fe2d223 100644 --- a/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -3020,6 +3020,22 @@ bool XUSPY5XTDHasLongSignal() // ) // + || + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMASCOverMax && + mConditions.isXLHPriceOverSignal && + mConditions.isXTDSignalCrossedOverBear && + mConditions.isXCHMASCFastCrossedOverSlow) + // + ) + // + ) + // ) // ) @@ -3058,6 +3074,13 @@ bool XUSPY5XTDHasLongSignal() // (mConditions.isXLHPriceOverSignal && ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXTDSignalCrossedOverBear) + // + || // (mConditions.isXLHLLSameInLength && ( @@ -3572,6 +3595,29 @@ bool XUSPY5XTDHasLongSignal() // || // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMASCOverMax && + mConditions.isXLHPriceInSignalRange) + // + ) + // + ) + // + ) + // + ) + // + || + // // Check if MC Fast Under Slow ... ((mConditions.isXCHMAMCFastUnderSlow || mConditions.isXCHMAMCFastCrossedUnderSlow) && @@ -3592,11 +3638,30 @@ bool XUSPY5XTDHasLongSignal() // || // - (mConditions.isXTDBearishVale && - mConditions.isXLHHHSameInLength && - mConditions.isXLHLLSameInLength && - mConditions.isXLHPriceUnderSignal && - mConditions.isXTSCurrentCrossedUnderMediest) + ((mConditions.isXLHHHSameInLength && + mConditions.isXLHLLSameInLength) && + ( + // + (mConditions.isXTDBearishVale && + ( + // + (mConditions.isXLHPriceUnderSignal && + mConditions.isXTSCurrentCrossedUnderMediest) + // + || + // + (mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin && + mConditions.isXLHPriceOverSignal && + mConditions.isXTDSignalCrossedOverBear) + // + ) + // + ) + // + ) + // + ) // ) // @@ -3655,6 +3720,42 @@ bool XUSPY5XTDHasLongSignal() // ) // + || + // + (mConditions.isXTSCurrentCrossedUnderMediest && + ( + // + ((mConditions.isXLHHHSameInLength && + mConditions.isXLHLLSameInLength) && + ( + // + (mConditions.isXLHPriceUnderSignal && + ( + // + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHMCLCHHSame) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -3673,6 +3774,26 @@ bool XUSPY5XTDHasLongSignal() mConditions.isXCHLHSCMCHHSame && mConditions.isXCHMASCCrossedOverMax) // + || + // + ((mConditions.isXLHHHSameInLength && + mConditions.isXLHLLSameInLength) && + ( + // + (mConditions.isXLHPriceOverSignal && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMASCOverMax) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -18256,7 +18377,27 @@ bool XUSPY5XSIHasLongSignal() mConditions.isXCHMASCFastCrossedUnderSlow) && ( // - false + ((mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) && + ( + // + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + (mConditions.isXCHMALCPeak && + mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXCHLHMCLCHHSame) + // + ) + // + ) + // + ) + // + ) // ) // @@ -40416,6 +40557,33 @@ bool XUSPY5XCHMACCHasLongSignal() ((mConditions.isXCHMALCTrendsDown && mConditions.isXCHMALCFastOverSlow) && ( + // + (mConditions.isXTDSignalUnderBear && + ( + // + (mConditions.isXTSCurrentUnderNearest && + ( + // + (mConditions.isXTSCurrentUnderMediest && + ( + // + (mConditions.isXCHMALCPeak && + mConditions.isXCHLHSameHHs && + mConditions.isXLHHHIncreased) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || // ((mConditions.isXTSCurrentMax && mConditions.isXCHMASCOverMax) && @@ -41210,6 +41378,34 @@ bool XUSPY5XCHMACCHasLongSignal() // ) // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // All Bullish ... + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + ((mConditions.isXTDBullOverBear && + mConditions.isXTDSignalOverBear) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXTSCurrentMax && + mConditions.isXCHMASCOverMax && + mConditions.isXTSCurrentCrossedOverNearest) + // + ) + // + ) + // + ) + // + ) + // ) // ) diff --git a/Projects/XUSPY5/Settings/Longs.set b/Projects/XUSPY5/Settings/Longs.set new file mode 100644 index 0000000000000000000000000000000000000000..db189f6a2283951524cd38a2bcf453d83a2ce3ea GIT binary patch literal 6870 zcmcgw+j84B5Z&j_B|mFp%magwo|HhokjO3_reA(dFk^xKo1gVhQE zFE%5E9gRo=1orG6>@F7k^7&V3NhSmNAc>6dyp#p5Cvt>;TOQ+nitC9SqxT3szu@^P zuBUP)kK_m8{I$H3DWtSyjQb3dS~7H!){s1fM84yFCGRo1h5JBK{O1_E#y{Q8UgC-J z613ND#zdY#(#o~w==rqmZOKM{!l(hTIX?mJ9GY%`kYW5s==T`C1ISCzyKsp*MIT+0@8_;mtwq7Ct{F+ z1#rpy7*}#hwC6jv$Q^n7XRE8R-ouPJeq6E4z1zqe>C0>R8@Bf$XDN5m!^{Qr;Hun0 zJL09%fy5N3iTsD(7-MG6a<-0KU-l(MJR(TFNjN#b6cy8RPlEhfg;Dv`v;##~7e7gl7Pr)Cfc;r0BVj>RHA+tmW@nPPr_haYf?A3NL@akxPJ^KjMok-opV$;ZA9Q1 zo^;=d`!q`J8je1$jN3kZV~RCn0z7mBhMWCnK1< z&7Ip7xm$WxvV$uDFI_7RdgP(VBJH1z5qd)*87r^%az^;?F_d63V+@$L`ig{7%4%+&n`)&w4^{2@zgl)nmK6 z@O4(z%vRic^19N?*;m|k`k2Scm(lVk=Fi*?m&g@*DU+F~1O0ej;IF-vZEdUPtj*Jf z>TPq(ns38@h<#azvFkDie2XR*yEXJrM{*Hq za#0eas!6fZ39Ac!$>5i<^3&~G@N$WhadAez($$gS39mTk&@-=M_-c?}U|4I0NQYOO zc@$rB=5fZ(x45g&_u`iN#~R$)7qF_;AYK={QeBogwt1e3@_#TL<2288A3I(>ra7`{ zo{7;s%P~sx9N!`$uWIvbqnqa1aGK}4h}1miJ$dFLwui6r_53@W(KPoVR`dLqqkZ2s F_zK