RIZA EA — Installation, Setup and User Guide

RIZA EA — Installation, Setup and User Guide

18 November 2026, 13:10
Roman Kondratev
0
23
RIZA EA — Installation, Setup and User Guide

RIZA is an Expert Advisor for MetaTrader 5 designed to trade Gold. It combines ten strategy modules, allowing you to select an individual strategy or a predefined portfolio.

The EA looks for price breakouts, places Buy Stop and Sell Stop pending orders, calculates position sizes and manages trades according to each strategy’s settings.

1. Installation and First Launch

If you purchased RIZA through MQL5 Market, sign in to the terminal using the MQL5.community account used for the purchase. Find RIZA among your purchased products and install it.

To install an EX5 file, select File → Open Data Folder, copy the file into MQL5 → Experts, then refresh Navigator.

Next, complete these steps.

  1. Open your broker’s Gold chart, such as XAUUSD or XAUUSD.p.
  2. Drag the EA onto the chart.
  3. Allow algorithmic trading in the EA’s properties and enable it in the terminal.
  4. Check the risk settings and broker server time offsets.
  5. Open the Experts tab and review the startup messages.

You can use M15 for your first visual test. Each strategy uses its own internal signal settings.

With the default magic numbers, use one RIZA instance per account and Gold symbol. Keep the terminal running and connected while the EA manages positions.

2. Selecting Strategies

EA_ActiveStrategies determines which modules may open new trades.

The dropdown includes individual strategies and predefined combinations. The default portfolio enables strategies 2, 3, 4, 5, 7, 8 and 10.

To study an individual module, select it and run a test. When comparing portfolios, keep the dates, deposit, risk settings and execution conditions identical.

EA_S1_Params through EA_S10_Params contain the encoded strategy settings. Keep each string in its original field. Use Load in the Inputs tab to import a supplied settings file.

Several strategies may open positions during the same market move. Consider their combined exposure when evaluating the portfolio.

3. Position Sizing and Risk

Select the lot-calculation method using EA_RiskLevel.

FixedLot

The EA uses the volume specified in EA_FixedLot. For example, 0.01 selects 0.01 lot, subject to the broker’s volume restrictions.

Check the minimum volume, lot step and margin requirements in the symbol specification.

Manual

Set the risk per trade using EA_RiskPercent. The EA calculates volume from the risk capital and the distance between the entry price and the initial stop loss.

For example, with risk capital of 1,000 account-currency units and a risk setting of 0.5%, the planned loss at the initial stop is approximately 5 units before costs and execution differences.

Eco, Comfort and Sport

These options select a proportion of the reference risk calculated using the half-Kelly criterion.

Option Approximate risk per trade before adjustments
Eco 25% 0.97%
Comfort 50% 1.94%
Sport 100% 3.88%



The percentages in these option names indicate the proportion of the reference risk. Final volume also depends on the drawdown brake, panel multiplier and applicable limits.

The factory configuration uses Manual with EA_RiskPercent = 4.0. Review this setting before starting.

4. Risk Capital and Limits

EA_RiskCapital defines the capital used for position sizing.

  • 0 uses the current account balance.
  • A positive value sets a fixed amount in the account currency, capped at the current balance.

EA_DrawdownBrakePercent reduces risk for subsequent entries as the balance falls from its peak. The minimum sizing risk is 25% of the selected rate. The default threshold is 15. Set 0 to disable the function.

Actual drawdown may exceed this threshold because the function adjusts the size of subsequent trades.

EA_MaxTotalRiskPercent limits the combined planned stop-loss risk of RIZA positions and pending orders on the current symbol when percentage-based sizing is used.

EA_MaxMarginPercent limits projected margin usage as a percentage of account equity.

A value of 0 disables the corresponding user-defined limit.

If the calculated volume falls below the broker’s minimum lot, the EA may skip the entry. Check the journal and panel warnings for the reason.

5. Server Time, Trading Hours and Spread

Enter your broker’s actual server offsets in EA_ServerGMTWinter and EA_ServerGMTSummer. The default values are 2 and 3 .

These settings affect time conversion and the NFP filter.

