Full Troubleshooting for all EA ,Indicators and Utilities in Tradingbotmaker – Buying and selling Methods – 5 March 2026


Full Troubleshooting & Consumer Information

1. EXPERT ADVISORS — TROUBLESHOOTING

Trades Not Opening

Q: The EA is operating however no trades are positioned. What ought to I verify?

  • Single Entry is ON: If SINGLEENTRY = true, the EA won’t open a brand new commerce whereas one already exists for that image with the identical magic quantity. Disable it or shut the present commerce first.
  • Commerce Course restricted: TRADEDIRECTION could also be set to LONGONLY or SHORTONLY, blocking one aspect fully.
  • Dashboard exhibits EA Stopped: Examine the EADISABLEREASON area on the dashboard — it tells you precisely why (unfold too excessive, drawdown hit, information filter, time filter, and so on.).
  • Magic Quantity mismatch: If ENABLEMAGICNUMBER = true, the EA solely counts trades opened with its assigned magic quantity. Manually positioned trades or different EA trades are invisible to it.
  • Disable commerce after account change: Re-attaching the EA or switching accounts resets the EAACTIVE flag. Take away and re-attach the EA.
  • Dealer restrictions / inadequate margin: Examine the Consultants and Journal tab in MetaTrader. Error 4756 means buying and selling shouldn’t be allowed by the dealer or account sort.
  • Max Trades Per Day reached: If MAXTRADESPERDAY is ready and the restrict is hit, no new entries open for the remainder of that day.
  • Commerce On New Bar mode: If TRADEONNEWBARVALUE = true, the EA solely evaluates indicators on a brand new bar open. No trades set off mid-candle.

Q: The EA exhibits “Buying and selling Disabled” on the dashboard. Why?

The dashboard reads the interior EADISABLEREASON string. Widespread causes and their causes:

Purpose Proven Trigger Repair
Unfold too excessive Present unfold exceeds MAXSPREADPOINTS Improve MAXSPREADPOINTS or set it to 0 to disable
Information Coming Information filter is energetic and an occasion is approaching Disable ENABLENEWSFILTER or alter information buffer minutes
Out of buying and selling time Present time is outdoors all enabled classes Alter Time Filter classes or set EnableTimeFilter = false
Buying and selling Not allowed in the present day Day filter is obstructing the present weekday Allow the day in Commerce Days Settings or set EnableDayFilter = false
Most drawdown P.c reached Fairness drawdown exceeded the set restrict Improve MAXDRAWDOWNPERCENT or set to 0 to disable
Most each day loss reached DAILYSTOP triggered Improve DAILYSTOP or set to 0 to disable

Tip: Allow SHOWLOGS = true in settings for detailed output within the Consultants tab displaying precisely why trades are being skipped.


File & Loading Points

Q: I can’t drag the EA file onto the chart. What ought to I do?

  • Place the .ex4 / .ex5 file in MQL4/Consultants or MQL5/Consultants and right-click the Navigator panel, then choose Refresh.
  • Guarantee AutoTrading is enabled — the toolbar button have to be inexperienced.
  • Within the EA Properties window (when attaching), tick “Enable Automated Buying and selling”.
  • Examine the Consultants tab for INIT_FAILED messages after attaching.

Q: The EA exhibits INIT_FAILED instantly after attaching. Why?

The EA runs validation checks on startup. A popup message field will seem with the precise cause earlier than returning INIT_FAILED. Widespread failures:

  • Each STOPLOSS and TAKEPROFIT are 0 in Pips mode — not less than one have to be non-zero.
  • In Quantity mode, each STOPLOSSAMOUNT and TAKEPROFITAMOUNT are 0.
  • BREAKEVENACTIVATION pips worth is under the dealer’s minimal cease stage.
  • TRAILINGDISTANCE is under the dealer’s minimal cease stage.
  • An emblem within the SYMBOLS checklist shouldn’t be accessible in Market Watch (Multicurrency EA).
  • Not sufficient historic bars loaded for the image and timeframe.

Cease Loss & Take Revenue

