Market Flow Pro MT5
- Experts
- 버전: 1.1
- 활성화: 5
MarketFlow Pro EA for MetaTrader 5
Overview
MarketFlow Pro is an automated Expert Advisor for MetaTrader 5. It evaluates directional price flow together with market structure confirmation and opens Buy or Sell positions only after a completed candle confirms a valid signal.
The EA includes fixed-lot execution, optional position averaging, basket-level exits, fixed Stop Loss and Take Profit, opposite-signal exits, profit-locking trailing stop, spread protection, weekday controls, chart visualization, and a compact P/L dashboard.
Download Set file: https://drive.google.com/file/d/1LtfU5gvJ2bEOANzgvUn1EYh4QXT-qCRK/view?usp=sharing
MarketFlow Pro is a standalone Expert Advisor. It does not require an external indicator, DLL, WebRequest, or additional file.
Main Features
- Automated Buy and Sell execution from confirmed closed-bar signals.
- Optional dual-confirmation entry filter.
- Closed-candle processing designed to prevent signal repainting after confirmation.
- Fixed initial trading volume.
- Four averaging modes: Off, Price Distance, New Signal, or Both.
- Optional progressive volume multiplier for averaging entries.
- Maximum position-layer limit for each direction.
- Basket Take Profit and Stop Loss calculated from the weighted average entry price.
- Fixed Stop Loss and Take Profit for individual positions.
- Optional exit after a confirmed opposite signal.
- Profit-locking trailing Stop Loss.
- Maximum spread filter and execution deviation control.
- Individual weekday entry controls.
- Support for hedging and netting account modes.
- Built-in strategy lines and Buy/Sell labels.
- Compact P/L dashboard with automatic layout adjustment.
- Broker-aware volume, tick size, stop distance, and margin checks.
How It Works
The EA calculates a directional flow state and a separate market structure state. With the confirmation filter enabled, a new position is opened only when both states support the same direction. Signals are evaluated from completed candles.
When a Buy signal is confirmed, the EA can open a Buy position. When a Sell signal is confirmed, it can open a Sell position. Existing positions are then managed according to the selected Stop Loss, Take Profit, basket target, opposite-signal, and trailing settings.
The calculation uses the symbol and timeframe of the chart where the EA is attached. Changing the chart timeframe causes the EA to recalculate using the newly selected timeframe.
Quick Setup
- Attach MarketFlow Pro EA to the required chart.
- Select the symbol and timeframe before attaching the EA.
- Enable Algo Trading in MetaTrader 5.
- Start with the default settings in the Strategy Tester.
- Adjust volume, spread limit, exits, and averaging settings for the symbol and broker conditions.
- Use a unique Magic Number when running multiple copies of the EA.
Important: The default settings are a starting configuration and are not guaranteed to be suitable for every symbol, timeframe, broker, or account size.
Entry Signal Settings
| Parameter | Default | Description |
|---|---|---|
| Require both directional confirmations | true | Opens a trade only when the flow and structure states agree. |
| Price movement measurement period | 10 | Number of bars used for the volatility calculation. |
| Direction sensitivity | 3.0 | Higher values generally produce fewer direction changes. |
| Standard MT5 volatility calculation | true | Uses the native MT5 volatility method. When disabled, a simple average calculation is used. |
| Main direction sensitivity | 20 | Controls the slower market structure calculation. |
| Short direction sensitivity | 5 | Controls the faster internal structure calculation. |
| Historical bars for signal calculation | 220 | Number of previous bars processed by the signal engine. |
Entry Rules
| Parameter | Default | Description |
|---|---|---|
| Allow new positions | true | Master switch for new initial and averaging entries. Existing positions continue to be managed when disabled. |
| First position volume | 0.01 | Fixed volume for the first position. It is adjusted to the broker's valid volume step. |
| Do not hold Buy and Sell together | true | Prevents one direction from opening while an opposite EA position remains open. |
Averaging Settings
Averaging modes:
- Off: only the initial position is used for each direction.
- Price Distance: another position is added after price moves against the latest entry by the configured number of points.
- New Signal: another position is added when a new confirmed signal appears in the same direction.
- Both: a position can be added when either the distance condition or a new same-direction signal is confirmed.
| Parameter | Default | Description |
|---|---|---|
| Averaging mode | Price Distance | Selects how additional positions are triggered. |
| Maximum position layers | 3 | Limits the total initial and averaging layers in one direction. |
| Averaging distance | 500 points | Adverse distance required from the latest entry before adding a position. |
| Increase averaging volume | false | Enables progressive volume sizing for additional positions. |
| Volume multiplier | 1.5 | Multiplies the volume of each following averaging layer. |
Risk note: Averaging and progressive volume sizing increase exposure. Test these settings with the intended account size and broker specifications before use.
Basket Targets
Basket targets become active when at least two position layers exist in the same direction.
| Parameter | Default | Description |
|---|---|---|
| Basket Take Profit | true | Applies one TP level based on the weighted average entry price. |
| Basket TP distance | 300 points | Target distance from the weighted average entry price. |
| Basket Stop Loss | false | Applies one SL level based on the weighted average entry price. |
| Basket SL distance | 800 points | Loss distance from the weighted average entry price. |
When basket Take Profit is active, it replaces individual TP levels after the second layer is opened. A trailing SL that has already locked profit is not moved backward by the basket Stop Loss.
Individual Position Exits
| Parameter | Default | Description |
|---|---|---|
| Fixed Stop Loss | true | Places an SL when each position is opened. |
| Stop Loss distance | 800 points | Distance from the market price used for the initial SL. |
| Fixed Take Profit | false | Places a TP when each position is opened. |
| Take Profit distance | 1200 points | Distance from the market price used for the individual TP. |
| Exit on opposite signal | false | Closes positions after a confirmed signal in the opposite direction. |
The EA observes the symbol's minimum stop distance and tick size. A broker may therefore place the effective stop slightly farther away when the requested distance is not valid for that symbol.
Profit Trailing (SL+)
The trailing function moves Stop Loss into profit after the position reaches the configured minimum profit. It does not intentionally trail a position while the proposed SL remains on the loss side of the entry price.
| Parameter | Default | Description |
|---|---|---|
| Enable profit trailing | true | Activates the profit-locking trailing SL. |
| Trailing start | 500 points | Minimum open profit before trailing can start. |
| Trailing distance | 300 points | Distance maintained behind the current market price. |
| Trailing step | 50 points | Minimum SL improvement required for another modification. |
| Create SL when initial SL is disabled | true | Allows trailing to create a new SL even if fixed SL is disabled. |
Entry Protection and Schedule
| Parameter | Default | Description |
|---|---|---|
| Maximum spread | 80 points | Blocks new entries when the current spread is above this value. |
| Evaluate once per new candle | true | Processes the closed-bar signal once when a new bar begins. |
| Monday to Friday | true | New positions are allowed on these days. |
| Saturday and Sunday | false | New positions are disabled by default. |
| Execution deviation | 30 points | Maximum permitted order execution deviation. |
Weekday and spread filters control new entries only. Existing positions continue to be managed through Stop Loss, Take Profit, basket targets, and trailing logic.
Chart and Dashboard
| Parameter | Default | Description |
|---|---|---|
| Apply built-in chart theme | true | Uses a white chart with green bullish candles and red bearish candles. |
| Show strategy visuals | true | Displays direction lines and confirmed Buy/Sell labels directly from the EA. |
| Show P/L dashboard | true | Displays floating P/L, Buy/Sell position count, total volume, spread, and EA status. |
The dashboard includes positions for the current symbol and configured Magic Number. It does not combine unrelated manual trades or positions opened by another Magic Number.
Important Behavior
- Signals are confirmed using completed candles.
- A confirmed historical Buy/Sell signal is not changed into the opposite signal afterward.
- New entries are subject to signal, spread, weekday, direction, volume, and margin checks.
- Turning off new entries does not stop management of positions that are already open.
- Averaging uses points, not account currency or percentage.
- Basket targets use the weighted average entry price, not a nominal money target.
- On a netting account, multiple entries are combined into one net position.
- On a hedging account, each entry can remain as a separate position.
Common Reasons for No New Trade
- No confirmed closed-bar signal is present.
- The dual-confirmation filter is waiting for both directions to agree.
- Current spread is above the configured maximum.
- Trading is disabled for the current weekday.
- Algo Trading is disabled in MetaTrader 5.
- The symbol does not currently allow market orders.
- Available margin is insufficient for the requested volume.
- An opposite position is open while one-direction mode is enabled.
- The maximum number of averaging layers has been reached.
Testing Recommendations
- Use the MetaTrader 5 Strategy Tester before running the EA on a live account.
- Test with the same symbol specification, spread, deposit currency, leverage, and account mode intended for use.
- Use the Every tick based on real ticks model when suitable historical data is available.
- Review maximum drawdown, margin usage, position exposure, and the effect of averaging settings.
- Forward-test on a demo account before considering live deployment.
- Keep MetaTrader 5 and the EA version updated.
Risk Notice
Trading involves risk. MarketFlow Pro does not guarantee profit or prevent losses. Historical tests and previous market behavior do not predict future results. Averaging and progressive volume sizing can increase drawdown and margin use. Users are responsible for selecting suitable settings, volume, leverage, broker conditions, and account capital.
Product Information
- Platform: MetaTrader 5
- Product type: Expert Advisor
- Current version: 1.01
- External indicators: Not required
- DLL usage: No
- WebRequest usage: No
- Account modes: Hedging and netting
- Signal evaluation: Closed candle
