From 75c6a2a73760fc9bdb057b717f9540b8e3303023 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Fri, 9 Feb 2024 01:31:26 -0800 Subject: [PATCH] resolve XAU5 all Guard Attacks till end of 2020 on IFCMarkets ... --- Documents/XAU5-Guards/Guards.yml | 276 ------------------ ...-saherelm.xau5.provider.indicators.lib.mq5 | 75 ++++- 2 files changed, 68 insertions(+), 283 deletions(-) diff --git a/Documents/XAU5-Guards/Guards.yml b/Documents/XAU5-Guards/Guards.yml index fc6dd205..924c86f4 100644 --- a/Documents/XAU5-Guards/Guards.yml +++ b/Documents/XAU5-Guards/Guards.yml @@ -1,279 +1,3 @@ -2020.01.28 03:35:00 XAU5EA > Long Signal Provided by: -2020.01.28 03:35:00 XCHMACC -2020.01.28 03:35:00 Pusher: 2 -2020.01.28 03:35:00 Market Conditions: -2020.01.28 03:35:00 | XOBD | -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XTM | -2020.01.28 03:35:00 isXTMEndBullish: true -2020.01.28 03:35:00 isXTMEndBullishByNeutural: true -2020.01.28 03:35:00 isXTMNeutural: true -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XAMA | -2020.01.28 03:35:00 isXAMAEndBullish: true -2020.01.28 03:35:00 isXAMAEndBullishByNeutural: true -2020.01.28 03:35:00 isXAMANeutural: true -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XTD | -2020.01.28 03:35:00 isXTDBullOverBear: true -2020.01.28 03:35:00 isXTDSignalUnderBear: true -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XFI | -2020.01.28 03:35:00 isXFIOverZero: true -2020.01.28 03:35:00 isXFICrossedOverZero: true -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XTS | -2020.01.28 03:35:00 isXTSCurrentOverFarest: true -2020.01.28 03:35:00 isXTSCurrentUnderMediest: true -2020.01.28 03:35:00 isXTSCurrentCrossedUnderMediest: true -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XLH | -2020.01.28 03:35:00 isXLHLLIncreased: true -2020.01.28 03:35:00 isXLHHHSameInLength: true -2020.01.28 03:35:00 isXLHPriceInSignalRange: true -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XRSI | -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XCHLH | -2020.01.28 03:35:00 isXCHLHMCOnTopOfLC: true -2020.01.28 03:35:00 -2020.01.28 03:35:00 | XCHMA | -2020.01.28 03:35:00 isXCHMASCOverMax: true -2020.01.28 03:35:00 isXCHMASCOverMin: true -2020.01.28 03:35:00 isXCHMASCTrendsUp: true -2020.01.28 03:35:00 isXCHMASCFastOverSlow: true -2020.01.28 03:35:00 isXCHMAMCTrendsUp: true -2020.01.28 03:35:00 isXCHMAMCFastOverSlow: true -2020.01.28 03:35:00 isXCHMALCPeak: true -2020.01.28 03:35:00 isXCHMALCTrendsDown: true -2020.01.28 03:35:00 isXCHMALCFastOverSlow: true -2020.01.28 03:35:00 -2020.01.28 03:35:00 -2020.01.28 03:35:00 instant buy 7.38 XAUUSD at 1581.49 tp: 1582.99 (1581.07 / 1581.49) -2020.01.28 03:35:00 deal #2282 buy 7.38 XAUUSD at 1581.49 done (based on order #2282) -2020.01.28 03:35:00 deal performed [#2282 buy 7.38 XAUUSD at 1581.49] -2020.01.28 03:35:00 order performed buy 7.38 at 1581.49 [#2282 buy 7.38 XAUUSD at 1581.49] -2020.01.28 03:35:00 XAU5EA > T(2282)_TY(Long)_TP(1582.99)_SL(0.0)_RFS(60.0)_RFR(0.6), Providers: XTSFI,XCHMACC - - -2020.03.09 01:00:00 XAU5EA > Long Signal Provided by: -2020.03.09 01:00:00 XCHMACC -2020.03.09 01:00:00 Pusher: 1 -2020.03.09 01:00:00 Market Conditions: -2020.03.09 01:00:00 | XOBD | -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XTM | -2020.03.09 01:00:00 isXTMBullish: true -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XAMA | -2020.03.09 01:00:00 isXAMABullish: true -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XTD | -2020.03.09 01:00:00 isXTDBullUnderBear: true -2020.03.09 01:00:00 isXTDSignalUnderBear: true -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XFI | -2020.03.09 01:00:00 isXFIOverZero: true -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XTS | -2020.03.09 01:00:00 isXTSCurrentOverFarest: true -2020.03.09 01:00:00 isXTSCurrentOverMediest: true -2020.03.09 01:00:00 isXTSCurrentUnderNearest: true -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XLH | -2020.03.09 01:00:00 isXLHLLSameInLength: true -2020.03.09 01:00:00 isXLHPriceOverSignal: true -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XRSI | -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XCHLH | -2020.03.09 01:00:00 isXCHLHSameHHs: true -2020.03.09 01:00:00 isXCHLHSCMCHHSame: true -2020.03.09 01:00:00 isXCHLHSCLCHHSame: true -2020.03.09 01:00:00 isXCHLHMCLCHHSame: true -2020.03.09 01:00:00 isXCHLHMCLCLLSame: true -2020.03.09 01:00:00 isXCHLHMCOnTopOfLC: true -2020.03.09 01:00:00 -2020.03.09 01:00:00 | XCHMA | -2020.03.09 01:00:00 isXCHMASCOverMax: true -2020.03.09 01:00:00 isXCHMASCOverMin: true -2020.03.09 01:00:00 isXCHMASCFastOverSlow: true -2020.03.09 01:00:00 isXCHMAMCTrendsUp: true -2020.03.09 01:00:00 isXCHMAMCFastOverSlow: true -2020.03.09 01:00:00 isXCHMALCPeak: true -2020.03.09 01:00:00 isXCHMALCTrendsUp: true -2020.03.09 01:00:00 isXCHMALCFastOverSlow: true -2020.03.09 01:00:00 -2020.03.09 01:00:00 -2020.03.09 01:00:00 instant buy 4.46 XAUUSD at 1700.49 tp: 1701.99 (1699.86 / 1700.49) -2020.03.09 01:00:00 deal #2583 buy 4.46 XAUUSD at 1700.49 done (based on order #2583) -2020.03.09 01:00:00 deal performed [#2583 buy 4.46 XAUUSD at 1700.49] -2020.03.09 01:00:00 order performed buy 4.46 at 1700.49 [#2583 buy 4.46 XAUUSD at 1700.49] -2020.03.09 01:00:00 XAU5EA > T(2583)_TY(Long)_TP(1701.99)_SL(0.0)_RFS(60.0)_RFR(0.6), Providers: XCHMACC - - -2020.03.17 01:20:03 XAU5EA > Short Signal Provided by: -2020.03.17 01:20:03 XTSFI -2020.03.17 01:20:03 Pusher: 1 -2020.03.17 01:20:03 Market Conditions: -2020.03.17 01:20:03 | XOBD | -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XTM | -2020.03.17 01:20:03 isXTMEndBearish: true -2020.03.17 01:20:03 isXTMEndBearishByNeutural: true -2020.03.17 01:20:03 isXTMNeutural: true -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XAMA | -2020.03.17 01:20:03 isXAMABullish: true -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XTD | -2020.03.17 01:20:03 isXTDBullUnderBear: true -2020.03.17 01:20:03 isXTDSignalUnderBear: true -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XFI | -2020.03.17 01:20:03 isXFIOverZero: true -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XTS | -2020.03.17 01:20:03 isXTSCurrentOverMediest: true -2020.03.17 01:20:03 isXTSCurrentUnderFarest: true -2020.03.17 01:20:03 isXTSCurrentCrossedOverMediest: true -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XLH | -2020.03.17 01:20:03 isXLHHHSameInLength: true -2020.03.17 01:20:03 isXLHLLSameInLength: true -2020.03.17 01:20:03 isXLHPriceOverSignal: true -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XRSI | -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XCHLH | -2020.03.17 01:20:03 isXCHLHMCOnTopOfLC: true -2020.03.17 01:20:03 -2020.03.17 01:20:03 | XCHMA | -2020.03.17 01:20:03 isXCHMASCOverMin: true -2020.03.17 01:20:03 isXCHMASCUnderMax: true -2020.03.17 01:20:03 isXCHMASCTrendsUp: true -2020.03.17 01:20:03 isXCHMASCFastUnderSlow: true -2020.03.17 01:20:03 isXCHMAMCPeak: true -2020.03.17 01:20:03 isXCHMAMCFastOverSlow: true -2020.03.17 01:20:03 isXCHMALCVale: true -2020.03.17 01:20:03 isXCHMALCTrendsDown: true -2020.03.17 01:20:03 isXCHMALCFastUnderSlow: true -2020.03.17 01:20:03 -2020.03.17 01:20:03 -2020.03.17 01:20:03 instant sell 4.82 XAUUSD at 1507.72 tp: 1506.22 (1507.72 / 1508.62) -2020.03.17 01:20:03 deal #2664 sell 4.82 XAUUSD at 1507.72 done (based on order #2664) -2020.03.17 01:20:03 deal performed [#2664 sell 4.82 XAUUSD at 1507.72] -2020.03.17 01:20:03 order performed sell 4.82 at 1507.72 [#2664 sell 4.82 XAUUSD at 1507.72] -2020.03.17 01:20:03 XAU5EA > T(2664)_TY(Short)_TP(1506.22)_SL(0.0)_RFS(60.0)_RFR(0.6), Providers: XTSFI - - -2020.03.27 15:35:00 XAU5EA > Short Signal Provided by: -2020.03.27 15:35:00 XTSFI -2020.03.27 15:35:00 Pusher: 1 -2020.03.27 15:35:00 Market Conditions: -2020.03.27 15:35:00 | XOBD | -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XTM | -2020.03.27 15:35:00 isXTMBearish: true -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XAMA | -2020.03.27 15:35:00 isXAMABearish: true -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XTD | -2020.03.27 15:35:00 isXTDBullUnderBear: true -2020.03.27 15:35:00 isXTDSignalUnderBear: true -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XFI | -2020.03.27 15:35:00 isXFIUnderZero: true -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XTS | -2020.03.27 15:35:00 isXTSCurrentOverMediest: true -2020.03.27 15:35:00 isXTSCurrentUnderFarest: true -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XLH | -2020.03.27 15:35:00 isXLHHHSameInLength: true -2020.03.27 15:35:00 isXLHLLSameInLength: true -2020.03.27 15:35:00 isXLHPriceInSignalRange: true -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XRSI | -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XCHLH | -2020.03.27 15:35:00 isXCHLHMCLCLLSame: true -2020.03.27 15:35:00 isXCHLHMCOnTopOfLC: true -2020.03.27 15:35:00 -2020.03.27 15:35:00 | XCHMA | -2020.03.27 15:35:00 isXCHMASCOverMin: true -2020.03.27 15:35:00 isXCHMASCUnderMax: true -2020.03.27 15:35:00 isXCHMASCTrendsUp: true -2020.03.27 15:35:00 isXCHMASCFastUnderSlow: true -2020.03.27 15:35:00 isXCHMAMCTrendsUp: true -2020.03.27 15:35:00 isXCHMAMCFastUnderSlow: true -2020.03.27 15:35:00 isXCHMALCPeak: true -2020.03.27 15:35:00 isXCHMALCTrendsDown: true -2020.03.27 15:35:00 isXCHMALCFastOverSlow: true -2020.03.27 15:35:00 -2020.03.27 15:35:00 -2020.03.27 15:35:00 instant sell 5.15 XAUUSD at 1616.97 tp: 1615.47 (1616.97 / 1621.97) -2020.03.27 15:35:00 deal #2729 sell 5.15 XAUUSD at 1616.97 done (based on order #2729) -2020.03.27 15:35:00 deal performed [#2729 sell 5.15 XAUUSD at 1616.97] -2020.03.27 15:35:00 order performed sell 5.15 at 1616.97 [#2729 sell 5.15 XAUUSD at 1616.97] -2020.03.27 15:35:00 XAU5EA > T(2729)_TY(Short)_TP(1615.47)_SL(0.0)_RFS(60.0)_RFR(0.6), Providers: XTSFI - - -2020.04.16 05:25:00 XAU5EA > Short Signal Provided by: -2020.04.16 05:25:00 XTSFI -2020.04.16 05:25:00 Pusher: 1 -2020.04.16 05:25:00 Market Conditions: -2020.04.16 05:25:00 | XOBD | -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XTM | -2020.04.16 05:25:00 isXTMNeutural: true -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XAMA | -2020.04.16 05:25:00 isXAMAVale: true -2020.04.16 05:25:00 isXAMABearish: true -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XTD | -2020.04.16 05:25:00 isXTDBullUnderBear: true -2020.04.16 05:25:00 isXTDSignalUnderBear: true -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XFI | -2020.04.16 05:25:00 isXFIOverZero: true -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XTS | -2020.04.16 05:25:00 isXTSCurrentOverMediest: true -2020.04.16 05:25:00 isXTSCurrentUnderFarest: true -2020.04.16 05:25:00 isXTSCurrentUnderNearest: true -2020.04.16 05:25:00 isXTSCurrentCrossedUnderNearest: true -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XLH | -2020.04.16 05:25:00 isXLHLLSameInLength: true -2020.04.16 05:25:00 isXLHPriceUnderSignal: true -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XRSI | -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XCHLH | -2020.04.16 05:25:00 isXCHLHMCOnTopOfLC: true -2020.04.16 05:25:00 -2020.04.16 05:25:00 | XCHMA | -2020.04.16 05:25:00 isXCHMASCUnderMax: true -2020.04.16 05:25:00 isXCHMASCUnderMin: true -2020.04.16 05:25:00 isXCHMASCTrendsUp: true -2020.04.16 05:25:00 isXCHMASCFastUnderSlow: true -2020.04.16 05:25:00 isXCHMAMCVale: true -2020.04.16 05:25:00 isXCHMAMCTrendsUp: true -2020.04.16 05:25:00 isXCHMAMCFastUnderSlow: true -2020.04.16 05:25:00 isXCHMALCTrendsDown: true -2020.04.16 05:25:00 isXCHMALCFastOverSlow: true -2020.04.16 05:25:00 -2020.04.16 05:25:00 -2020.04.16 05:25:00 instant sell 5.55 XAUUSD at 1714.67 tp: 1713.17 (1714.67 / 1715.67) -2020.04.16 05:25:00 deal #2936 sell 5.55 XAUUSD at 1714.67 done (based on order #2936) -2020.04.16 05:25:00 deal performed [#2936 sell 5.55 XAUUSD at 1714.67] -2020.04.16 05:25:00 order performed sell 5.55 at 1714.67 [#2936 sell 5.55 XAUUSD at 1714.67] -2020.04.16 05:25:00 XAU5EA > T(2936)_TY(Short)_TP(1713.17)_SL(0.0)_RFS(60.0)_RFR(0.6), Providers: XTSFI - - 2021.03.17 11:00:00 XAU5EA > Long Signal Provided by: 2021.03.17 11:00:00 XTD 2021.03.17 11:00:00 Pusher: 1 diff --git a/Providers/x-saherelm.xau5.provider.indicators.lib.mq5 b/Providers/x-saherelm.xau5.provider.indicators.lib.mq5 index 1da6ceb4..0f83ae4d 100644 --- a/Providers/x-saherelm.xau5.provider.indicators.lib.mq5 +++ b/Providers/x-saherelm.xau5.provider.indicators.lib.mq5 @@ -7006,6 +7006,16 @@ bool XAU5XTSFIHasShortSignal() mConditions.isXTSCurrentOverMediest && mConditions.isXTSCurrentCrossedOverMediest) // + || + // + (mConditions.isXTMBearish && + mConditions.isXAMABearish && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentOverMediest) + // ) // ) @@ -7376,6 +7386,16 @@ bool XAU5XTSFIHasShortSignal() mConditions.isXTSCurrentOverMediest && mConditions.isXTSCurrentCrossedOverMediest) // + || + // + (mConditions.isXAMAVale && + mConditions.isXTMNeutural && + mConditions.isXCHMAMCVale && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentOverMediest && + mConditions.isXTSCurrentCrossedUnderNearest) + // ) // ) @@ -7627,6 +7647,15 @@ bool XAU5XTSFIHasShortSignal() mConditions.isXTDSignalUnderBear && mConditions.isXTSCurrentOverMediest) // + || + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow && + mConditions.isXTSCurrentOverMediest && + mConditions.isXTSCurrentCrossedOverMediest) + // ) // ) @@ -8953,6 +8982,24 @@ bool XAU5XCHMACCHasLongSignal() // ) // + || + // + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + (mConditions.isXCHMALCPeak && + mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXLHLLIncreased && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest && + mConditions.isXTSCurrentCrossedUnderMediest) + // + ) + // + ) + // ) // ) @@ -9182,13 +9229,27 @@ bool XAU5XCHMACCHasLongSignal() // ( // - (mConditions.isXTMBullish && - mConditions.isXAMABullish && - mConditions.isXTDBullOverBear && - mConditions.isXCHLHSCMCHHSame && - mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow && - mConditions.isXTSCurrentCrossedUnderNearest) + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderNearest) + // + || + // + (mConditions.isXTDBullOverBear && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) // || //