Q: Cease Loss or Take Revenue shouldn’t be being set on trades.

  • Minimal Cease Degree violation: At startup, the EA validates SL/TP in opposition to SYMBOLTRADESTOPSLEVEL. In case your pips worth is under the dealer’s minimal, the EA returns INIT_FAILED with a message displaying the required minimal.
  • Hidden SL/TP is ON: If HIDDENSLTP = true, no precise SL/TP is distributed to the dealer server. The EA manages exits internally. That is intentional for brokers that reject SL/TP at order open time.
  • Improper mode chosen: Confirm you might be utilizing the right mode — Pips, Quantity, or P.c — and that your values match that mode.

Q: Breakeven or Trailing Cease shouldn’t be activating.

  • Guarantee USEBREAKEVEN = true or USETRAILINGSTOPLOSS = true is enabled.
  • BREAKEVENACTIVATION defines what number of pips in revenue earlier than breakeven kicks in. The commerce should attain this revenue stage first.
  • TRAILINGSTART defines the pips revenue threshold earlier than trailing begins. If worth has not moved that far, trailing won’t activate.
  • Each values should exceed the dealer’s minimal cease stage or the EA will fail at INIT.

Sudden Commerce Closures

Q: Trades closed on their very own with out hitting SL or TP. Why?

Examine the Safeguard Settings and Revenue/Loss Limits — any of the next can set off an automated shut of all trades:

Setting Set off Situation
MAXDRAWDOWNPERCENT Drawdown % from peak fairness exceeded
MAXDRAWDOWNAMOUNT Drawdown in forex quantity exceeded
DAILYSTOP Each day loss restrict hit
DAILYTARGET Each day revenue goal reached
WEEKLYSTOP / WEEKLYTARGET Weekly limits reached
MONTHLYSTOP / MONTHLYTARGET Month-to-month limits reached
MAXDEPOSITLOAD Margin utilization exceeded deposit load % (default: 50%)
  • Information Filter: If ENABLENEWSFILTER = true and a information occasion fires, the EA follows the Information Motion Settings (CLOSETRADES, CLOSEHIGHESTLOOSINGTRADE, and so on.).
  • Time Filter / Day Filter: If CLOSEALLORDERSTRADETIME = true, all trades shut when the allowed session ends.
  • Shut After N Candles: If CLOSEAFTERNCANDLE is larger than 0, trades shut robotically after that many candles no matter revenue.
  • Exit Technique fired: An reverse sign (Supertrend flip, candlestick sample, fractal break) triggered the configured exit technique.

Grid / Hedge / Martingale

Q: Grid or Hedge orders will not be showing after the primary commerce.

  • Grid: Examine that MAXGRIDSTEP has not been reached. If it has, MAXGRIDACTION fires (default: Shut All). The grid won’t restart till new trades open.
  • Hedge: If HEDGEEXECUTIONMODE = PENDING, the hedge is positioned as a pending order and solely seems as an open commerce when worth reaches the set off stage.
  • For each: Pending orders can’t be positioned inside the dealer’s minimal cease stage distance from present worth. Improve STEPDISTANCE or HEDGEDISTANCE accordingly.

Q: I enabled Martingale, Grid, and Hedge collectively. Is that an issue?

The EA will show a “Excessive Danger Alert!!” warning and message field, however will nonetheless initialize and run. Operating all three concurrently compounds lot sizes extraordinarily aggressively and may deplete an account quickly on a single shedding streak. It’s strongly really helpful to allow just one loss restoration mode at a time.


Multicurrency EA Particular

Q: The EA runs on a number of pairs however solely trades on one image.

  • The multicurrency EA makes use of OnTimer() as an alternative of OnTick() and waits for all symbols to sync bar instances. If symbols are out of sync, it skips the verify silently.
  • All symbols listed within the SYMBOLS enter (comma-separated) have to be added to Market Watch earlier than the EA hundreds.
  • Image names should precisely match your dealer’s naming together with any suffixes akin to .professional, m, or _SB.

Tip: Allow SHOWLOGS = true — in the event you see “Ready for image synchronization…” within the Consultants tab, that is the trigger.


Supertrend EA — Technique Questions

