Shunkan EA
- Experts
- Victor Paula Oberto
- Versione: 1.0
- Attivazioni: 10
Shunkan EA
Shunkan is a Japanese word meaning instant or fleeting moment — the precise, decisive point in time when something happens. This name reflects the core philosophy of this Expert Advisor: every trade decision — from entry to exit — is governed by time.
The range is defined by time, the breakout is triggered by time, and positions are managed and closed by time. In trading, as in life, the right moment is everything.
Overview
Shunkan EA is an automated Expert Advisor for MetaTrader 5 based on a time-defined range breakout strategy. The EA identifies a price consolidation range formed during a user-defined time window and places pending orders to capture the breakout movement
when price leaves that range. All logic — from order placement to position closure — is structured around time parameters, making the strategy transparent, rule-based, and fully configurable.
Live Performance Setups (MFB):
- Shunkan EA 001
Set Files:
How It Works
- Range Formation — The EA monitors price action during a configurable time window (range start and end hours/minutes) and records the high and low of that period.
- Breakout Entry — At the close of the range window, pending buy-stop and sell-stop orders are placed at the range boundaries.
- Order Expiration — Pending orders that are not triggered within a configurable deadline (in minutes) are automatically cancelled.
- Position Management — Open positions are monitored continuously. A time-based close rule allows the trader to define a maximum holding time, after which positions are closed regardless of outcome.
- Trailing Stop — An optional trailing stop mechanism dynamically adjusts the stop loss as the trade evolves, locking in profits above a configurable risk-reward threshold while allowing the position to breathe.
Key Features
- Minimal set of robust inputs — minimizes overfitting and focus on the most relevant behaviors of the strategy.
- Time-defined range — Range start and end are fully configurable by hour and minute.
- Automatic order expiration — Pending orders are cancelled if not triggered within the defined deadline.
- Time-based position close — Positions can be automatically closed at a configurable hour/minute.
- Candle-based trailing stop — Optional dynamic trailing stop based on price action signals, activated only after a minimum risk-reward threshold is reached.
- Flexible position sizing and take profit target — Supports percentage-based lot sizing and risk-reward take profit sizing.
- No martingale, no grid, no averaging — One position per direction per range cycle.
- Compatible with prop firm rules — Controlled risk, defined stop loss on every trade.
Portfolio Analyzer (PFA) System
The Shunkan EA also includes the PFA Exporter module, part of the Portfolio Analyzer (PFA) system — a portfolio analysis toolkit designed for multi-asset, multi-strategy backtesting entirely within the MT5 Strategy Tester, with no external tools required.
The three-step PFA workflow:
- PFA Exporter (built into this EA) — exports backtest positions to a CSV file for any symbol/timeframe configuration.
- PFA Merger (free companion script) — merges position data from multiple CSVs into a single file.
- PFA Simulator (free companion EA) — simulates the combined portfolio in the MT5 Strategy Tester for full portfolio-level analysis.
Both PFA Merger and PFA Simulator are available free of charge in this profile and are compatible with any EA that includes the PFA Exporter module.
Recommended Usage
Instruments: Forex major and minor pairs, indices, commodities — any liquid instrument with defined session behavior. USDJPY, EURJPY and XAUUSD are good options (live setup and set files provided).
Timeframe: M5 recommended for better trailing stop adjustments.
Sessions: Best suited for instruments with well-defined opening ranges (e.g., London open, New York open, Asian session).
Risk per trade: Configure according to your account size and risk tolerance.
Important Notice
Shunkan EA is a rule-based trading tool. It does not guarantee profits or predict future market behavior. Past performance in backtests or demo environments does not guarantee equivalent results in live trading.
Trading involves risk, and you should only trade with capital you can afford to lose. Always validate the EA on a demo account before deploying on a live account.
