# FXNOOK LAB ## Posts - [MT5 to MT4 Adapter: What Works and How to Convert](https://lab.fxnook.com/mt5-to-mt4-adapter/): An MT5-to-MT4 adapter cannot run compiled MT5 code on MT4. Learn what can convert, what must be rewritten, and how to test the port. - [MT5 EA Builder: Turn a Strategy into a Tested EA](https://lab.fxnook.com/mt5-ea-builder-guide/): Build an MT5 EA from precise trading rules. Learn what to specify, how to review the MQL5 code, and how to test its behavior in Strategy Tester. - [MT5 EA Source Code: Build and Test a Working Example](https://lab.fxnook.com/mt5-ea-source-code-example/): Get compile-ready MT5 EA source code for an EMA crossover, with MQL5 handles, CopyBuffer, CTrade, MetaEditor setup and Strategy Tester steps. - [MT4 EA Close All Positions: MQL4 Code and Checks](https://lab.fxnook.com/mt4-ea-close-all-positions/): Use MQL4 OrderSelect and OrderClose to close MT4 market trades, filter by symbol or magic number, delete pending orders, and diagnose failures. - [MQL4 to MQL5 Converter: How to Choose and Verify One](https://lab.fxnook.com/mql4-mql5-converter-verify/): Choose an MQL4 to MQL5 converter by project type, then verify compile results, trade logic, indicator data, account mode and tester behavior. - [MT4 to MT5 Converter: What It Converts and What It Doesn't](https://lab.fxnook.com/mt4-to-mt5-converter-guide/): Convert an MT4 EA or indicator to MT5: learn what tools can map, what needs a rewrite, and how to test behavior after compilation in MetaTrader. - [MT5 EA Not Taking Trades: Checks, Causes, and Fixes](https://lab.fxnook.com/mt5-ea-not-taking-trades/): Find why an MT5 EA is not opening trades. Trace entry conditions, read server retcodes, check symbol rules and account mode, then reproduce it in Strategy… - [How to Fix OrderSend Error 130: Invalid Stops in MT4](https://lab.fxnook.com/ordersend-error-130-invalid-stops/): Learn what MT4 error 130 means, how to check MODE_STOPLEVEL, validate buy and sell SL/TP prices, and log broker stop rejections before OrderSend. - [MT4 EA Not Opening Trades: Checks, Causes and Fixes](https://lab.fxnook.com/mt4-ea-not-opening-trades/): Diagnose an MT4 EA that will not trade. Check terminal permissions, logs, entry filters, OrderSend errors and broker limits, then retest safely. - [MQL4 to MQL5 Conversion Guide: Code, APIs, Testing](https://lab.fxnook.com/mql4-mql5-conversion-guide/): A practical MQL4 to MQL5 conversion guide covering trade APIs, positions, indicator handles, common errors, and how to test converted code. - [How to Convert an MT4 EA to MT5: A Practical Guide](https://lab.fxnook.com/convert-mt4-ea-to-mt5/): Convert an MT4 EA to MT5 by mapping trade logic, indicator handles and account behavior, then compile and compare results in the Strategy Tester. - [Hello world!](https://lab.fxnook.com/hello-world/): Welcome to WordPress. This is your first post. Edit or delete it, then start writing! ## Pages - [My account](https://lab.fxnook.com/my-account/) - [Checkout](https://lab.fxnook.com/checkout/) - [Cart](https://lab.fxnook.com/cart/) - [Shop](https://lab.fxnook.com/shop/) ## Optional - [Agent (MCP protocol)](websites-agents.hostinger.com/lab.fxnook.com/mcp) [comment]: # (Generated by Hostinger Tools Plugin)