Q: What’s the distinction between Entry Technique 1 and Entry Technique 2?

  • Technique 1: Purchase when Supertrend flips inexperienced (path change); Promote when it flips crimson. These are reversal/flip indicators triggered in the intervening time of development change.
  • Technique 2: Purchase when worth pulls again and bounces on the inexperienced Supertrend line; Promote when worth pulls again to the crimson line. These are continuation/retest indicators.

Q: Does ENABLETRAILINGONSUPERTREND exchange the conventional trailing cease?

Sure. When ENABLETRAILINGONSUPERTREND = true, the Supertrend line itself dynamically acts because the trailing cease stage. The cease follows the Supertrend line because it strikes, as an alternative of utilizing the mounted pip-based trailing cease outlined within the Trailing Cease settings.



2. INDICATORS — TROUBLESHOOTING

Applies to: Larger Excessive Decrease Low Indicator (MT4 and MT5)

Loading & Show Points

Q: I connected the indicator however nothing seems on the chart.

  • Make sure the .ex4 / .ex5 file is in MQL4/Indicators or MQL5/Indicators and Refresh the Navigator.
  • Examine that SHOWARROW = true and SHOWTEXT = true within the indicator settings.
  • The indicator requires not less than STARTBAR bars of historical past (default: 50). On newly opened charts or unique pairs with sparse information, it returns early and attracts nothing. Scroll again on the chart to load extra historical past, then reload the indicator.
  • Examine the Consultants tab for “Didn’t create indicator handles” — this implies iFractals or iATR didn’t initialize. That is attributable to inadequate historic information.

Q: Arrows and labels seem however they’re at all times 2 bars behind the precise sign candle. Is that this a bug?

No — that is by design. Williams Fractals require 2 bars on all sides to be confirmed. A fractal at bar index i is barely confirmed when bar i+2 closes. This 2-bar lag is inherent to fractal-based detection and can’t be eliminated with out utilizing unconfirmed/repainting indicators. The sign is legitimate; it’s merely confirmed after 2 bars.

Q: Labels overlap with candle our bodies or are too distant.

  • Alter LABELOFFSET — this controls how far above/under the candle the textual content seems, calculated relative to ATR.
  • Alter ARROWUPSYMBOL and ARROWDOWNSYMBOL to alter the arrow glyph code (default: 233 and 234).

Sign Logic Questions

Q: Do I would like so as to add the indicator to the chart for the EA or Scanner to operate?

No. The EA and Scanner calculate all indicator values internally utilizing indicator handles (iFractals, iATR, iMA). Including the indicator to the chart is solely for visible affirmation and doesn’t have an effect on any sign logic or commerce execution.

Q: What’s the distinction between HH/LL Entry Technique 1 and Technique 2?

  • Technique 1: Purchase sign when the sample is HH + HL and worth closes above the current Larger Excessive. Promote sign when the sample is LH + LL and worth closes under the current Decrease Low.
  • Technique 2: Purchase sign when the sample is LH + HL (a tightening vary with bullish construction). Promote is the reverse.

Q: What does the quantity proven subsequent to the sign arrow imply?

That is the switchIndex — the bar index at which the newest sign was confirmed. A worth of 1 means the sign fired on the final closed candle. Larger numbers imply the sign shaped extra candles in the past.

Q: The MA Filter is enabled however trades appear to go within the fallacious path.

  • Confirm ENABLEMAFILTER = true and MA1TIMEFRAME is ready to the timeframe you plan for development bias (e.g., H4).
  • If utilizing Hull MA (HMA) mode — notice that iMA() doesn’t natively help HMA. The EA makes use of a customized HMA calculation that requires sufficient historic bars to be loaded first.
  • Examine which MA entry technique is chosen: some modes evaluate quick vs gradual MA whereas others evaluate worth vs MA.


3. SCANNER / DASHBOARD — TROUBLESHOOTING

Applies to: Larger Excessive Decrease Low Scanner Dashboard (MT4 and MT5)

Scanner Not Loading / Panel Not Displaying

