Use the new Parameters Suitable for the MQL5 Backtest:
Recently, we had to make some adjustments to the EA's code to comply with new guidelines and rules required by the platform. These changes, while preserving the essence of the strategy, may cause backtests using older settings to show different results from what you might have seen in previous demonstrations.
It is important to emphasize that GoldOracle remains the same robust program, using the same adaptive logic to trade Gold (XAUUSD) on the M1 timeframe. The core strategy that makes it effective has not been changed.
To help you and ensure you have the best testing experience with the most current version, we have a new .set file available. This file contains parameters already optimized for the updated version of the EA, reflecting the adjustments we mentioned. With it, you will obtain much more consistent backtest results.
Please send us a message, and we will send you the .set file for backtesting in MT5.
You can also copy the General Settings below:
Parameter Value
General Settings
Timeframe M1
LotSize 0.1
UseTrailingStop true
UseEnhancedTrailingStop true
TrailingStopPips 800.0
TrailingStopSafetyBufferPips 400
LogFileName GoldOracleLog.csv
MagicNumber 12345
Initialization Settings
WarmUpBars 0
MinBarsCalculatedForIndicator 50
Risk Management (Maximum Stop Loss)
UseAbsoluteMaxStopLoss true
AbsoluteMaxStopLossPips 5000.0
Indicators and Filters (Opening)
confirmationWindow 20
MA_Period 20
CCI_Period 50
ADX_Period 14
ADX_Threshold 40.0
SlopeThresholdPips 1.0
UseMA200Filter true
UseM1Filter_AgainstOBS true
Current Candle/Trigger Validation
ValidateCurrentConditions true
ADX_Current_Minimum_To_Continue 40.0
CCI_Validate_Current_Sell true
CCI_Validate_Current_Buy true
ValidateCurrentHistogram true
Advanced Filters (Opening)
UseMACDHistogramFilter true
UseStrongVolumeFilter true
VolumeLookbackPeriod 20
VolumeMultiplier 1.1
Points_Volume_Confirm 1
Scoring System for Confirmation
Points_ADX_Confirm 2
Points_CCI_Confirm 2
Points_Slope_Confirm 1
Points_MA200_Filter_Confirm 1
Points_ADX_Confirm_Sell 2
Points_CCI_Confirm_Sell 2
Points_Slope_Confirm_Sell 1
Points_MA200_Filter_Confirm_Sell 1
MinScoreToOpenTrade 4
MinScoreToOpenTrade_Sell 6
Sell Operations Control
AllowSells true
Sell_Block_Hours_UTC (empty)
MACD Parameters
MacdFastPeriod 12
MacdSlowPeriod 26
MacdSignalPeriod 9
MacdAppliedPrice 1
Alternative MA Crossover Trigger
UseMAcrossoverTrigger false
MACrossoverConfirmationWindow 30
Structural Stop Loss (Initial)
StructureLookback 20
AtrPeriodSL 14
AtrMultiplierSL 4.0
StructureLookback_Sell 10
AtrMultiplierSL_Sell 3.0
Dynamic Take Profit (ATR)
UseTakeProfitATR true
AtrMultiplierTP_Buy 4.5
AtrMultiplierTP_Sell 4.0
AtrPeriodTP 14
Sequential Trades Limit
UseSequentialTradesLimit true
MaxAllowedSequentialTrades 2
MinSecondsIntervalBetweenSequentialTrades 1200
ADX_ConsecutiveFallingCandlesToReset 2
OppositeHistogramResetsSequence true
Time Filter and Optimized Dynamic Lot (UTC)
UseTimeFilter true
UseDynamicLot true
Reduced_Lot 0.01
Dynamic Lot Filter by Performance (Hour/Day - UTC)
UseNewDynamicLot_Performance true
Base_Lot_Performance 0.1
Increased_Lot_Performance 0.2
Significant_Profit_Hours_Performance 0,1,2,3,4,5,6,7,14,15,16,21
Profit_Exceeds_Loss_Hours_Performance 8,9,10,12,17,18,20,22
Significant_Profit_Days_Performance 1,2,3,4
Overbought/Oversold Closing System (Main)
UseOBSClosing true
RSI_Period 7
RSI_Overbought 70.0
RSI_Oversold 30.0
Stoch_Period 5
Stoch_K 3
Stoch_D 3
Stoch_Overbought 80.0
Stoch_Oversold 20.0
OBS_MinTimeInPositionSeconds 200
OBS_RequiredScoreToClose 2
Additional Indicators for OBS Closing
UseWilliamsR true
WilliamsR_Period 7
WilliamsR_Overbought -20.0
WilliamsR_Oversold -80.0
UseMFI true
MFI_Period 7
MFI_AppliedVolume 0
MFI_Overbought 80.0
MFI_Oversold 20.0
UseBollingerBands true
BB_Period 14
BB_Deviation 2.0
Friday Market Close Filter
UseFridayCloseFilter false
HoursBeforeMarketClose 1
MA Direction Filter
UseMADirectionFilter true
MinDistanceBetweenMAs 50.0
MinMA20SlopePips 3.0
MA20SlopeCheckBars 3
Recently, we had to make some adjustments to the EA's code to comply with new guidelines and rules required by the platform. These changes, while preserving the essence of the strategy, may cause backtests using older settings to show different results from what you might have seen in previous demonstrations.
It is important to emphasize that GoldOracle remains the same robust program, using the same adaptive logic to trade Gold (XAUUSD) on the M1 timeframe. The core strategy that makes it effective has not been changed.
To help you and ensure you have the best testing experience with the most current version, we have a new .set file available. This file contains parameters already optimized for the updated version of the EA, reflecting the adjustments we mentioned. With it, you will obtain much more consistent backtest results.
Please send us a message, and we will send you the .set file for backtesting in MT5.
You can also copy the General Settings below:
Parameter Value
General Settings
Timeframe M1
LotSize 0.1
UseTrailingStop true
UseEnhancedTrailingStop true
TrailingStopPips 800.0
TrailingStopSafetyBufferPips 400
LogFileName GoldOracleLog.csv
MagicNumber 12345
Initialization Settings
WarmUpBars 0
MinBarsCalculatedForIndicator 50
Risk Management (Maximum Stop Loss)
UseAbsoluteMaxStopLoss true
AbsoluteMaxStopLossPips 5000.0
Indicators and Filters (Opening)
confirmationWindow 20
MA_Period 20
CCI_Period 50
ADX_Period 14
ADX_Threshold 40.0
SlopeThresholdPips 1.0
UseMA200Filter true
UseM1Filter_AgainstOBS true
Current Candle/Trigger Validation
ValidateCurrentConditions true
ADX_Current_Minimum_To_Continue 40.0
CCI_Validate_Current_Sell true
CCI_Validate_Current_Buy true
ValidateCurrentHistogram true
Advanced Filters (Opening)
UseMACDHistogramFilter true
UseStrongVolumeFilter true
VolumeLookbackPeriod 20
VolumeMultiplier 1.1
Points_Volume_Confirm 1
Scoring System for Confirmation
Points_ADX_Confirm 2
Points_CCI_Confirm 2
Points_Slope_Confirm 1
Points_MA200_Filter_Confirm 1
Points_ADX_Confirm_Sell 2
Points_CCI_Confirm_Sell 2
Points_Slope_Confirm_Sell 1
Points_MA200_Filter_Confirm_Sell 1
MinScoreToOpenTrade 4
MinScoreToOpenTrade_Sell 6
Sell Operations Control
AllowSells true
Sell_Block_Hours_UTC (empty)
MACD Parameters
MacdFastPeriod 12
MacdSlowPeriod 26
MacdSignalPeriod 9
MacdAppliedPrice 1
Alternative MA Crossover Trigger
UseMAcrossoverTrigger false
MACrossoverConfirmationWindow 30
Structural Stop Loss (Initial)
StructureLookback 20
AtrPeriodSL 14
AtrMultiplierSL 4.0
StructureLookback_Sell 10
AtrMultiplierSL_Sell 3.0
Dynamic Take Profit (ATR)
UseTakeProfitATR true
AtrMultiplierTP_Buy 4.5
AtrMultiplierTP_Sell 4.0
AtrPeriodTP 14
Sequential Trades Limit
UseSequentialTradesLimit true
MaxAllowedSequentialTrades 2
MinSecondsIntervalBetweenSequentialTrades 1200
ADX_ConsecutiveFallingCandlesToReset 2
OppositeHistogramResetsSequence true
Time Filter and Optimized Dynamic Lot (UTC)
UseTimeFilter true
UseDynamicLot true
Reduced_Lot 0.01
Dynamic Lot Filter by Performance (Hour/Day - UTC)
UseNewDynamicLot_Performance true
Base_Lot_Performance 0.1
Increased_Lot_Performance 0.2
Significant_Profit_Hours_Performance 0,1,2,3,4,5,6,7,14,15,16,21
Profit_Exceeds_Loss_Hours_Performance 8,9,10,12,17,18,20,22
Significant_Profit_Days_Performance 1,2,3,4
Overbought/Oversold Closing System (Main)
UseOBSClosing true
RSI_Period 7
RSI_Overbought 70.0
RSI_Oversold 30.0
Stoch_Period 5
Stoch_K 3
Stoch_D 3
Stoch_Overbought 80.0
Stoch_Oversold 20.0
OBS_MinTimeInPositionSeconds 200
OBS_RequiredScoreToClose 2
Additional Indicators for OBS Closing
UseWilliamsR true
WilliamsR_Period 7
WilliamsR_Overbought -20.0
WilliamsR_Oversold -80.0
UseMFI true
MFI_Period 7
MFI_AppliedVolume 0
MFI_Overbought 80.0
MFI_Oversold 20.0
UseBollingerBands true
BB_Period 14
BB_Deviation 2.0
Friday Market Close Filter
UseFridayCloseFilter false
HoursBeforeMarketClose 1
MA Direction Filter
UseMADirectionFilter true
MinDistanceBetweenMAs 50.0
MinMA20SlopePips 3.0
MA20SlopeCheckBars 3
