Codes

Graphic Panel Contest for MetaTrader 5

Graphic Panel Contest submission

Articles

Securing MQL5 code: Password Protection, Key Generators, Time-limits, Remote Licenses and Advanced EA License Key Encryption Techniques for MetaTrader 5

Most developers need to have their code secured. This article will present a few different ways to protect MQL5 software - it presents methods to provide licensing capabilities to MQL5 Scripts, Expert Advisors and Indicators. It covers password protection, key generators, account license, time-limit

MQL5-RPC. Remote Procedure Calls from MQL5: Web Service Access and XML-RPC ATC Analyzer for Fun and Profit for MetaTrader 5

This article describes MQL5-RPC framework that enables Remote Procedure Calls from MQL5. It starts with XML-RPC basics, MQL5 implementation and follows with two real usage examples. First example is using external web service and the second one is a client to simple XML-RPC ATC 2011 Analyzer

Applying The Fisher Transform and Inverse Fisher Transform to Markets Analysis in MetaTrader 5 for MetaTrader 5

We now know that probability density function (PDF) of a market cycle does not remind a Gaussian but rather a PDF of a sine wave and most of the indicators assume that the market cycle PDF is Gaussian we need a way to "correct" that. The solution is to use Fisher Transform. The Fisher transform

Advanced Adaptive Indicators Theory and Implementation in MQL5 for MetaTrader 5

This article will describe advanced adaptive indicators and their implementation in MQL5: Adaptive Cyber Cycle, Adaptive Center of Gravity and Adaptive RVI. All indicators were originally presented in "Cybernetic Analysis for Stocks and Futures" by John F. Ehlers

Using MetaTrader 5 Indicators with ENCOG Machine Learning Framework for Timeseries Prediction for MetaTrader 5

This article presents connecting MetaTrader 5 to ENCOG - Advanced Neural Network and Machine Learning Framework. It contains description and implementation of a simple neural network indicator based on a standard technical indicators and an Expert Advisor based on a neural indicator. All source

Exposing C# code to MQL5 using unmanaged exports for MetaTrader 5

In this article I presented different methods of interaction between MQL5 code and managed C# code. I also provided several examples on how to marshal MQL5 structures against C# and how to invoke exported DLL functions in MQL5 scripts. I believe that the provided examples may serve as a basis for

Moving Mini-Max: a New Indicator for Technical Analysis and Its Implementation in MQL5 for MetaTrader 5

In the following article I am describing a process of implementing Moving Mini-Max indicator based on a paper by Z.G.Silagadze 'Moving Mini-max: a new indicator for technical analysis'. The idea of the indicator is based on simulation of quantum tunneling phenomena, proposed by G. Gamov in the

Designing and implementing new GUI widgets based on CChartObject class for MetaTrader 5

After I wrote a previous article on semi-automatic Expert Advisor with GUI interface it turned out that it would be desirable to enhance interface with some new functionalities for more complex indicators and Expert Advisors. After getting acquainted with MQL5 standard library classes I implemented

Building interactive semi-automatic drag-and-drop Expert Advisor based on predefined risk and R/R ratio for MetaTrader 5

Some traders execute all their trades automatically, and some mix automatic and manual trades based on the output of several indicators. Being a member of the latter group I needed an interactive tool to asses dynamically risk and reward price levels directly from the chart. This article will

A DLL-free solution to communicate between MetaTrader 5 terminals using Named Pipes for MetaTrader 5

The article describes how to implement Interprocess Communication between MetaTrader 5 client terminals using named pipes. For the use of the named pipes, the CNamedPipes class is developed. For the test of its use and to measure the connection throughput, the tick indicator, the server and client

Forum

CRON - like module for MT5 and MT4

Hi Before I start implementing my own it is worth to ask - is there any cron - like module for MT4/MT5 that would serve as a time check for EA/Indicator? https://en.wikipedia.org/wiki/Cron For example: I would like to check something once every hour, 15 minutes etc. inside onTick() I do not want

Strategy Tester Visualization and Indicators

Is there a way to see indicators while Strategy Tester Visualization is running? If it is not implemented are there any plans to do so? This is crucial for EA debugging

L2 trading

Hi, I am looking for ANY MT5 broker that would provide demo account with Order Book enabled (DepthOfMarket). Thanks for the clues cheerz

Several instances of MT5 in Windows Vista and user directories

Hi there, The question is for Windows VISTA (probably WIN7 too) IS there any solution to avoid placing MetaTrader5 user files directory in AppData\Roaming|MetaQuotes\Terminal\xxxxxxxxxxxxxxxxxxxxx folder? What I have is 4 instances of MT5 on my Vista box and getting to know which folder belongs to

Renko charts

Will it be possible to have offline Renko Charts in MT5 as a history file or do we have to implement indicator-based solution instead? What I am asking if there is planned 'Offline chart' functionality as it is in MT4

Unknown trade server return code (10027)

I cannot place a correct order using my function and the server returns a code not defined in https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes 2010.02.04 09:38:45 CheckSymbolInfo (EURUSD,H1) PlaceMarketOrder() return code: 10027 2010.02.04 09:38:45 CheckSymbolInfo