Q: I connected the scanner however the dashboard panel doesn’t seem.

  • The scanner makes use of EventSetTimer() for periodic refresh. If MetaTrader blocks timer occasions (e.g., in optimization mode), the panel won’t draw.
  • Examine if the Cover/Present Panels button on the prime of the chart is ready to Present Panels. Clicking it toggles the SHOWPANEL flag.
  • Attempt resizing the chart window barely — this triggers OnChartEvent with CHARTEVENT_CHART_CHANGE which redraws all panel parts.
  • Examine the Consultants tab for “No symbols discovered within the enter checklist” — this implies all pairs in your pairsList have been unavailable in Market Watch and have been filtered out.

Q: Some pairs are lacking from the scanner panel. Why?

  • The scanner checks every image by way of MarketInfo() (MT4) or SymbolSelect() (MT5). Symbols not in Market Watch are robotically filtered out and logged as “Image not accessible”.
  • Add lacking symbols to Market Watch: right-click Market Watch, choose Present All or search manually, then reload the indicator.
  • For MT5: error code 4302 means the image shouldn’t be in Market Watch; error code 4801 means the dealer doesn’t supply that pair.
  • Make sure the image title in your pairsList precisely matches your dealer’s image title, together with suffixes.

Q: An emblem seems within the panel however the sign cells are clean.

  • The scanner wants sufficient historic bars for every enabled timeframe. If fewer bars than STARTBAR are loaded, GetIndicatorValues() returns false and leaves the cell clean.
  • Open a chart for that image on the affected timeframe, scroll again to load extra historical past, then reload the scanner.
  • Examine if the fractal indicator deal with didn’t create for that image/timeframe mixture within the Consultants tab logs.

Alerts & Notifications

Q: The scanner exhibits indicators on the panel however I’m not getting any alerts.

  • ALLOWALERT, ALLOWNOTIFICATION, and ALLOWEMAIL should every be individually enabled within the Alert Settings part.
  • Examine if the Pause Alerts button on the dashboard was unintentionally clicked. It units SHOWALERTS = false. The button turns lime inexperienced when alerts are paused. Click on it once more to Resume Alerts.
  • Alerts solely hearth on a brand new bar formation (isNewbarTf verify). If no new bar has closed because the indicator loaded, no alert fires even when a sign exists on the panel.
  • For push notifications, your MetaQuotes ID have to be configured in MT5 by way of Instruments > Choices > Notifications.

Q: What’s a Confluence Alert and why is it not triggering?

A confluence alert fires solely when all enabled Confluence Timeframes present the identical path (all Bullish or all Bearish) concurrently. A sign on only one timeframe won’t set off a confluence alert.

  • Examine the Confluence Timeframe Settings part and be sure to have enabled the timeframes you wish to require settlement on.
  • There are two separate timeframe sections — Particular person (for panel columns) and Confluence (for cross-TF alerts). Be sure to configured the right one.
  • Enabling too many confluence timeframes makes it uncommon for all to align. Begin with 2–3 associated timeframes.

Dashboard Show & Interplay

Q: I click on an emblem title within the panel however nothing occurs.

  • Clicking an emblem button triggers ChartSetSymbolPeriod() to change the present chart to that image. This solely works if the chart shouldn’t be locked and the image is out there in Market Watch.
  • If the image title within the panel doesn’t precisely match your dealer’s naming (e.g., suffix variations), the chart change will fail silently.

Q: The panel is simply too small, too giant, or the textual content is unreadable.

  • Alter PANELHEIGHTPCT, PANELWIDTHPCT, and PANELTEXTPCT — all are proportion values relative to the chart dimensions.
  • Panel dimensions are recalculated by way of CalcuLateDimensions() each time the chart is resized. Merely resize the chart window to power a right away re-render with new values.

Q: The scanner solely exhibits indicators for M1 and M5. How do I allow extra timeframes?

There are two separate timeframe configuration sections. Each have to be configured:

Part Setting Names Function
Particular person Scan ENABLEIND1M, ENABLEIND5M, ENABLEIND15M… Controls which timeframes are scanned and proven as columns within the panel
Confluence ENABLE1M, ENABLE5M, ENABLE15M… Controls which timeframes should all agree for a confluence alert to fireside

The MT5 model moreover helps non-standard timeframes (M2, M3, M4, M6, M10, M12, M20, H2, H3, H6, H8, H12) that the MT4 model doesn’t have.



4. COMMON SETUP MISTAKES

