On this page
Key terms for this guide
These glossary pages cover the ideas and platform language most closely tied to this workflow.
MT4 pages here are usually source workflows
On this site, MT4 support is usually presented as MQL4 source examples. That means the install path is to create or open an indicator file in MetaEditor, paste the code, compile it, and then test it in MetaTrader 4.
- Do not expect every page to behave like a file-download directory.
- The source-first workflow is intentional and easier to audit.
- This is especially useful when you want to compare how one idea works across platforms.
Use MetaEditor to create the file cleanly
Create a new custom indicator in MetaEditor first, then paste the source example into that file. Save it under a clear name before compiling so you know exactly what version you are testing.
- A clean file name makes later revisions much easier.
- Warnings should be read, not ignored automatically.
- The first compile is where structural problems usually show themselves.
Test on a demo chart before trusting the output
After the compile succeeds, attach the indicator to a demo chart and confirm that the plots, buffers, or markers behave the way the product page describes. MT4 volume and session behavior can vary more than traders expect.
- Tick volume is not the same as centralized exchange volume.
- Session-sensitive tools may need extra caution.
- A quick visual check can catch obvious problems early.
Keep MT4 and MT5 workflows separate
Even when the indicator idea is similar, MT4 and MT5 are not interchangeable. Treat MQL4 and MQL5 as related but separate implementations so you do not create confusion while installing or editing.
- Copying code between them should never be treated as automatic.
- Use the page that matches the platform you actually trade.
- That keeps your testing and troubleshooting much cleaner.
Frequently asked questions
Do I need a ZIP package to use MT4 examples from this site?
Usually no. Most MT4 pages on the site provide MQL4 source examples, so the normal workflow is create file, paste code, compile, and test.
Why should I test on a demo chart first?
Because feed differences, tick volume, and chart settings can change how an MT4 indicator behaves. A demo chart helps you verify the output before relying on it.