EA_TradeHours defines the hours during which pending orders are permitted. It supports lists and ranges, such as 1-11,14,16-20 . The entry 22-3 specifies a range that crosses midnight.

The schedule uses the strategy’s reference clock, GMT+2 during US winter time and GMT+3 during US summer time. Outside permitted hours, the EA removes its pending orders and continues managing open positions.

EA_MaxSpreadPrice sets the maximum Ask–Bid difference in price units. For XAUUSD, 0.50 means fifty cents. When the spread exceeds the threshold, new order placement is blocked. Existing orders may still execute. Set 0 to disable the check.

6. News, Holidays and Friday Close

EA_NewsFilter provides the following options.

Mode Function
Off News filters disabled
NFP dates Built-in NFP date filter for testing and live operation
High-impact calendar news High-impact USD events from the MT5 calendar during live operation
NFP dates + calendar news Both filters



The NFP window starts 100 minutes before the scheduled release and ends 60 minutes afterward. During this window, the EA blocks entries, removes its pending orders and attempts to close its positions.

The calendar filter checks for high-impact USD events approximately one hour before and after publication. When triggered, it blocks entries and removes the EA’s pending orders.

Additional protection settings are available.

  • EA_HolidayPause enables pauses late on Monday and Friday, and from December 25 through January 5.
  • EA_FridayCancelPending enables pending-order removal before Friday close.
  • EA_FridayCancelMinutes specifies the number of minutes before the close.
  • EA_FridayCloseTime allows an explicit closing time in HH format using broker server time. An empty field uses the available broker session closing time.
  • EA_HolidayFilter enables filtering for built-in holidays in the selected regions.

7. Daily Loss Limit

EA_PropFirmMaxDailyDD enables a daily loss limit for the EA’s own trades on the current symbol.

The calculation includes RIZA’s realized P/L for the day and floating P/L. The threshold is a percentage of the highest account equity observed during that day.

When triggered, the EA attempts to close its positions and remove pending orders. New entries remain blocked until the next server day. Set 0 to disable the function.

Compare this calculation with your prop firm’s rules before using it.

8. Panel Controls

With EA_ShowPanel = true, the EA displays an account summary and strategy results. Click MORE to access additional controls.

Button Action
PAUSE / RESUME Pause or resume entries. Pausing removes pending orders while position management continues
CLOSE ALL Request closure of RIZA positions and remove its pending orders
BUY / SELL Allow or block new orders in the selected direction
CLOSE BUYS / CLOSE SELLS Request closure of positions in the selected direction
DELETE ORDERS Remove RIZA’s current pending orders
BREAK EVEN Move an eligible position’s stop to its entry price if broker restrictions permit
RISK −10% / +10% Adjust the sizing multiplier for subsequent percentage-risk orders by 0.1 per click



If you want to prevent further entries after closing positions, click PAUSE first.

ACTIVE means the panel permits entries. PAUSED indicates a manual pause. LOCKED indicates that a trading condition is blocking entries. Check the status line and journal for details.

9. Testing in Strategy Tester

  1. Open Strategy Tester with Ctrl+R and select RIZA.
  2. Choose your broker’s exact Gold symbol.
  3. Select Every tick based on real ticks.
  4. Set the deposit, account currency, leverage and execution delay.
  5. Check the risk settings, strategies and server time offsets.
  6. Run a visual test, followed by a longer test with visualization disabled.
  7. Save the report and the .set settings file.

Compare trade count, equity drawdown, profit factor, deposit load and individual strategy results. After historical testing, evaluate the selected configuration on a demo account.

10. If the EA Does Not Open Trades

Check algorithmic trading permissions, the server connection, trading hours, filters, panel status and messages in the Experts tab.

Other causes may include insufficient history, no valid entry conditions, minimum-lot restrictions, a high spread or margin limits.

For a support request, include the EA and MT5 versions, broker name, exact symbol, .set file and relevant journal messages. For tester issues, also include the dates, tick model, deposit, leverage and execution delay.

Historical results depend on data, symbol specifications and execution conditions. Future results may differ substantially from backtests.