Earlier than You Connect Any Product

  1. Add all required symbols to Market Watch earlier than loading the EA or indicator. Proper-click Market Watch and choose Present All, or search manually.
  2. Allow AutoTrading within the MetaTrader toolbar. The button have to be inexperienced.
  3. Shut any current positions on the image if attaching an EA for the primary time. Open positions with a distinct magic quantity may cause conflicts.
  4. Load ample historic information by scrolling again on the charts for all pairs you plan to scan or commerce.
  5. Confirm image names match your dealer precisely, together with any suffixes akin to m, .professional, or _SB.

Most Widespread Errors and Fixes

Mistake What Occurs Repair
SL and TP each set to 0 in Pips mode INIT_FAILED with popup error Set not less than one in every of SL or TP to a sound pips worth better than 0
SL or TP worth under dealer minimal cease stage INIT_FAILED with message displaying the required minimal Improve SL/TP to exceed the dealer’s SYMBOLTRADESTOPSLEVEL
Breakeven or Trailing under minimal cease stage INIT_FAILED Improve BREAKEVENACTIVATION or TRAILINGDISTANCE
Symbols lacking from Market Watch EA or Scanner filters out these pairs silently Add all required symbols to Market Watch earlier than loading
Improper dealer image suffix in pairs checklist Symbols not discovered, clean panel cells Match pairsList values precisely to dealer image names
AutoTrading disabled EA hundreds however by no means locations any commerce Allow the AutoTrading button within the MetaTrader toolbar
Magic Quantity mismatch between EA situations EA doesn’t handle current trades, could open duplicates Use the identical magic quantity throughout all associated merchandise
Martingale, Grid, and Hedge all enabled collectively Excessive Danger warning fires, exponential lot development doable Allow just one loss restoration mode at a time
SHOWDASHBOARDINTESTING = true throughout backtest Backtesting turns into extraordinarily gradual Set SHOWDASHBOARDINTESTING = false throughout optimization
Pause Alerts button unintentionally clicked No alerts hearth from the scanner Click on the button once more to Resume Alerts
Not sufficient historic bars loaded Indicator or scanner exhibits clean cells or no indicators Scroll again on charts for all pairs to power historical past obtain
SINGLEENTRY = true with an current open commerce EA skips all new entry indicators Shut the present commerce or set SINGLEENTRY = false

Filters Guidelines — If Trades Are Nonetheless Not Opening

Run via this guidelines with a view to determine which filter is obstructing commerce entries:

  1. Dashboard standing: Is “EA Lively” proven? What does the Cease Purpose area say?
  2. Unfold filter: Is MAXSPREADPOINTS = 0 (disabled)? Or is the present unfold exceeding the set restrict?
  3. Information filter: Is ENABLENEWSFILTER = false? Or is there an upcoming information occasion pausing trades?
  4. Time filter: Is EnableTimeFilter = false? Or is the present time outdoors all enabled classes?
  5. Day filter: Is EnableDayFilter = false? Or is in the present day’s weekday disabled in Commerce Days Settings?
  6. Safeguards: Have any of MAXDRAWDOWNPERCENT, DAILYSTOP, DAILYTARGET, or related limits been triggered?
  7. Commerce Course: Is TRADEDIRECTION = BOTHDIRECTIONS?
  8. Single Entry: Is SINGLEENTRY = false, or has the present commerce been closed?
  9. MA / ADX / RSI / MACD filters: Are all development and affirmation filters passing for the present market situation?

Tip: Allow SHOWLOGS = true to print the results of every verify to the Consultants tab for full transparency.


Earlier than contacting help, acquire the next data to assist resolve the difficulty quicker:

  • Allow SHOWLOGS = true and replica the related traces from the Consultants tab.
  • Notice your MT4/MT5 construct model, dealer title, account sort, and the precise product title and model quantity.
  • Take a screenshot of your settings by way of right-click EA or Indicator > Properties > Inputs tab.
  • Notice the precise image title because it seems in your dealer’s Market Watch.

Contact channels:




Supply hyperlink

Leave a Comment

Discover more from Education for All

Subscribe now to keep reading and get access to the full archive.

Continue reading