GENERAL SETTINGS
Core trading parameters that control how the EA places trades, manages symbols, identifiers, entry conditions, and trade lifecycle behavior across all instruments.
Symbols
A comma-separated list of trading symbols (e.g., EURUSD,GBPUSD) that the EA will monitor and trade simultaneously. In multi-currency mode, the EA scans all listed pairs for entry signals and manages them independently under the same EA instance.
Lot Size
The lot size/volume for the first trade. Before starting any martingale, hedge, grid or compounding. If the EA does not have any feature which can increase the lot size, all trades will be placed with this same lot size.
Stoploss and Takeprofit Calculation Mode (SLTP Mode)
Defines how the EA interprets and calculates the stoploss and takeprofit values. The available modes are:
- Pips – SL and TP are defined in pip values. Use the Stoploss in Pips and TakeProfit in Pips inputs.
- Amount – SL and TP are defined in account currency amounts (e.g., $5 loss / $10 profit). Use StopLoss in Amount and TakeProfit in Amount inputs.
- Percent – SL and TP are defined as a percentage of the account equity. Use StopLoss in Percent and TakeProfit in Percent inputs.
- Group Amount – SL and TP are applied at the group level as a total combined fixed amount across all open trades for the symbol. The EA closes all group trades when the combined P&L threshold is reached.
- Group Percent – Similar to Group Amount, but the threshold is defined as a percentage of account equity rather than a fixed monetary value.
- No Stoploss and Takeprofit – Disables automatic SL and TP. Trades remain open until manually closed or closed by other EA logic such as trailing stop, breakeven, grid, or hedge.
Hide Stoploss and Takeprofit
When set to true, the EA uses a virtual (hidden) stoploss and takeprofit instead of sending actual SL/TP levels to the broker. The EA monitors the price internally and closes the trade when the virtual threshold is hit. This prevents brokers from seeing or hunting your stoploss and takeprofit levels, which can be useful on certain broker types.
Stoploss in Pips
Initial Stoploss for a trade in pips. If passed 0 then no stoploss will be set. Stoploss can be modified by other features inside EA like trailing stoploss, breakeven, martingale, hedge, averaging. Only active when SLTP Mode is set to Pips.
TakeProfit in Pips
Initial Take profit for a trade in pips. If passed 0 then no take profit will be set. Take profit can be modified by other features inside EA like breakeven, martingale, hedge, averaging. Only active when SLTP Mode is set to Pips.
StopLoss in Amount
Defines the maximum loss in account currency per trade. When the trade's floating loss reaches this amount, the EA will close the position. Only active when SLTP Mode is set to Amount. Set to 0 to disable.
TakeProfit in Amount
Defines the target profit in account currency per trade. When the trade's floating profit reaches this amount, the EA will close the position. Only active when SLTP Mode is set to Amount. Set to 0 to disable.
StopLoss in Percent
Defines the stoploss as a percentage of the current account equity. For example, a value of 1 means the trade will be closed if it loses 1% of the account equity. Only active when SLTP Mode is set to Percent. Set to 0 to disable.
TakeProfit in Percent
Defines the takeprofit as a percentage of the current account equity. For example, a value of 2 means the trade will be closed once it gains 2% of account equity in profit. Only active when SLTP Mode is set to Percent. Set to 0 to disable.
Group Stoploss Amount/ Basket Stoploss Amount [Only applicable for Multicurrency Eas]
Sets the combined maximum loss amount across all open trades for the specific symbol group. When the cumulative floating loss of all group trades reaches this amount, the EA will close all those trades simultaneously. Only active when SLTP Mode is set to Group Amount. Set to 0 to disable.
Group Takeprofit Amount/ Basket Takeprofit Amount [Only applicable for Multicurrency Eas]
Sets the combined profit target amount across all open trades for the specific symbol group. When the cumulative floating profit of all group trades reaches this amount, the EA will close all trades in the group together. Only active when SLTP Mode is set to Group Amount. Set to 0 to disable.
Group Stoploss Percent/ Basket Stoploss Percent
Sets the combined stoploss threshold as a percentage of account equity across all open trades in the group. When the group's combined loss hits this equity percentage, all trades in the group are closed. Only active when SLTP Mode is set to Group Percent. Set to 0 to disable.
Group Takeprofit Percent/ Basket Takeprofit Percent
Sets the combined takeprofit threshold as a percentage of account equity across all open trades in the group. When the group's combined profit hits this equity percentage, all trades in the group are closed. Only active when SLTP Mode is set to Group Percent. Set to 0 to disable.
Risk Reward Ratio
This input sets the take profit automatically based on the stoploss value. For example, if the stoploss is 10 pips and the risk reward ratio is 2, the takeprofit will be automatically set to 20 pips. Set to 0 to disable this feature and use the manually specified TakeProfit value instead.
Trade Comment
This input decides the comment for each trade. Comment is by default hidden. It is helpful when you have multiple EAs running and you want to distinguish trade sources (EAs).
Capture Logs
Throughout the application we have logged information which helps in troubleshooting any issue. In case if you face any issue with trade placement or other behavior, turn it on to see the logs inside the Experts tab in MetaTrader terminal.
Conditions Check Mode
Checking all the order/position modification or closure every tick makes an EA very slow in backtesting. This dropdown lets you select whether the EA checks on every tick or only on every new candle of your currently applied timeframe. Use Every Tick for live trading precision and Period Wise for faster backtesting.
Enable Magic Number
This input controls the behavior of the EA, whether it should check conditions for different activities like Trailing Stop, Breakeven, Grid, etc. on a certain magic number. If set to false, it would only manage trades for the current symbol where the EA is applied, regardless of magic number.
Magic Number
It is a unique identifier for the Expert Advisor. When Enable Magic Number is true, the EA checks all conditions only for trades on the current chart symbol that carry this specific magic number. Use a unique value per EA instance to prevent cross-EA interference when running multiple EAs simultaneously.
Trade On New Bar
This input controls the trade placement timing. If set to true, the EA does not constantly check for entry conditions on every tick. It only evaluates entry conditions at the beginning of each new candle for the currently selected timeframe. For example, on a 5-minute chart, it checks at 9:00, 9:05, 9:10, and so on. This reduces false signals caused by intra-bar price noise.
No New Entry If Trade Exists (Single Entry)
When set to true, the EA will not open a new trade if there is already an active position open for the current symbol. This is useful for strategies where only one trade should be live at a time, preventing multiple entries on the same signal or overlapping signals. Set to false to allow multiple simultaneous positions.
Trade Direction
This input controls whether the EA should place only buy trades, only sell trades, or trades in both directions based on signals. Options are Only Long (buys only), Only Short (sells only), or Both Directions (buys and sells based on their respective entry signals).
Delete Pending Order After N Bars
If a pending order is not triggered within N candles from when it was placed, it will be automatically deleted. This prevents stale pending orders from executing during irrelevant market conditions. Set to 0 to disable this feature and let pending orders remain until triggered or manually deleted.
Close After N Candle
It will close a trade after N candles from its opening candle, irrespective of exit criteria, stoploss, or take profit. This is useful when a trade should only be held for a fixed number of bars regardless of outcome. Set to 0 to disable this feature.
Delay Seconds After Signal
When you receive multiple entry signals in close succession, this input helps avoid unnecessary trades opened at very close intervals. It specifies a delay in seconds after a signal before the EA actually places the order. For example, a value of 5 means the EA waits 5 seconds after detecting a signal before entering. Set to 0 for instant execution.
BREAKEVEN SETTINGS
Automatically moves the stoploss to the entry price (or slightly above/below) once the trade has moved a specified number of pips in profit, locking in a no-loss scenario.
Enable Breakeven
This is a Boolean (true/false) input parameter that determines whether the breakeven functionality should be enabled (true) or disabled (false). When enabled, the EA will monitor open trades and move the stoploss to the breakeven level once the activation distance is reached.
Breakeven Activation
This is a numeric input parameter representing the distance in pips from the entry price at which the breakeven functionality will be activated. If the price moves in the trade's favor by this number of pips, the stoploss is automatically moved to the breakeven price (entry price ± extra pips).
Breakeven Extra Pips
This is a numeric input parameter representing the additional number of pips beyond the entry price at which the stop-loss will be set when breakeven is triggered. It helps provide a small buffer to cover trading costs and potential slippage. For example, if extra pips is set to 3, the stoploss is moved to entry price + 3 pips (for buy trades), locking in a small guaranteed profit.
Trailing Stop Settings
Dynamically adjusts the stoploss in the direction of a profitable trade, allowing profits to grow while protecting against sudden reversals.
Enable Trailing Stop:
Turn this on to activate the trailing stop feature. If off, the trailing stop functionality will not be applied to any open trades.
Trailing Activation Distance (Activate):
Set how many pips the price must move in your favor before the trailing stop starts following the price. For example, if entry is 1.1640 and activation is 10 pips, the trailing stop begins once price hits 1.1650 (for a buy trade).
Trail Price By (Trailing Distance):
Defines how many pips behind the current market price the stoploss will trail. Once the price has moved beyond the activation distance, the stoploss is placed this many pips from the current price and continues to follow as the market moves favorably.
Increment By:
Defines how many pips the trailing stop distance increases each time the price moves by the defined trail distance. This allows the trailing stop to progressively widen, giving the trade more room to breathe as it becomes more profitable.
Example Walkthrough:
- You buy at 1.1640, stoploss at 1.1630 (10 pips).
- Trailing stop activates at 1.1650 (price moved 10 pips in your favor).
- Trailing distance set to 20 pips — next check is at 1.1670.
- At 1.1670, stoploss increases by increment (5 pips), so stop is now at 1.1635.
- As the price keeps moving up, for every extra 20 pips, stoploss increases by 5 more pips each time.

