diff --git a/Projects/XAU5/Classes/x-saherelm.class.lib.ex5 b/Projects/XAU5/Classes/x-saherelm.class.lib.ex5 new file mode 100644 index 0000000..5185313 Binary files /dev/null and b/Projects/XAU5/Classes/x-saherelm.class.lib.ex5 differ diff --git a/Projects/XAU5/Classes/x-saherelm.nn.lib.ex5 b/Projects/XAU5/Classes/x-saherelm.nn.lib.ex5 new file mode 100644 index 0000000..e6cc8b8 Binary files /dev/null and b/Projects/XAU5/Classes/x-saherelm.nn.lib.ex5 differ diff --git a/Projects/XAU5/Classes/x-saherelm.provider.lib.ex5 b/Projects/XAU5/Classes/x-saherelm.provider.lib.ex5 new file mode 100644 index 0000000..d661d6e Binary files /dev/null and b/Projects/XAU5/Classes/x-saherelm.provider.lib.ex5 differ diff --git a/Projects/XAU5/Experts/x-saherelm.xau5.ea.ex5 b/Projects/XAU5/Experts/x-saherelm.xau5.ea.ex5 new file mode 100644 index 0000000..492e7ae Binary files /dev/null and b/Projects/XAU5/Experts/x-saherelm.xau5.ea.ex5 differ diff --git a/Projects/XAU5/Experts/x-saherelm.xau5.ea.mq5 b/Projects/XAU5/Experts/x-saherelm.xau5.ea.mq5 index 002dbff..d2f54db 100644 --- a/Projects/XAU5/Experts/x-saherelm.xau5.ea.mq5 +++ b/Projects/XAU5/Experts/x-saherelm.xau5.ea.mq5 @@ -296,9 +296,13 @@ void OnTick() // Handle Processing on XAU5 Signal Provider ... XAU5SignalProviderDoControlState(); } - + // - if (!IsNewCandle() && xAU5WaitUntilNextCandle) + // Check Can Ignore Tick or not .. + bool canIgnoreTick = xAU5IsTestMode + ? !IsNewCandle() + : !IsNewCandle() && xAU5WaitUntilNextCandle; + if (canIgnoreTick) { return; } @@ -379,11 +383,11 @@ bool XAU5CTimerInit() // // Inputs ... xAU5CandleTimerColot, - xAU5CandleTimerCorner - ); + xAU5CandleTimerCorner); // - if (xAU5CTimerHandler == INVALID_HANDLE) { + if (xAU5CTimerHandler == INVALID_HANDLE) + { result = false; } diff --git a/Projects/XAU5/Helpers/x-saherelm.xama.indicator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xama.indicator.helper.lib.ex5 new file mode 100644 index 0000000..f5fed62 Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xama.indicator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xchlh.oscillator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xchlh.oscillator.helper.lib.ex5 new file mode 100644 index 0000000..200475f Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xchlh.oscillator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xchma.oscillator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xchma.oscillator.helper.lib.ex5 new file mode 100644 index 0000000..37ba185 Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xchma.oscillator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xfi.oscillator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xfi.oscillator.helper.lib.ex5 new file mode 100644 index 0000000..9a5cd19 Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xfi.oscillator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xlh.indicator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xlh.indicator.helper.lib.ex5 new file mode 100644 index 0000000..eb64234 Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xlh.indicator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xobd.indicator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xobd.indicator.helper.lib.ex5 new file mode 100644 index 0000000..f0b532a Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xobd.indicator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xrsi.oscillator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xrsi.oscillator.helper.lib.ex5 new file mode 100644 index 0000000..9e15ced Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xrsi.oscillator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xtd.oscillator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xtd.oscillator.helper.lib.ex5 new file mode 100644 index 0000000..1cab524 Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xtd.oscillator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xtm.indicator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xtm.indicator.helper.lib.ex5 new file mode 100644 index 0000000..10ba73d Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xtm.indicator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Helpers/x-saherelm.xts.oscillator.helper.lib.ex5 b/Projects/XAU5/Helpers/x-saherelm.xts.oscillator.helper.lib.ex5 new file mode 100644 index 0000000..005c557 Binary files /dev/null and b/Projects/XAU5/Helpers/x-saherelm.xts.oscillator.helper.lib.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xama.indicator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xama.indicator.ex5 new file mode 100644 index 0000000..6ca2dcc Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xama.indicator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xchlh.oscillator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xchlh.oscillator.ex5 new file mode 100644 index 0000000..1b23bc0 Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xchlh.oscillator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xchma.oscillator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xchma.oscillator.ex5 new file mode 100644 index 0000000..78b7e93 Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xchma.oscillator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xctimer.indicator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xctimer.indicator.ex5 new file mode 100644 index 0000000..287397a Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xctimer.indicator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xfi.oscillator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xfi.oscillator.ex5 new file mode 100644 index 0000000..726a168 Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xfi.oscillator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xlh.indicator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xlh.indicator.ex5 new file mode 100644 index 0000000..e0e1109 Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xlh.indicator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xobd.indicator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xobd.indicator.ex5 new file mode 100644 index 0000000..5c52e32 Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xobd.indicator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xrsi.oscillator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xrsi.oscillator.ex5 new file mode 100644 index 0000000..c8420b8 Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xrsi.oscillator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xtd.oscillator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xtd.oscillator.ex5 new file mode 100644 index 0000000..3f8ea0d Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xtd.oscillator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xtm.indicator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xtm.indicator.ex5 new file mode 100644 index 0000000..44b229f Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xtm.indicator.ex5 differ diff --git a/Projects/XAU5/Indicators/x-saherelm.xts.oscillator.ex5 b/Projects/XAU5/Indicators/x-saherelm.xts.oscillator.ex5 new file mode 100644 index 0000000..7ecdc20 Binary files /dev/null and b/Projects/XAU5/Indicators/x-saherelm.xts.oscillator.ex5 differ diff --git a/Projects/XAU5/Libraries/x-saherelm.alert.lib.ex5 b/Projects/XAU5/Libraries/x-saherelm.alert.lib.ex5 new file mode 100644 index 0000000..1d636a6 Binary files /dev/null and b/Projects/XAU5/Libraries/x-saherelm.alert.lib.ex5 differ diff --git a/Projects/XAU5/Libraries/x-saherelm.common.lib.ex5 b/Projects/XAU5/Libraries/x-saherelm.common.lib.ex5 new file mode 100644 index 0000000..1758528 Binary files /dev/null and b/Projects/XAU5/Libraries/x-saherelm.common.lib.ex5 differ diff --git a/Projects/XAU5/Libraries/x-saherelm.draw.lib.ex5 b/Projects/XAU5/Libraries/x-saherelm.draw.lib.ex5 new file mode 100644 index 0000000..fdfd9cf Binary files /dev/null and b/Projects/XAU5/Libraries/x-saherelm.draw.lib.ex5 differ diff --git a/Projects/XAU5/Libraries/x-saherelm.http.lib.ex5 b/Projects/XAU5/Libraries/x-saherelm.http.lib.ex5 new file mode 100644 index 0000000..98e31fa Binary files /dev/null and b/Projects/XAU5/Libraries/x-saherelm.http.lib.ex5 differ diff --git a/Projects/XAU5/Libraries/x-saherelm.log.lib.ex5 b/Projects/XAU5/Libraries/x-saherelm.log.lib.ex5 new file mode 100644 index 0000000..f60ac0b Binary files /dev/null and b/Projects/XAU5/Libraries/x-saherelm.log.lib.ex5 differ diff --git a/Projects/XAU5/Libraries/x-saherelm.models.lib.ex5 b/Projects/XAU5/Libraries/x-saherelm.models.lib.ex5 new file mode 100644 index 0000000..c44f384 Binary files /dev/null and b/Projects/XAU5/Libraries/x-saherelm.models.lib.ex5 differ diff --git a/Projects/XAU5/Providers/x-saherelm.xau5.provider.indicators.lib.ex5 b/Projects/XAU5/Providers/x-saherelm.xau5.provider.indicators.lib.ex5 new file mode 100644 index 0000000..3e2a658 Binary files /dev/null and b/Projects/XAU5/Providers/x-saherelm.xau5.provider.indicators.lib.ex5 differ diff --git a/Projects/XAU5/Providers/x-saherelm.xau5.provider.indicators.lib.mq5 b/Projects/XAU5/Providers/x-saherelm.xau5.provider.indicators.lib.mq5 index b8edc50..ff0fafb 100644 --- a/Projects/XAU5/Providers/x-saherelm.xau5.provider.indicators.lib.mq5 +++ b/Projects/XAU5/Providers/x-saherelm.xau5.provider.indicators.lib.mq5 @@ -7165,6 +7165,13 @@ bool XAU5XTSFIHasShortSignal() mConditions.isXAMABearish && mConditions.isXTSCurrentOverMediest) && ( + // + (mConditions.isXTDBullUnderBear && + mConditions.isXCHMAMCTrendsDown && + mConditions.isXTDSignalUnderBear && + mConditions.isXCHMAMCFastUnderSlow) + // + || // (mConditions.isXCHMALCVale && mConditions.isXCHLHMCLCLLSame && @@ -7173,6 +7180,14 @@ bool XAU5XTSFIHasShortSignal() // || // + (mConditions.isXCHMAMCVale && + !mConditions.isXCHMAMCTrendsUp && + !mConditions.isXCHMAMCTrendsDown && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) + // + || + // ((mConditions.isXCHMALCVale && mConditions.isXTDBullishVale && mConditions.isXTDSignalUnderBear) && @@ -7391,6 +7406,13 @@ bool XAU5XTSFIHasShortSignal() ((mConditions.isXCHMALCFastOverSlow || mConditions.isXCHMALCFastCrossedOverSlow) && ( + // + (mConditions.isXAMAVale && + mConditions.isXCHMAMCVale && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXTSCurrentOverMediest) + // + || // (mConditions.isXTMNeutural && mConditions.isXAMANeutural && @@ -7629,7 +7651,32 @@ bool XAU5XTSFIHasShortSignal() !mConditions.isXLHHHSameInLength) && // ( - false) + // + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentOverMediest) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -9554,6 +9601,23 @@ bool XAU5XCHMACCHasShortSignal() // || // + ((mConditions.isXCHMAMCVale && + !mConditions.isXCHMAMCTrendsUp && + !mConditions.isXCHMAMCTrendsDown) && + ( + // + (mConditions.isXTMBearish && + mConditions.isXAMABearish && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentOverMediest) + // + ) + // + ) + // + || + // (mConditions.isXTSCurrentMin && mConditions.isXTMStartBearish && mConditions.isXCHLHSCMCLLSame && @@ -10555,6 +10619,16 @@ bool XAU5XCHMAMNHasLongSignal() mConditions.isXTSCurrentCrossedOverNearest && mConditions.isXTSCurrentCrossedOverMediest) // + || + // + (mConditions.isXTSCurrentMax && + mConditions.isXLHLLIncreased && + mConditions.isXTMStartBullish && + mConditions.isXAMAStartBullish && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentCrossedOverFarest) + // ) // ) diff --git a/Projects/XAU5/Providers/x-saherelm.xau5.provider.inputs.lib.ex5 b/Projects/XAU5/Providers/x-saherelm.xau5.provider.inputs.lib.ex5 new file mode 100644 index 0000000..c79c035 Binary files /dev/null and b/Projects/XAU5/Providers/x-saherelm.xau5.provider.inputs.lib.ex5 differ diff --git a/Projects/XAU5/Providers/x-saherelm.xau5.provider.lib.ex5 b/Projects/XAU5/Providers/x-saherelm.xau5.provider.lib.ex5 new file mode 100644 index 0000000..e57eb7d Binary files /dev/null and b/Projects/XAU5/Providers/x-saherelm.xau5.provider.lib.ex5 differ diff --git a/Projects/XEU5/Experts/x-saherelm.xeu5.ea.mq5 b/Projects/XEU5/Experts/x-saherelm.xeu5.ea.mq5 index 4da65d3..5d90b79 100644 --- a/Projects/XEU5/Experts/x-saherelm.xeu5.ea.mq5 +++ b/Projects/XEU5/Experts/x-saherelm.xeu5.ea.mq5 @@ -299,7 +299,11 @@ void OnTick() } // - if (!IsNewCandle() && xEU5WaitUntilNextCandle) + // Check Can Ignore Tick or not .. + bool canIgnoreTick = xEU5IsTestMode + ? !IsNewCandle() + : !IsNewCandle() && xEU5WaitUntilNextCandle; + if (canIgnoreTick) { return; }