Engine Smart DSignalROI BOJ
- Experts
- Irina Cherkashina
- Versione: 1.19
- Attivazioni: 5
ENGINE SMART D-SIGNAL + ROI MT5 EA
ENGINE SMART D-SIGNAL + ROI MT5 is a multi-symbol Expert Advisor for MetaTrader 5 built around D1 channel-based D-Signal logic and an optional Bank of Japan / ROI event calendar filter. The EA combines technical channel signals, tick-direction confirmation, controlled grid logic, partial target exits and professional risk-control modules in one system.
The strategy is especially focused on JPY pairs and Bank of Japan interest rate decision periods, because these market windows often create a combination of elevated volatility, directional repricing and technically visible overextension around channel boundaries. Instead of trading every market condition in the same way, this EA separates the JPY/BOJ event model into a dedicated strategy block, giving the user a focused tool for testing and trading a very specific market behavior.
Important: this product does not guarantee profit. All trading involves risk. The EA should be tested in the Strategy Tester and on a demo account before live use.
MAIN IDEA
The EA analyzes selected symbols using a D1 TMA/D-Signal channel. The channel defines the upper boundary, lower boundary and median line. Entries are based on the EA’s internal D-Signal conditions, including channel location and tick-direction confirmation. The logic is not based on a simple static two-point trendline. The visual channel is calculated and drawn as a full historical channel to help the user understand the real trading logic during live trading and visual backtesting.
The Expert Advisor can work in two main modes:
1. Technical mode: the EA can trade according to the technical D-Signal logic without calendar restriction.
2. BOJ/ROI calendar mode: the EA trades only inside the configured window around Bank of Japan interest rate decision dates.
WHY THIS STRATEGY IS SEPARATED AS A DEDICATED TOP MODEL
This EA is not a generic “trade everything all the time” robot. The core idea is to isolate a special market situation: JPY pairs around Bank of Japan rate-decision windows.
This approach is powerful because:
- JPY pairs can react strongly around monetary policy events.
- BOJ decision periods often create fast repricing, false breakouts and expanded channel movement.
- The EA combines event timing with technical overextension instead of using only news or only indicators.
- The D1 channel helps filter noise and gives the strategy a structured price context.
- Tick-direction confirmation reduces the chance of opening only because price touched a level visually.
- The Target 1 / Target 2 system allows partial profit-taking and controlled continuation.
- The visual channel and signal arrows make the logic transparent in the Strategy Tester.
This is the reason the strategy is presented as a dedicated premium model: it focuses on a recognizable market phenomenon and gives the trader tools to analyze, test and control it.
VISUALIZATION
The EA includes optional chart visualization:
- Full upper channel line
- Full lower channel line
- Optional median line
- BUY and SELL signal arrows
- Configurable colors, widths and update frequency
The visualization is designed to be lightweight. It does not recalculate or redraw unlimited history on every tick. The number of visual bars and update interval are limited by input settings.
TRADING WINDOW AND CALENDAR SETTINGS
The EA trades only within the event window around configured calendar dates.
DaysBeforeEvent
Number of days before the BOJ event when trading is allowed.
TradeAfterEvent
Allows trading after the event.
HoursAfterEvent
Number of hours after the event when trading is allowed.
CalendarSource
Selects the calendar source.
CALENDAR_BUILTIN
Uses the built-in BOJ calendar dates included in the EA.
CALENDAR_LOCAL_CSV
Loads dates from a local CSV file.
CALENDAR_ONLINE_CSV
Loads dates from an online CSV URL. In the Strategy Tester, WebRequest is not used, so the EA falls back to local/built-in data.
CALENDAR_MANUAL
Uses manually entered dates from the input settings.
LocalCalendarFileName
Name of the local calendar CSV file. Default: ROI_Dates.csv
CalendarURL
- URL for online CSV loading. The URL must be allowed in MetaTrader 5: Tools -> Options -> Expert Advisors -> Allow WebRequest for listed URL.
- ManualEventDateTime
- Single manual event date for quick testing.
- ManualEventDateTimes
- Multiple manual event dates separated by semicolons.
Example:
2027.01.22 05:00;2027.03.19 05:00;2027.04.28 05:00;2027.06.17 05:00
HOW TO ADD BOJ DATES AFTER 2026
Option 1: Manual input directly in EA settings
1. Open EA settings.
2. Set CalendarSource = CALENDAR_MANUAL.
3. In ManualEventDateTimes, paste future dates separated by semicolons.
4. Use this format:
yyyy.mm.dd hh:mi
5. Example:
2027.01.22 05:00;2027.03.19 05:00;2027.04.28 05:00;2027.06.17 05:00
This is the easiest method for users who do not want to work with files.
Option 2: Local CSV file
1. Create a text file named ROI_Dates.csv.
2. Put it into the MetaTrader 5 common/files or terminal files folder used by the EA.
3. Add one event per line.
4. Use this format:
yyyy.mm.dd hh:mi;Bank of Japan Interest Rate Decision
5. Example:
2027.01.22 05:00;Bank of Japan Interest Rate Decision
2027.03.19 05:00;Bank of Japan Interest Rate Decision
2027.04.28 05:00;Bank of Japan Interest Rate Decision
6. In EA settings, set CalendarSource = CALENDAR_LOCAL_CSV.
7. Set LocalCalendarFileName = ROI_Dates.csv.
Option 3: Online CSV URL
1. Prepare a public CSV file with the same format.
2. Put the URL in CalendarURL.
3. Set CalendarSource = CALENDAR_ONLINE_CSV.
4. In MetaTrader 5, open Tools -> Options -> Expert Advisors.
5. Enable Allow WebRequest for listed URL.
6. Add the domain/URL.
Note: Online loading is intended for live terminal use. In the Strategy Tester, the EA uses local or built-in fallback data.
ENTRY LOGIC SETTINGS
TradeDirectionMode
Controls allowed trade directions.
TRADE_DIRECTION_SELL_ONLY
Only SELL trades are allowed.
TRADE_DIRECTION_SELL_BUY_BY_RISK
BUY trades are allowed only when the higher-timeframe risk condition permits it.
TRADE_DIRECTION_SELL_BUY_ALWAYS
Both BUY and SELL technical signals are allowed.
RiskFilterMode
Controls how W1/MN1 risk filters are used.
RISK_FILTER_IGNORE
Higher-timeframe filters are ignored.
RISK_FILTER_LOT_ONLY
Higher-timeframe filters adapt lot/risk but do not block entries.
RISK_FILTER_PERMISSION_AND_LOT
Higher-timeframe filters can block entries and also adapt lot/risk.
SignalSensitivity
Controls the sensitivity of the signal logic.
ORDER MANAGEMENT SETTINGS
UseAutoLot
Enables automatic lot calculation.
FirstOrderLot
Initial fixed lot when auto lot is disabled.
MaxOrdersPerSymbol
Maximum number of positions/orders per symbol managed by the EA.
DistanceBetweenOrdersPoints
Minimum distance between additional grid orders.
LotMultiplier
Multiplier for grid lot progression.
MaxLotPerSymbol
Maximum allowed total lot per symbol.
TARGET EXIT SYSTEM
TargetExitMode
Selects the exit model.
TARGET_EXIT_STANDARD
No partial Target 1 logic. The EA aims for the final opposite channel target.
TARGET_EXIT_PARTIAL
The EA can close part of the position at Target 1 and manage the remaining part toward Target 2.
Target1ClosePercent
Percentage of the position to close at Target 1.
CloseBestOrdersAtTarget1
When enabled, the EA prioritizes closing the best/profitable part at Target 1.
UseROITarget2OnlyForJPY
For JPY/ROI logic, the EA can skip partial Target 1 and focus on Target 2 behavior when configured.
RISK CONTROL SETTINGS
MaxDrawdownPercent
Maximum drawdown threshold used by the drawdown-control module.
DrawdownAction
Defines what the EA does when drawdown control is triggered.
DD_ACTION_OFF
Drawdown closing is disabled.
DD_ACTION_CLOSE_ALL
Close all strategy positions.
DD_ACTION_WORST_SYMBOL
Unload only the worst symbol grid.
DD_ACTION_WORST_ORDER
Unload only the worst single order.
RestartCycleAfterDrawdown
Allows the EA to restart the trading cycle after drawdown action.
UseRiskGuard
Enables additional risk guard checks before opening new orders.
MinRiskReserveAfterOrderPercent
Minimum reserve that must remain after opening an order.
AutoLotSafetyReservePercent
Additional safety reserve used by auto lot logic.
ExtraFalseBreakoutPoints
Extra protective distance for false-breakout risk calculations.
MaxTotalAutoLotRiskPercent
Maximum total risk allowed by auto lot logic.
AutoLotRiskPercent
Base risk percent used for auto lot.
RiskAdaptiveGridAndLot
Enables adaptive lot/grid changes depending on risk conditions.
SYMBOL SETTINGS
SymbolsMode
Selects the symbol universe.
SYMBOLS_AUTO_JPY
Automatically scans JPY pairs from Market Watch.
SYMBOLS_CUSTOM_LIST
Uses the user-defined list in CustomSymbolsList.
SYMBOLS_AUTO_MARKETWATCH
Scans all symbols from Market Watch.
SYMBOLS_MAJOR_FX
Uses a major FX preset.
SYMBOLS_METALS_FX
Uses metals plus major FX preset.
CustomSymbolsList
Custom symbol list separated by commas.
EXECUTION SETTINGS
Slippage
Maximum allowed slippage.
MagicNumber
Unique identifier used by the EA to manage only its own trades.
TradeComment
Trade comment used for EA orders.
PANELS AND ALERTS
- ShowInfoPanel
- Shows the main information panel.
- ShowCalendarTimerPanel
- Shows the next event countdown panel.
UsePushAlerts
Enables push notifications.
UseEmailAlerts
Enables email notifications.
UsePopupAlerts
Enables terminal pop-up alerts.
DebugPrint
Enables additional log messages for analysis.
RECOMMENDED USE
- Use D1 timeframe for the main logic.
- Test the EA first in the MT5 Strategy Tester.
- Use visual mode to inspect channel drawing and entry arrows.
- For BOJ calendar mode after 2026, update ManualEventDateTimes or ROI_Dates.csv.
- Start with conservative lot settings.
- Use a demo account before live trading.
RISK WARNING
Trading Forex, CFDs and other leveraged instruments involves a high level of risk. Historical results do not guarantee future performance. This EA is a technical and event-filtering tool; it does not remove market risk.