News Filter Settings
The News Filter Settings configure the Expert Advisor's behavior for monitoring and responding to scheduled economic news events, allowing users to pause trading and manage open positions during high-volatility news periods. The EA supports filtering by news impact levels and customizable scanning frequencies.
Enable News Filter
- Type: Boolean
- Description: Enables or disables the news filter functionality. If true, the EA monitors news events and applies configured actions. If false, news events are ignored and trading continues uninterrupted.
- Default: false
Trade Minutes (Minutes Before Stop Trading)
- Type: Integer
- Description: Specifies the number of minutes before a scheduled news event to stop opening new trades. This creates a protective buffer period to avoid being caught by pre-news volatility spikes.
- Default: 5
Pause Trading For (Minutes After Resume Trading)
- Type: Integer
- Description: Specifies the number of minutes after the news event during which the EA remains paused before resuming normal trading. This accounts for post-news price settling and prevents entering during continued volatility.
- Default: 60
Enable High Impact
- Type: Boolean
- Description: Enables monitoring and filtering for high-impact news events, which typically cause significant market volatility (e.g., Non-Farm Payrolls, interest rate decisions). When true, EA pauses trading around such events.
- Default: true
Enable Medium Impact
- Type: Boolean
- Description: Enables monitoring and filtering for medium-impact news events, which may cause moderate market movements. Selective enabling allows fine-tuned control over which news severity levels affect the EA's trading.
- Default: true
Enable Low Impact
- Type: Boolean
- Description: Enables monitoring and filtering for low-impact news events. These generally have minimal market impact, so enabling this may significantly reduce trading opportunities. Disable if you prefer to trade through minor news releases.
- Default: true
Scan Frequency
- Type: ENUM_TIMEFRAMES
- Description: Defines how frequently the EA re-scans for upcoming news events. A lower timeframe (e.g., PERIOD_M1) provides more timely detection but uses more resources. Match this to your strategy's timeframe for optimal performance.
- Options: PERIOD_M1 (1 minute), PERIOD_M5 (5 minutes), PERIOD_M15 (15 minutes), etc.
- Default: PERIOD_M1
Data Start Minutes (Data Start From)
- Type: Integer
- Description: Specifies how many minutes into the past the EA looks when initially loading news data. This ensures that if the EA is attached to a chart mid-session, it will still detect recently passed news events and apply the appropriate trading pause if still within the pause window.
- Default: 60
Data End Minutes (Data End To)
- Type: Integer
- Description: Specifies how many minutes into the future the EA fetches news event data. A larger value loads more future news in advance, ensuring the EA is aware of all upcoming events. Typically set to 1440 (24 hours) for full-day coverage.
- Default: 1440 (24 hours)
News Actions Settings
Defines what actions the EA takes when a news event is detected within the configured time window. Actions can be scoped to the specific trading pair on the current chart or applied globally across all open symbols.
Close Highest Losing Trade
- Type: Boolean
- Description: If true, the EA identifies and closes the single trade with the highest floating loss for the specific trading pair before or during the news window. Useful for reducing the most exposed position before volatile news hits.
- Default: true
Close Trades
- Type: Boolean
- Description: If true, closes all open market trades for the specific trading pair (the pair on the current chart) when a news event is detected within the configured time window.
- Default: true
Close Pending Orders
- Type: Boolean
- Description: If true, cancels all pending orders (limit and stop orders) for the specific trading pair during the news event window, preventing accidental order triggers during volatile price moves.
- Default: true
Close Charts
- Type: Boolean
- Description: If true, closes all open chart windows for the specific trading pair during the news event window. This stops any other EAs on those charts from executing. Use with caution if other strategies are active on those charts.
- Default: false
Close All Trades
- Type: Boolean
- Description: If true, closes all open trades across every symbol and all EAs in the terminal during the news event window, regardless of which pair the news belongs to.
- Default: true
Close All Pending Orders
- Type: Boolean
- Description: If true, cancels all pending orders across all symbols in the terminal during the news event window. This is a broad safeguard that clears the entire order book before high-impact events.
- Default: true
Close All Charts
- Type: Boolean
- Description: If true, closes all open chart windows in the MetaTrader terminal during the news event window, effectively shutting down all EAs running on any chart. Use with extreme caution.
- Default: false
Close Terminal
- Type: Boolean
- Description: If true, completely shuts down the MetaTrader terminal during the news event window. This is the most drastic action and will stop all trading activity entirely. Only enable this if you want a complete trading halt during news. Requires terminal restart to resume trading.
- Default: false
MARTINGALE SETTINGS
A loss recovery strategy that increases the lot size after each losing trade, aiming to recover all prior losses with a single winning trade.
⚠ WARNING: Martingale is a loss recovery strategy and must be used in isolation. Do not enable Martingale together with Grid or Hedge strategies simultaneously. Combining loss recovery strategies creates compounding risk exposure, unpredictable lot size escalation, and can result in catastrophic account drawdown or margin call.
Martingale is a kind of loss recovery strategy where when one trade closes at a loss (stoploss hit or closed by the EA), the next trade is opened with a lot size multiplied by the configured multiplier. It repeats this process until a profitable trade occurs, then resets to the initial lot size.
e.g. 0.01 (loss) → 0.02 (loss) → 0.04 (loss) → 0.08 (profit) → 0.01 …
Enable/Disable Martingale
Boolean input parameter that determines whether the Martingale functionality should be enabled (true) or disabled (false). If set to true, the EA will use the Martingale strategy for loss recovery; otherwise, it won't.
Multiplier
Numeric input parameter representing the multiplication factor applied to the lot size after each losing trade. For example, a multiplier of 1.5 means if the current lot is 0.02, the next trade will be 0.03. Higher multipliers recover losses faster but carry much higher risk of large drawdowns.
Multiply After N Repeat
Integer input parameter that specifies how many consecutive losing trades must occur before the multiplier is applied. For example, if set to 3, the lot size is only multiplied after every 3 consecutive losses rather than after each single loss, reducing the rate of escalation.
Max Step
Integer input parameter representing the maximum number of Martingale escalation steps allowed. Once this limit is reached, the EA stops increasing the lot size further, capping the exposure. This is a critical safety parameter to prevent runaway lot escalation.
Adjust Take Profit
Boolean input parameter that determines whether the take profit level should be recalculated and adjusted as the Martingale lot size increases. When true, the EA may reduce the pip distance needed to achieve profit recovery, making it easier to exit all positions at a net gain across the Martingale sequence.
GRID SETTINGS
Places a ladder of buy or sell orders at fixed intervals from the entry price, aiming to profit from repeated price oscillations within a range.
⚠ WARNING: Grid is a loss recovery strategy and must be used in isolation. Do not enable Grid together with Martingale or Hedge strategies simultaneously. Combining multiple loss recovery strategies introduces overlapping lot size escalation, conflicting position management logic, and significantly amplified risk that can rapidly deplete your account balance.
Grid trading places orders at set intervals above and below the current market price, forming a grid of positions. This approach capitalizes on price fluctuations within a predefined range. Traders aim to profit as the market moves, adding positions strategically. Grid trading works best in ranging markets and requires careful risk management.
Enable/Disable Grid
Boolean input parameter that determines whether the Grid functionality should be enabled (true) or disabled (false). If set to true, the EA will use the Grid strategy for position management and loss recovery; otherwise, it won't.
Continue and Reverse Grid on Signal Change
When set to true, if the EA detects a new signal in the opposite direction while a grid sequence is active, it will reverse the grid direction rather than closing the current grid. This allows the grid to dynamically follow trend reversals. When false, the grid continues in its original direction regardless of new opposing signals.
Step Distance
Integer input parameter representing the distance in pips between each grid level. It defines how far apart consecutive grid orders are placed. A smaller step distance means more frequent order placement in a tighter price range, while a larger distance spaces orders further apart.
Lot Increase Mode
Enumeration that determines how the lot size grows at each new grid level. Multiply — each new level's lot is multiplied by the increase factor (e.g., 0.01 → 0.02 → 0.04). Increment — each new level's lot is increased by a fixed amount (e.g., 0.01 → 0.03 → 0.05 with factor 2).
Execution Mode
Enumeration that specifies how grid orders are placed. Market — when price reaches a grid level, a market order is placed immediately (slight slippage possible in volatile conditions). Pending — the next level's pending order (buy limit / sell limit) is pre-placed as soon as the previous grid order activates. Pending grid orders are automatically deleted when all positions are closed.
Increase Factor
Numeric parameter representing the value by which lot size grows at each new grid level. In Multiply mode with factor 1.5 and initial lot 0.01: 0.01 → 0.015 → 0.022... In Increment mode with factor 0.02 and initial lot 0.01: 0.01 → 0.03 → 0.05...
Distance Multiplier
Numeric parameter representing a multiplier applied to the step distance at each new grid level. A value of 1 keeps all grid levels equidistant. A value greater than 1 progressively widens the distance between consecutive grid levels, suitable for volatile markets where a fixed step can trigger too frequently.
Increase After N Repeat (Grid Repeat)
Integer input parameter that specifies how many grid steps must occur before the lot increase factor is applied. For example, if set to 2, the lot size only escalates every 2 grid levels rather than at every single level, reducing the rate of lot size growth.
Max Grid Step
Integer input parameter representing the maximum number of grid orders that can be opened in a single grid sequence. Once this limit is reached, the configured Max Grid Action is triggered to prevent unlimited exposure.
Action When Max Grid Is Reached
Enumeration defining what the EA does when the maximum grid step count is hit. Do Nothing — the EA stops adding new grid levels but keeps existing positions open. Close All — the EA immediately closes all open positions in the grid sequence and resets to the initial state.
Grid Activation Mode
Enumeration that determines when grid levels are triggered. On Loss — a new grid order is placed when the previous position is in loss (price moved against it by the step distance). This is the classic loss recovery grid. On Profit — a new grid order is placed when the previous position is in profit, scaling into a winning trade (trend-following grid).
SL and TP Mode
Enumeration specifying how stoploss and takeprofit are managed for the entire grid. Fixed Amount — the grid closes when combined P&L reaches a fixed currency amount. Equity Percent — the grid closes when combined P&L reaches a defined percentage of account equity. Cost Average — SL/TP is calculated from the average entry price of all grid positions, weighted by lot size or equally by order count.
Grid Fixed Stoploss (Fixed Mode Only)
When SL and TP Mode is set to Fixed Amount, the EA closes all grid positions when their combined floating loss reaches this currency amount. Set to 0 to disable the fixed stoploss for the grid group.
Grid Fixed Takeprofit (Fixed Mode Only)
When SL and TP Mode is set to Fixed Amount, the EA closes all grid positions when their combined floating profit reaches this currency amount. Set to 0 to disable the fixed takeprofit for the grid group.
Grid Equity Pct Stoploss
When SL and TP Mode is set to Equity Percent, the EA closes all grid positions when the combined floating loss equals this percentage of current account equity. For example, 10 means close all grid trades if combined loss reaches 10% of equity. Set to 0 to disable.
Grid Equity Pct Takeprofit
When SL and TP Mode is set to Equity Percent, the EA closes all grid positions when combined floating profit equals this percentage of account equity. For example, 2 means take profit when grid profit reaches 2% of equity. Set to 0 to disable.
Average Mode
Enumeration determining how the average entry price is calculated for the cost average SL/TP mode. Lot-wise Average — calculates as Sum(Price × Lot) / Sum(Lots), giving more weight to larger positions. Price-wise Average — calculates as Sum(Price) / Sum(Orders), treating all orders equally regardless of lot size.
Avg Stoploss (Cost Average Mode Only)
When SL and TP Mode is set to Cost Average, this defines the stoploss distance in pips from the calculated average entry price. All grid positions are closed if price moves this many pips against the average. Set to 0 to disable the average stoploss.
Avg TakeProfit (Cost Average Mode Only)
When SL and TP Mode is set to Cost Average, this defines the takeprofit distance in pips from the calculated average entry price. All grid positions are closed when price moves this many pips in profit from the average. Set to 0 to disable the average takeprofit.
HEDGE SETTINGS
Opens a counter-position in the opposite direction when a trade moves against expectations, using progressively larger lots to recover losses if the trend reverses.
⚠ WARNING: Hedge is a loss recovery strategy and must be used in isolation. Do not enable Hedge together with Martingale or Grid strategies simultaneously. Running multiple loss recovery strategies concurrently creates conflicting trade management logic, compounding lot escalation, and dramatically increased drawdown risk that can lead to rapid account depletion.
Hedging involves opening a position in the opposite direction to offset potential losses in an existing trade. When price moves against the original trade by the hedge distance, a new trade is opened in the opposite direction with an increased lot size. If the market then reverses, the hedge position recovers the loss of the original trade and generates a net profit.
Enable/Disable Hedge
Boolean input parameter that determines whether the Hedge functionality should be enabled (true) or disabled (false). If set to true, the EA will use the Hedge strategy; otherwise, it won't.
Hedge Distance
Integer input parameter representing the distance in pips that price must move against the original trade before a hedge position is opened. A smaller distance triggers hedging more quickly, while a larger distance gives the original trade more room before the counter-position is placed.
Lot Increase Mode
Enumeration that determines how the lot size grows at each new hedge level. Multiply — each new hedge level's lot is multiplied by the increase factor. Increment — each new hedge level adds a fixed lot increment. The multiplied approach recovers losses faster but with higher risk.
Increase Factor
Numeric parameter representing the factor by which lot size grows at each new hedge level. In Multiply mode with factor 2 and initial lot 0.01: the hedge sequence would be 0.02, 0.04, 0.08... In Increment mode with factor 0.02 and initial lot 0.01: 0.03, 0.05, 0.07...
Max Step
Integer input parameter representing the maximum number of hedge levels that can be opened in a single sequence. This is a critical safety cap to prevent unlimited position stacking. Once reached, the configured Max Hedge Action is triggered.
Action When Max Hedge Is Reached
Enumeration defining what the EA does when the maximum hedge step count is hit. Do Nothing — the EA stops adding new hedge levels but keeps all existing hedge positions open. Close All — the EA immediately closes all hedge positions and resets the hedge sequence.
Execution Mode
Enumeration that specifies how hedge orders are placed. Market — hedge orders are placed as market orders immediately when the hedge distance is reached. Pending — a pending stop order at the hedge distance is pre-placed so it triggers automatically when price reaches the hedge level.
Hedge SL and TP Mode
Enumeration specifying how the combined stoploss and takeprofit are managed for the entire hedge sequence. Fixed Amount — the entire hedge group closes when combined P&L reaches a fixed currency threshold. Equity Percent — the entire hedge group closes when combined P&L reaches a defined percentage of account equity.
Hedge Fixed Stoploss Amount
When Hedge SL and TP Mode is set to Fixed Amount, the EA closes all hedge positions when their combined floating loss reaches this currency amount. Set to 0 to disable the fixed stoploss for the hedge group.
Hedge Fixed Takeprofit Amount
When Hedge SL and TP Mode is set to Fixed Amount, the EA closes all hedge positions when their combined floating profit reaches this currency amount. Set to 0 to disable the fixed takeprofit for the hedge group.
Hedge Equity Pct Stoploss
When Hedge SL and TP Mode is set to Equity Percent, the EA closes all hedge positions when the combined floating loss equals this percentage of current account equity. Set to 0 to disable.
Hedge Equity Pct Takeprofit
When Hedge SL and TP Mode is set to Equity Percent, the EA closes all hedge positions when combined floating profit equals this percentage of account equity. Set to 0 to disable.
Risk Settings
Automatically calculates the optimal trade lot size based on a defined risk percentage of your account balance, ensuring consistent and proportional risk per trade.
The Risk Settings configure the EA's risk management functionality, allowing users to control the risk per trade dynamically. When enabled, the EA calculates the exact lot size needed so that if the stoploss is hit, the loss equals the configured percentage of the account balance.
Enable Risk to Lot
- Type: Boolean
- Description: Determines whether risk-based lot sizing is enabled. If true, the EA automatically calculates the lot size based on the specified risk percentage and configured stoploss. If false, a fixed lot size (LOTS) is used for all trades regardless of stoploss distance.
- Default: false
Risk Percent
- Type: Numeric (Double)
- Description: Specifies the percentage of the account balance to risk per trade when Enable Risk to Lot is active. For example, a value of 1.5 means the EA risks 1.5% of the account balance on each trade. The lot size is dynamically calculated so that the stoploss amount equals this percentage of the balance.
- Default: 1.5
POSITION SIZING SETTINGS
Gradually increases the trade lot size as the account balance grows, enabling proportional compounding of position sizes as the account scales up.
Enable Position Sizing
Boolean input parameter that determines whether the Position Sizing functionality should be enabled (true) or disabled (false). When enabled, the EA increases the base lot size incrementally as the account balance crosses defined milestones, allowing the strategy to compound position sizes with account growth.
Increase Lot
Numeric input parameter representing the lot size increment to add each time the account balance crosses the defined balance milestone. For example, if this is set to 0.01, the lot size increases by 0.01 every time the account balance grows by the specified Account Balance Value amount.
Increase Lot On Account Balance
Numeric input parameter representing the account balance increment at which the lot size is increased. For example, if set to 100, every time the account balance grows by $100 above the initial balance, the lot size increases by the Increase Lot amount. This creates a proportional and gradual compounding effect tied directly to account performance.
ALERT SETTINGS
Controls how and where the EA sends notifications when a new trade signal is detected or an order is placed.
Enable All Alerts
Master switch for the entire alert system. When set to true, all alert types (on-screen alerts, push notifications, and emails) are enabled with a single toggle. When false, no alerts are sent regardless of the individual alert settings below.
Allow Alert
Boolean input parameter that determines whether the EA is allowed to trigger on-screen pop-up alerts in the MetaTrader terminal when a new entry signal or trade event occurs. If set to true, an alert dialog box will appear; otherwise, it won't.
Allow Notification
Boolean input parameter that determines whether the EA is allowed to send push notifications to connected mobile devices (MetaTrader mobile app) when a new entry signal or trade event occurs. Requires push notifications to be configured in your MetaTrader settings. If set to true, mobile push alerts are sent; otherwise, they won't be.
Allow Email
Boolean input parameter that determines whether the EA is allowed to send email notifications when a new entry signal or trade event occurs. Requires email settings to be configured in MetaTrader Tools → Options → Email. If set to true, emails are sent on new signals; otherwise, they won't be.
DISPLAY SETTINGS
Customizes the appearance, size, and color scheme of the on-chart dashboard panel that displays real-time EA trade statistics.
Show Dashboard
Boolean input parameter that controls whether the on-chart information panel (dashboard) is displayed. When set to true, the EA renders a customizable overlay panel on the chart showing real-time trade statistics, account information, and EA status. Set to false to hide the dashboard entirely.
Show Dashboard During Backtesting
Boolean input parameter that controls whether the dashboard is rendered during Strategy Tester backtesting runs. Enabling this during backtesting significantly slows down the test speed because the chart UI is updated on every tick. Disable this (false) when running performance-critical backtests and only enable it when you need to visually inspect EA behavior during testing.
Panel Width Pct
Double input parameter representing the width of the dashboard panel as a percentage of the total chart window width. For example, a value of 25 means the panel occupies 25% of the chart's horizontal space. Adjust this to fit more or less information horizontally without overlapping your chart.
Panel Height Pct
Double input parameter representing the height of the dashboard panel as a percentage of the total chart window height. A value of 40 means the panel uses 40% of the vertical chart space. Increase this value if the panel content is being cut off.
Text Size Pct
Double input parameter representing a scaling factor for all text rendered inside the panel. Larger values produce bigger fonts for easier readability on high-resolution or large monitors. Smaller values allow more information to fit in the same panel space.
Title Color
Color input parameter defining the color of the title text within the panel. It sets the visual appearance of the section headings, making them easily distinguishable from labels and values. Default is Yellow.
Label Color
Color input parameter defining the color of descriptive labels within the panel (e.g., "Symbol:", "Profit:", "Trades:"). Helps visually differentiate label text from the dynamic data values displayed next to them. Default is Sky Blue.
Value Color
Color input parameter defining the color of numerical values and dynamic data displayed within the panel (e.g., account balance, open trade count, current profit). Provides clear visual contrast against labels for quick at-a-glance readability. Default is White.
TRADE TIME SETTINGS
Restricts the EA to trade only during specified market sessions (Asian, European, American, or custom), preventing trades outside your preferred time windows.
Allows users to customize trading activity based on specified time periods. Traders can define distinct sessions such as Asian, European, American, and an additional custom session. Each session has designated start and end times in broker time. If more than one session is enabled, the EA will allow trading if the current time falls within any of those enabled sessions.
Enable Time Filter
Master switch for the time-based trading filter. If set to false, the EA will trade 24/7 without any time restrictions. If set to true, the EA will only open new trades during the configured enabled sessions and respect the configured start/end times.
Enable Asian Session / Start Time Asian / End Time Asian
Boolean toggle to enable or disable trading during the Asian forex session, along with the session's start and end times in broker time. The Asian session typically covers the Tokyo and Sydney markets. Times are entered as strings in "HH:MM" format (e.g., "00:00" to "08:00").
Enable European Session / Start Time European / End Time European
Boolean toggle to enable or disable trading during the European (London) forex session, along with its start and end times in broker time. The European session is typically the highest-volume period and covers major pairs most actively. Times are entered as "HH:MM" format (e.g., "07:00" to "16:00").
Enable American Session / Start Time American / End Time American
Boolean toggle to enable or disable trading during the American (New York) forex session, along with its start and end times in broker time. The American session overlaps with the European session, creating the most volatile and high-volume window of the trading day. Times are "HH:MM" format.
Enable Other Session / Start Time / End Time
Boolean toggle and custom time range for a user-defined trading session that does not fit the standard three sessions above. Use this for broker-specific trading hours, overnight sessions, or any custom time window your strategy requires. Times are entered in "HH:MM" format in broker time.
Close All If Trading Time Not Valid
This input decides whether to close all open trades when the current time falls outside all configured enabled sessions. If set to true, when the current broker time crosses outside the session window, all open trades are immediately closed. If false, existing trades are left open and only new trade entry is prevented.
TRADE DAYS SETTINGS
Restricts the EA to trade only on specific days of the week, allowing you to avoid trading on historically weak or volatile days for your strategy.
The Trade Days Settings feature enables users to selectively enable or disable trading on each individual day of the week, offering flexibility to align the EA's activity with preferred trading days or market conditions.
Enable Day Filter
Master switch for the day-of-week trading filter. If set to false, the EA ignores day restrictions and trades on all days. If set to true, the EA only opens new trades on the days that are individually enabled below.
Monday Trade, Tuesday Trade, Wednesday Trade, Thursday Trade, Friday Trade
Boolean input parameters that individually determine whether trading is allowed on each weekday. Set any day to false to prevent the EA from opening new trades on that day. The EA will still manage existing open positions on disabled days unless Close All is also enabled.
Saturday Trade and Sunday Trade
Boolean input parameters that control weekend trading. Most forex brokers do not support weekend trading, so these are set to false by default. Enable only if your broker supports weekend trading for specific instruments.
Close All If Trading Day Not Valid
This input decides whether to close all open trades when the current day is not a configured trading day. If set to true, when the day changes to a disabled trading day, all open positions are immediately closed. For example, if Friday is set as a no-trade day, all trades will be closed when Friday begins. If false, existing trades remain open and only new entries are blocked.
SAFEGUARD SETTINGS
Comprehensive risk protection controls including spread filters, drawdown limits, daily/weekly/monthly stop-loss targets, and deposit load caps to protect your account capital.
Max Spread Allowed (Points)
Defines the maximum allowable spread in points before the EA is permitted to open a new trade. If the current market spread exceeds this value at the moment of signal, the EA will skip the entry and wait for the spread to narrow. This protects against entering during high-spread periods such as news events or market open. Set to 0 to disable spread filtering.
Max Slippage Allowed (Points)
Integer input parameter representing the maximum acceptable slippage in points for trade execution. If the broker cannot fill the order within this slippage tolerance, the order may be rejected. Set to 0 to allow any slippage (disable slippage filtering).
Max Drawdown Percent
Double input parameter representing the maximum acceptable drawdown as a percentage of the account balance. If the account's current drawdown (peak to current equity) exceeds this percentage, the EA closes all open positions and halts new trade entries to protect remaining capital. Set to 0 to disable.
Max Drawdown Amount
Double input parameter representing the maximum acceptable drawdown as an absolute monetary amount. When the account equity has dropped by this amount from its peak, the EA closes all positions and pauses trading. This complements the percentage-based drawdown limit with a hard currency cap. Set to 0 to disable.
Max Deposit Load
Double input parameter representing the maximum percentage of the account balance that can be tied up as margin across all open trades simultaneously. For example, a value of 50 means the EA will not open new trades if the current used margin already exceeds 50% of the account balance. This prevents over-leveraging. Set to 0 to disable.
Maximum Trades Per Day
Integer input parameter representing the maximum number of new trades the EA is allowed to open within a single calendar day. Once this limit is reached, no new trades are opened until the next trading day begins. Useful for controlling overtrading or limiting strategy exposure on high-signal days. Set to 0 to disable.
Daily Stop
Double input parameter representing the maximum cumulative loss allowed within a single trading day. If the combined realized and floating losses for the day reach this amount, the EA closes all open positions and stops trading for the remainder of the day. Resets at the start of each new trading day. Set to 0 to disable.
Daily Target
Double input parameter representing the profit target for a single trading day. Once the cumulative realized and floating profit for the day reaches this amount, the EA closes all open positions and stops opening new trades for the remainder of the day. Resets at the start of each new trading day. Set to 0 to disable.
Weekly Stop
Double input parameter representing the maximum cumulative loss allowed within a trading week (Monday to Friday). If the week's combined losses reach this amount, the EA closes all positions and halts trading until the following Monday. Set to 0 to disable.
Weekly Target
Double input parameter representing the profit target for a trading week. Once the week's combined profits reach this amount, the EA closes all positions and stops trading until the following Monday, locking in the weekly gain. Set to 0 to disable.
Monthly Stop
Double input parameter representing the maximum cumulative loss allowed within a calendar month. If monthly losses reach this amount, the EA closes all positions and suspends trading until the start of the next calendar month. Useful for enforcing strict monthly drawdown rules. Set to 0 to disable.
Monthly Target
Double input parameter representing the profit target for a calendar month. Once monthly profits hit this amount, the EA closes all positions and stops trading for the rest of the month, securing the monthly return. Set to 0 to disable.
For trend filter settings check this documentation Trend Filters Settings Input Guide MT4/MT5
Check all my products: https://www.mql5.com/en/users/biswait50/seller
Contact me for support: https://www.mql5.com/en/users/biswait50


