Pueden dejar comentarios los usuarios que hayan comprado o alquilado el producto
Vladimir Shumikhin  

What to consider when switching from EURUSD to gold (XAUUSD)


Maximum spread (MaxSpread)

  • Default: 25 points (on EURUSD).
  • For gold, the spread is often much higher. You could set it to 50–300 (or more), depending on your broker.
  • If you set MaxSpread too low, the robot may block trades whenever there’s a short-term spread widening.

Grid Step (GridStep)

  • Default: 200 points (appropriate for “thin” pairs like EURUSD).
  • For gold, due to higher volatility, increase it to around 500–3000 points. The greater the volatility, the larger the step should be to avoid opening the grid too frequently.

Stop Loss and Take Profit

  • Default: StopLoss = 1000 points and TakeProfit = 160 points.
  • For gold, these values should be higher. Approximate guidelines:
    • StopLoss = 2000–3000 (it can be even higher for a very aggressive approach).
    • If you do not want to use a stop-loss, set it to 0 (this disables SL).
    • TakeProfit = 10000–15000 (or even higher, depending on your goals).
  • It’s important that the StopLoss is not placed too close; otherwise, gold’s volatility can quickly knock you out of a position.

TrailingStop and BreakEven

  • If you enable trailing stop and break-even, set TrailingStart and TrailingDistance to higher values than for forex pairs.
  • For example, instead of TrailingStart = 160 / TrailingDistance = 100, you might set TrailingStart = 1000–2000 and TrailingDistance = 1000–1500 for gold. This helps avoid premature trade closure due to normal XAUUSD price fluctuations.

Lots and Risk

  • If you continue using a fixed lot (FixedLotSize), for example 0.01, ensure that this load on your deposit is acceptable when trading gold (the price of gold, and thus margin requirements, are higher than EURUSD).
  • If desired, you can switch to a percentage of the deposit (LOTMODE_PERCENT) with a moderate risk level (1%–2%, or to your preference).

Trading limitations (DailyLimit, MaxOrdersPerDay)

  • Gold can generate more signals during the day (or, conversely, fewer—depending on the strategy style).
  • If you want frequent trading, increase MaxOrdersPerDay or set DailyLimit = false. If you want to limit the number of entries (so as not to overload your deposit in case of a strong price move), keep a reasonable limit.

Example settings for gold (XAUUSD)

Below is an example of approximate parameter settings for an expert advisor trading gold. Of course, you should adjust everything to match your trading style and risk management:

// --- General trading settings --- MaxSpread = 200 // or 300 if the typical spread is higher at your broker GridStep = 1000 // can range from 500 to 3000 StopLoss = 3000 // 0 = disabled; you can also choose 2000, 3000, 5000, etc. TakeProfit = 10000 // or 15000 and higher, if you want a more distant target MinutesBetweenTrades = 5 // interval between trades (can be increased for fewer entries) // --- Trailing stop and break-even settings --- TrailingStop = true // enable trailing TrailingStart = 1500 // could be 1000–2000 TrailingDistance = 1000 // could be 1000–1500 BreakEven = true // enable break-even (optional) BreakEvenStart = 1000 // when to move to break-even BreakEvenOffset = 300 // profit "cushion" when moving to break-even // --- Risk and lot settings --- LotMethod = LOTMODE_FIXED // or LOTMODE_PERCENT FixedLotSize = 0.01 RiskLevel = RISK_LOW // if LOTMODE_PERCENT, roughly 1% per trade


Note

  • The value of “10000 points” for TakeProfit on gold can represent different “actual” points at different brokers. Make sure that your entry point and the point calculation for XAUUSD are interpreted correctly (for example, sometimes 1 “pip” in gold = 0.01 $).
  • If this seems too large a TakeProfit, you can lower it (e.g., 3000–5000). The main thing is to avoid making it too narrow, or else gold’s frequent fluctuations might take profit or close the trade before a trend develops.

In summary, when trading gold (XAUUSD):

  1. Spread widening is often higher compared to currency pairs.
  2. High volatility requires more “spaced-out” grid steps (GridStep), stops, and trailing parameters.
  3. Margin requirements for gold are higher, so plan your trade size carefully.

Following these tips will help you adapt your EA to gold’s specifics and avoid premature trade closures due to market noise or an expanded spread.

Vladimir Shumikhin  

