CLOUDPips Hayate Setup Guide

This guide goes through Hayate's Inputs tab, group by group. Just starting? Load Default.set and change only RiskPercent: every default is the setting we backtested.

Start Hayate in 3 steps

  1. Attach Hayate to an XAUUSD chart set to D1. The chart's timeframe only affects how the chart loads: Hayate reads the timeframes it needs by itself
  2. Rented on cloudpips.io: paste your License Key (it starts with CPY-) into License_Key, the first row of the Inputs tab. It's in My licenses (bought on MQL5? skip this)
  3. Load Default.set with Load in the Inputs tab (choose and download a preset)

Every signal the bot skips is printed in the Experts tab with the reason.

Your broker's time zone

Nothing to set. In live trading Hayate detects your broker's time zone by itself, and follows daylight-saving changes. When it starts, the Experts tab shows Broker time zone detected automatically: GMT+2. Nothing to set. (with your broker's number)

For a backtest only, set Server_GMT_Offset to the number the Experts tab showed (GMT+2 = 2), because the Strategy Tester can't detect it. If it's wrong, the backtest results are off

Every setting in the Inputs tab

In the same order as MT5's Inputs tab. Every default is the setting we backtested. If you change a strategy setting, run your own backtest first.

Setting Default What it does
License_Key empty Your License Key from cloudpips.io, pasted with no spaces before or after (rented version only; the MQL5 version doesn't have it)
TradeDirection BOTH Which side may trade: both, buy only, or sell only
Server_GMT_Offset 0 Backtest only. In live trading the bot detects your broker's time zone by itself (more)
Other settings in Daily Breakout – Each day Hayate sets a Buy and a Sell level that gold only reaches when it breaks clearly out of its normal range, then trades the first break. These set how far away the levels are, and the stop-loss distance. One trade at a time
Max_Hold_Days 1.0 The most trading days a trade is held; if the stop loss hasn't been hit by then, it closes. There's no fixed take profit
Trend_MA_Days 100 Trades only with the long-term trend: buys only in an uptrend, sells only in a downtrend; the side against the trend is skipped for the day (0 = off)
Enable_Kaze_Filter true Wind filter: trade only when the market is active enough, skipping signals in a quiet market. The current Kaze level is on the panel. Every Hayate backtest has it on
Kaze_Min 1.0 Minimum activity: 1.0 = as active as usual for that time of day. Higher = fewer trades
Kaze_Require_Rising false The activity must also be rising
RiskPercent 1.0 The main one to change. Risk per trade as a % of balance: roughly what a stop loss costs. Default.set uses 1, Aggressive.set 2. If the balance is so small that the lot falls below your broker's minimum, Hayate uses the minimum lot, so the real risk is higher (use a Cent account for small balances). Hayate's stop loss is wide, so a 1,000 USD account often trades the minimum lot
Fixed_Lot 0.0 A fixed lot size instead of RiskPercent (0 = use RiskPercent)
Max_Lot 0.0 The largest lot per trade (0 = no limit)
Use_SL_TP true Leave it at true: every trade has its own stop loss, as in every preset. false = an experimental basket mode: trades open without a stop loss and close only all together
Basket_TP_Pct 0.0 Basket mode only: close all trades when their open profit reaches this % of balance
Basket_SL_Pct 0.0 Basket mode only: close all trades when their open loss reaches this % of balance (0 = off)
Max_Open_Positions 0 Basket mode only: the most trades open at once (0 = no limit)
Enable_EquityTP false Close all positions at once when combined open profit reaches a target, then keep trading. It watches the whole account, so other bots' trades count too
Internal_EquityTP_Pct 0 The open-profit target as a % of balance
Enable_TargetProfit false Stop trading when profit reaches a target: Hayate closes all its trades and stops until you restart it from the panel
TargetProfitPct 0.0 The profit target as a %, from the balance at the start of the cycle
Enable_DrawdownCut false Emergency drawdown cut: close all trades and stop the bot. A last safety net; if you turn it on, set it at a level you can genuinely live with
MaxDrawdownPct 0.0 The open loss, as a % of balance, that triggers the cut
Enable_DailySLLimit false Stop for the rest of the day after a number of stop losses (days follow your broker's server time)
Max_Daily_SL_Hits 0 Most losing trades per day
Enable_DailyTPLimit false Stop for the rest of the day after a number of winners
Max_Daily_TP_Hits 0 Most winning trades per day
Enable_DistanceFilter false Don't open a new trade too close to an existing one
Min_Distance_Points 1000 Minimum distance from an open position (points)
Draw_Levels_On_Chart true Draw today's Buy and Sell levels on the chart
Enable_WithdrawSim true Show the withdrawal simulator box on the chart
Withdraw_Profit_Pct 50.0 % of each profitable day's profit to simulate withdrawing
Magic_Number 778822 Hayate's ID for its own trades, to tell them apart from others. Change it and the panel's figures start from zero

Changing settings while running

  1. Double-click the EA's name in the top-right corner of the chart (or press F7)
  2. Edit the values in the Inputs tab and press OK

Open trades stay open with their stop loss. On MQL5 Virtual Hosting, Migrate again after changing settings.

Capital and VPS

  • Minimum balance: 1,000 USD on a Standard account, or 10,000 USC on a Cent account ($100). See How much capital do I need?
  • VPS: recommended, so the bot looks after its trades 24/5. See Set Up a VPS
  • Swap: Hayate holds trades overnight, so your broker's swap affects results
  • Running Hayate with another CLOUDPips bot: use a Hedging account and set RiskPercent to 0.5 on each (or to the risk you can accept). See Can I run two bots on the same account?

Next step

Choose the preset that suits your account: Hayate Presets Compared (Default, Aggressive)

More help

Updated 7 November 2026

Still stuck? Email us at support@cloudpips.io or message LINE @cloudpipsfx and we'll help you sort it out.