Your trading style determines the recommended timeframe, target ranges, and overall pace of your EA.
⚡
Scalping
Quick trades capturing small price movements.
TimeframeM1M5M15
DurationSeconds ~ Minutes
📊
Day Trading
Intraday positions closed before market close.
TimeframeM15M30H1
DurationMinutes ~ Hours
🌊
Swing Trading
Multi-day positions riding larger market moves.
TimeframeH4D1W1
DurationDays ~ Weeks
Recommended Settings for —
Timeframe
—
TP Range
—
SL Range
—
Lot Size
—
These are recommended defaults. You can customize all values in later steps.
Select Your Strategy Type
Your strategy type determines how indicators are used. The same indicator behaves differently depending on whether you're following trends or fading them.
Step 2: Trading Style
⚡Scalping
📈
Trend Following
Trade in the direction of the market trend.
KeyMA, MACD, ADX
🔄
Mean Reversion
Trade against extreme moves at overbought/oversold.
KeyRSI, Stoch, BB
💥
Breakout
Enter when price breaks key levels.
KeyBB, Fractals, Range
🔲
Grid
Place orders at regular intervals.
KeyPrice, ATR
🔌 Signal Indicator Setup
Configure your external signal indicator and set entry filters to avoid bad trades.
📡 Signal Indicator
Indicator File Name (without .ex5)
💡 Place the .ex5 file in MQL5/Indicators/ (or a subfolder). Use SubFolder\FileName if in a subfolder.
Buy Buffer Index
Sell Buffer Index
Detection Mode
Buffer Offset (bars back)
Buy Signal Value
Sell Signal Value
Buy Object Name Prefix
Sell Object Name Prefix
💡 The EA will detect chart objects whose names start with the given prefix on the current bar.
⚠️ Enter indicator input parameters in order. Values only — no names needed.
Leave blank to use the indicator's default values.
Up to 8 parameters
🚫 Entry FilterSkip entry even when a signal fires — all optional
Define Entry Conditions
Build your entry logic using Entry Patterns. Each pattern is a set of conditions that must all be met. The EA enters when any one pattern is fully satisfied.
Strategy
⚡Scalping→📈Trend Following
Recommended indicators are marked with ★. Custom-built indicators (RCI, GMMA, Heikin Ashi) are marked with 🌟.
Position Management
Configure how positions are opened and sized. Choose your position mode and lot calculation method.
Strategy
⚡Scalping→📈Trend Following
Trade Direction
⬆️⬇️
Both
Trade both buy and sell signals.
⬆️
Buy Only
Only take buy (long) positions.
⬇️
Sell Only
Only take sell (short) positions.
Position Mode
1️⃣
Single Position
One position at a time per direction. New signals are ignored while a position is open. Simplest and most common mode.
📊
Multiple Positions
Open additional positions based on rules. Choose from averaging, pyramiding, or advanced lot management strategies.
SingleSingle Position Mode
Only one position is open at a time in each direction. When entry conditions are met while a position is already open, the new signal is ignored. This is the simplest and most straightforward mode.
Multiple Position Direction
📉
Averaging (Against Loss)
Add positions when price moves against you. Aims to lower the average entry price for recovery when price reverses.
📈
Pyramiding (With Profit)
Add positions when price moves in your favor. Increases exposure as the trend continues in the profitable direction.
Lot Management Method
📐
Martingale
Each additional position uses a fixed multiplier on the previous lot size. E.g., 0.01 → 0.02 → 0.04 at 2.0x.
🎲
Monte Carlo
Lot size varies within a defined range based on a random factor. Adds unpredictability to the averaging sequence.
MartingaleParameters
Lot Management Method
📏
Standard
Each additional position uses the same lot size as the initial entry. Consistent exposure increase.
🚀
Parlay (Reverse Martingale)
Each additional position increases lot size by a multiplier. Aggressively scales into winning trades.
StandardParameters
Lot Sizing Method
💰
Fixed Lot
Always trade the same lot size regardless of account balance.
📊
Balance Percentage
Risk a fixed percentage of account balance per trade. Lot size adjusts automatically.
⚙️
Balance-Based Auto
Increase lot size as balance grows. E.g., 0.01 lot per $1,000 balance.
FixedParameters
Exit Conditions & Options
Define exit rules and configure optional addon features like security, notifications, and execution monitoring.
Strategy
⚡Scalping→📈Trend Following
TPTake Profit
TP Type
TP Pips
ATR Period
ATR Multiplier
SLStop Loss
SL Type
SL Pips
ATR Period
ATR Multiplier
Lookback Bars
Offset (pips)
TSTrailing Stop
Disabled
Trail Type
Trail Distance (pips)
Activation (pips in profit)
Step (pips)
🎯Exit Logic (Condition-Based)
Disabled
Close open positions when these conditions are met. Works alongside TP/SL — whichever triggers first.
🟢 Close Buy When:
🔴 Close Sell When:
Close on Opposite Entry Signal
Close Buy when Sell signal fires, and vice versa
+Additional Exit Options
Break-Even Stop
Move SL to entry price after reaching specified profit
Time-Based Exit
Close position after specified duration
Partial Close
Close a percentage at TP1, trail the rest
Optional Addons
🔒Security & Licensing
Symbol Restriction
Only allow EA to trade on the specified symbol
Account Authentication
Restrict EA to specific account numbers
Expiry Date
EA stops trading after the specified date
Account Type Restriction
Limit to Demo, Real, or Both accounts
🔔Notifications
Email Notification
Send email on trade open/close (requires MT5 mail settings)
Push Notification
Send to MT5 mobile app
Discord Webhook
Send trade info to Discord channel
Daily Report
Daily summary: trades, P/L, balance
📅Economic Calendar Filter
Enable News Filter
Pause trading around economic news events
External API requires Allow WebRequest in MT5 settings. Add the API URL to the allowed list in Tools → Options → Expert Advisors.
Impact Level to Filter
Filter Timing
Stop Entry Before Event
minutes
Resume Entry After Event
minutes
Actions During News Window
Filter by Currency (only react to news for these currencies)
Review all parameters before generating your MQL5 Expert Advisor. You can customize parameter names and default values for the Strategy Tester.
Strategy
⚡Scalping→📈Trend Following
EAExpert Advisor Name
EA Name
Magic Number
ParamsInput Parameters
These parameters will be exposed as input variables in MQL5.
Configure your strategy to see parameters here.
LogicStrategy Logic Summary
Configure your strategy to see a summary here.
After generating: Save the .mq5 file to your MT5 MQL5/Experts/ folder → Compile in MetaEditor → Run backtest in Strategy Tester → Export the HTM report → Analyze with EA Analyzer Pro.
MQL5Generated Code
// Click "Generate MQL5 Code" to generate your Expert Advisor code.
// Configure all steps first, then generate here.