Что учесть при переходе с EURUSD на золото (XAUUSD)

  1. Максимальный спред (MaxSpread)

    • По умолчанию = 25 пунктов (на EURUSD).
    • Для золота спред часто намного выше. Можно выставить 50–300 (или больше) в зависимости от брокера.
    • Если поставить слишком низкий MaxSpread, робот может блокировать сделки при любом краткосрочном расширении спреда.
  2. Шаг сетки (GridStep)

    • По умолчанию = 200 пунктов (актуально для «тонких» пар вроде EURUSD).
    • Для золота из-за волатильности шаг увеличивают примерно до 500–3000 пунктов. Чем выше волатильность, тем больше стоит делать шаг, чтобы не открывать сетку слишком часто.
  3. Stop Loss и Take Profit

    • По умолчанию StopLoss = 1000 пунктов и TakeProfit = 160 пунктов.
    • Для золота рекомендуется повышать эти значения. Примерные ориентиры:
      • StopLoss = 2000–3000 (а при очень агрессивном подходе можно и выше).
        • Если вы не хотите использовать стоп-лосс, укажите 0 (отключение SL).
      • TakeProfit = 10000–15000 (или даже выше, в зависимости от целей).
    • Важно, чтобы StopLoss не стоял слишком близко, иначе волатильность золота может быстро выбить позицию.
  4. TrailingStop и BreakEven

    • Если вы включаете трейлинг и безубыток, поднимите TrailingStart и TrailingDistance выше «форексных» значений.
    • Например, вместо TrailingStart = 160/TrailingDistance = 100 можно выставить TrailingStart = 1000–2000 и TrailingDistance = 1000–1500 для золота. Это защитит от преждевременного закрытия сделки при обычном ценовом шуме XAUUSD.
  5. Лоты и риск

    • Если вы продолжаете использовать фиксированный лот (FixedLotSize), например, 0.01, убедитесь, что такая загрузка депозита приемлема при торговле золотом (цена золота и, соответственно, маржа выше, чем на EURUSD).
    • При желании можно переключиться на процент от депозита (LOTMODE_PERCENT) с умеренным уровнем риска (1%–2% или по вашему усмотрению).
  6. Торговые ограничения (DailyLimit, MaxOrdersPerDay)

    • Золото может давать больше сигналов в течение дня (или, наоборот, реже — всё зависит от стиля стратегии).
    • Если нужна частая торговля — увеличьте MaxOrdersPerDay или поставьте DailyLimit = false. Если, наоборот, хотите ограничить количество входов, чтобы не перегружать депозит в случае сильного движения, оставьте лимит в разумных пределах.

Пример настроек для золота (XAUUSD)

Ниже пример, где показано, как приблизительно можно задать параметры в советнике под золото (конечно, подбирайте под свой стиль и риск-менеджмент):

cpp
// --- Общие торговые настройки --- MaxSpread = 200 // или 300, если у брокера ещё больше типовой спред GridStep = 1000 // можно от 500 до 3000 StopLoss = 3000 // 0 = отключение; при желании можно 2000, 3000, 5000 и т.д. TakeProfit = 10000 // или 15000 и выше, если хочется «дальнюю» цель MinutesBetweenTrades = 5 // интервал между сделками (можно увеличить для более редких входов) // --- Настройки трейлинга и безубытка --- TrailingStop = true // включаем трейлинг TrailingStart = 1500 // можно 1000–2000 TrailingDistance = 1000 // можно 1000–1500 BreakEven = true // включаем безубыток (по желанию) BreakEvenStart = 1000 // когда перевести в безубыток BreakEvenOffset = 300 // «запас» прибыли при переводе в безубыток // --- Риск и лот --- LotMethod = LOTMODE_FIXED // или LOTMODE_PERCENT FixedLotSize = 0.01 RiskLevel = RISK_LOW // если LOTMODE_PERCENT, это примерно 1% на сделку

Примечание:

  • Величина «10000 пунктов» для TakeProfit на золоте может означать разные «реальные» пункты у разных брокеров. Убедитесь, что точка входа и пункт для XAUUSD интерпретируются корректно (например, иногда 1 «пип» золота = 0.01 $).
  • Если для вас это слишком большой TakeProfit, можно уменьшить (допустим, 3000–5000), главное — чтобы он не был слишком узким, иначе частые колебания золота могут быстро забирать прибыль/выбивать сделку до развития тренда.

В итоге, при работе с золотом (XAUUSD) важно учесть, что:

  • Расширение спреда нередко выше, чем на валютных парах.
  • Волатильность требует более «растянутых» шагов (GridStep), стопов и трейлингов.
  • Маржинальные требования по золоту выше, и объём сделки нужно рассчитывать аккуратно.

Данные рекомендации помогут адаптировать ваш советник к особенностям золота и избежать преждевременных закрытий сделок из-за шума или расширенного спреда.