EA Errors
Find the full MT5 error and follow the matching checks. MT4 guidance is available below when you need it.
Start with the full message, not only its number. Read the Experts and Journal entries around the failed MT5 request. If you use MetaTrader 4, open its separate error reference below; numbers can mean different things on the two platforms.
If TradingView fires but no corresponding message reaches PineConnector, start with Missing signals. This page covers terminal and trade-request errors after that stage.
Find your error
Section titled “Find your error”| Platform | Error |
|---|---|
| MT5 | 4752 — EA trading disabled · 4756 — request failed |
| MT4 or MT5 | Zero divide |
On Edge: select the affected instance in Portal → Edge → Experts / Journal using the hosted log walkthrough. Match its account and event time before applying a fix. On self-hosting: see Experts, Journal, or saved log files.
MetaTrader 5
Section titled “MetaTrader 5”EA trading is disabled
ERR_TRADE_DISABLED: Expert Advisors are not permitted to trade.
Read the full error in the affected terminal’s logs. Choose the Edge or self-hosted check below.
- On Edge
Select the affected instance in Portal → Edge → Experts / Journal. Inspect Edge → instance → EA Settings and Connections → account → Terminal info, then contact Support with the error and event time. Changing Algo Trading in a local terminal does not change Edge.
- On a self-hosted terminal
Confirm that Algo Trading is enabled in MetaTrader and allowed in the PineConnector EA’s properties. Both the terminal toolbar setting and the EA’s own permission must allow the action.
- Confirm the result before retrying
Check the broker account for any existing order or position first. After the cause is corrected, use a controlled demo test and compare Experts, Journal and the resulting order.
Use Edge logs and Support for hosted permission issues. The hosted settings procedure covers editable EA inputs, not local MT5 permission controls. Editing those inputs does not establish that hosted trading permissions are enabled.
Trade request could not be sent
ERR_TRADE_SEND_FAILED is a general request failure. The accompanying message identifies the next check.
Read the full Experts and Journal message at the same timestamp. Match its wording to a case below.
Match the message beside 4756
Section titled “Match the message beside 4756”| Message | Check first | Next action |
|---|---|---|
| Unsupported filling mode | The symbol’s permitted order-filling policy | Check the broker/symbol specification. Self-hosted older EAs: use Broker Set B only if it exists in your version and matches the supported configuration. Edge: send the hosted log detail to Support. Change the hosted Broker Set only when Support asks you to; changing a local Broker Set does not change Edge. |
| No prices | Symbol selection, connection and incoming quotes | Self-hosting: show the exact symbol in Market Watch and confirm a current quote during its trading session. Edge: check the same account’s symbol and session through your broker’s supported MT5 mobile, web or desktop terminal; inspect hosted Experts/Journal and contact Support if hosted quotes remain unavailable. Do not keep resending against an unavailable quote. |
| Invalid request | Exact symbol and the full request parameters | Compare the message with the broker’s symbol and supported order type. A matching symbol alone does not prove the rest of the request is valid. |
| Trade disabled | Whether the account and symbol permit this trade | Confirm the symbol, session and broker restrictions. For terminal/EA permissions, use the Edge or self-hosted 4752 branch above. |
| Invalid expiration | The pending order’s expiration policy | Check the broker’s supported expiration settings. Self-hosted older EAs: confirm version support before using Broker Set C. Edge: share the pending request and hosted logs with Support. Change the hosted Broker Set only when Support asks you to. |
| Invalid volume | Minimum, maximum and volume step | Check requested lots against the symbol’s contract specification. Explicit volume fields name their units; legacy risk= depends on Volume Type. On Edge, inspect Edge → instance → EA Settings; use the review and apply procedure for changes, which restart the terminal and interrupt signal execution. Ask Support if the setting or its applied state is unclear. |
| Invalid stops | Target units, correct side and minimum distance | Follow the stops checklist. |
| Requote | The current quote and execution mode | Check the broker’s returned detail. Confirm whether any order was placed before retrying, then investigate repeated requotes with your broker/support on demo. |
| Invalid price | Price validity for that symbol and order | Check the allowed price increment, direction and distance of the pending entry, stop loss and take profit. |
These cases correspond to separate MetaTrader trade-server return details. 4756 alone does not select one fix.
Check stops and prices
Section titled “Check stops and prices”Use this checklist for MT5 Invalid stops/Invalid price or MT4 130:
- Confirm units. A legacy
sl=ortp=value follows the EA’s Target Type. A price such as1.08000must not be interpreted as a pip distance. Review the exact parameter in Syntax. - Check the correct side. For an open buy position, SL must be below your broker’s current Bid and TP above it; for an open sell, SL must be above the current Ask and TP below it. When modifying a stop, the original entry price alone is not the side check. For a pending order, SL and TP must fit the pending entry price and direction.
- Check minimum distances. On self-hosting, open the symbol specification and inspect its Stops level, shown in points. On Edge, obtain the same account’s MT5 specification from your broker or Support if it is not exposed in your broker app. Use the point size and the documented PineConnector pip convention for that instrument; do not treat a displayed point count as the same number of pips.
- Check price increments. The broker must accept the requested price step and decimal precision.
- Check pending entries separately. The entry price and expiration can be invalid even when SL and TP are acceptable.
See MetaTrader’s MT5 stop and freeze-level rules and MT4 trade limits for the broker-level constraints.
MetaTrader 4 errorsOpen this reference only if your terminal is MT4.
These checks apply to MetaTrader 4. Choose the matching error below; the shared stops checklist and Zero divide guidance remain available outside this section.
Invalid stops
ERR_INVALID_STOPS: a stop or pending-entry level is invalid for the request.
Compare the message’s target units with the EA’s Target Type and pending-entry setting.
- Inspect the symbol specification
Check minimum stop distance, price increments and the current broker quote.
- Review the actual levels
Use the stops-and-prices checklist above. Correct the parameter or level, then repeat a controlled demo test.
Invalid trade volume
ERR_INVALID_TRADE_VOLUME: the requested lot size does not meet the broker’s rules.
Open the symbol specification and compare minimum volume, maximum volume and volume step with the requested lots.
- Check how the EA calculated the size
Confirm your Volume Type and the value supplied in the message. Decimal places alone do not establish a valid volume step.
Market closed
ERR_MARKET_CLOSED: the symbol is outside its trading session.
Check that symbol’s trading hours on your broker’s server, including holidays and session breaks.
- Wait for a valid session
Send a new test only when the symbol is open and quotes are available.
Trading disabled
ERR_TRADE_DISABLED: trading is not available for this account or symbol.
Confirm the exact symbol and whether your broker permits trading it on this account.
- Check the local setup
Show the symbol in the Symbols list and confirm the EA’s live-trading permission is enabled.
- Separate a broker restriction from an EA issue
On a demo account, check whether an equivalent manual trade is permitted. Ask the broker about a restriction if manual trading is blocked too.
Not enough margin
ERR_NOT_ENOUGH_MONEY: the account does not have enough available margin for the request.
Read the required and available margin in the Experts output.
- Review the requested size
Confirm Volume Type before reducing a risk/volume value. Existing positions and broker margin rules affect what is available.
- Escalate an apparent mismatch
If the log shows sufficient available margin but the broker rejects the trade, send the full request and broker response to support.
DLL calls are not allowed
ERR_DLL_CALL_NOT_ALLOWED: the required DLL permission is disabled.
Review Allow DLL imports in both MetaTrader Options and the PineConnector EA’s properties.
- Check your environment
Your self-hosted computer or VPS must support the PineConnector EA’s required DLL usage. Follow the MT4 setup guide for its current files and permissions.
Invalid function parameter
ERR_INVALID_FUNCTION_PARAMETER_VALUE: a function received an invalid value.
Read the full error and compare your message with the required fields for that command.
- Check entry sizing fields
A missing risk= is one case identified by the older entry-message guide. Follow the syntax supported by your EA version; this error number does not prove that a missing risk field is the cause.
- Keep the failing example
If the message matches the reference, send the exact request and log to support instead of adding guessed parameters.
Unknown symbol
ERR_UNKNOWN_SYMBOL: MetaTrader does not recognise the requested symbol.
Copy the name exactly from your broker’s Symbols list, including capitalisation and any suffix.
- Check any mapping
Confirm that TradingView placeholders or Symbol Mapping resolve to that exact name. EURUSD and eurusd are not interchangeable in the documented syntax.
Trading is not allowed
ERR_TRADE_NOT_ALLOWED: automated trading permission is disabled.
Enable automated trading in Tools → Options → Expert Advisors, then check Allow live trading in the EA’s Common tab.
- Confirm the EA is ready
Check the AutoTrading toolbar state and the EA’s chart status. Use a demo request to verify the permission change.
Chart object does not exist
ERR_OBJECT_DOES_NOT_EXIST: a chart object expected by the program was not found.
Save the full error and the surrounding Experts output.
- Send the context to support
Include the EA version, event time, Signal ID where available, and what you were doing when the error appeared. Do not assume changing trade size will fix a chart-object error.
For another MT4 code, use the official MQL4 error list. Confirm the terminal platform before applying its checks.
Zero divide
Section titled “Zero divide”A calculation attempted division by zero
The program could not complete a calculation. The location and surrounding log are needed to investigate the cause.
Record the complete message, including any line/column numbers shown in brackets, and your PineConnector EA version.
- Preserve the request and environment
Keep the Signal ID, symbol, relevant EA settings and Experts/Journal lines around the event.
- Report the issue
Send that evidence to PineConnector Support. Do not repeatedly resend a live request while its outcome is uncertain.
Still stuck, or using Edge?
Section titled “Still stuck, or using Edge?”For a self-hosted setup, collect the local Experts and Journal logs. For an Edge connection, select the affected instance in Portal → Edge → Experts / Journal and compare its connection and signal details. Contact support if the required detail is missing or the hosted issue remains unresolved. Desktop permission steps apply to a terminal you manage yourself.
Send PineConnector Support the platform/EA version, event time, relevant Signal ID, exact error and expected outcome. Share account details privately only when needed, and omit passwords and signal secrets from screenshots.
For an MT5 code not listed here, use the official MQL5 runtime error list.


