Codes

Two pending orders 2 for MetaTrader 5

Two pending orders at the beginning of the day

At random Full for MetaTrader 5

The Expert Advisor is a joke: the position is opened randomly. Now there is a Stop Loss, Take Profit and much more

At random for MetaTrader 5

Expert is a joke! The position is opened at random

MACD Four Colors Arrow for MetaTrader 5

A series of indicators 'Four Colors'. Signals are now 'Arrow' in the main window

Super trend - simple Alert for MetaTrader 5

Added alerts to custom indicator

Candles without shadows for MetaTrader 5

Candlestick chart without shadows

WPR Custom Cloud Simple for MetaTrader 5

A simple trading system using the custom indicator "WPR Custom Cloud"

RSI adaptive EMA Alert for MetaTrader 5

Added alerts to custom indicator

SAR Color Alert for MetaTrader 5

Colored SAR indicator. Alerts on color change

Three daily rectangles for MetaTrader 5

The indicator draws three daily rectangles

Articles

An attempt at developing an EA constructor for MetaTrader 5

In this article, I offer my set of trading functions in the form of a ready-made EA. This method allows getting multiple trading strategies by simply adding indicators and changing inputs

Gap - a profitable strategy or 50/50? for MetaTrader 5

The article dwells on gaps — significant differences between a close price of a previous timeframe and an open price of the next one, as well as on forecasting a daily bar direction. Applying the GetOpenFileName function by the system DLL is considered as well

Elder-Ray (Bulls Power and Bears Power) for MetaTrader 5

The article dwells on Elder-Ray trading system based on Bulls Power, Bears Power and Moving Average indicators (EMA — exponential averaging). This system was described by Alexander Elder in his book "Trading for a Living"

Improving Panels: Adding transparency, changing background color and inheriting from CAppDialog/CWndClient for MetaTrader 5

In this article, we continue studying the use of CAppDialog. Now we will learn how to set color for the background, borders and header of the dialog box. Also, this article provides a step-by-step description of how to add transparency for an application window when dragging it within the chart. We

How to create a graphical panel of any complexity level for MetaTrader 5

The article features a detailed explanation of how to create a panel on the basis of the CAppDialog class and how to add controls to the panel. It provides the description of the panel structure and a scheme, which shows the inheritance of objects. From this article, you will also learn how events

Comparing speeds of self-caching indicators for MetaTrader 5

The article compares the classic MQL5 access to indicators with alternative MQL4-style methods. Several varieties of MQL4-style access to indicators are considered: with and without the indicator handles caching. Considering the indicator handles inside the MQL5 core is analyzed as well

LifeHack for traders: Blending ForEach with defines (#define) for MetaTrader 5

The article is an intermediate step for those who still writes in MQL4 and has no desire to switch to MQL5. We continue to search for opportunities to write code in MQL4 style. This time, we will look into the macro substitution of the #define preprocessor

LifeHack for traders: Fast food made of indicators for MetaTrader 5

If you have newly switched to MQL5, then this article will be useful. First, the access to the indicator data and series is done in the usual MQL4 style. Second, this entire simplicity is implemented in MQL5. All functions are as clear as possible and perfectly suited for step-by-step debugging

Optimizing a strategy using balance graph and comparing results with "Balance + max Sharpe Ratio" criterion for MetaTrader 5

In this article, we consider yet another custom trading strategy optimization criterion based on the balance graph analysis. The linear regression is calculated using the function from the ALGLIB library

Analyzing Balance/Equity graphs by symbols and EAs' ORDER_MAGIC for MetaTrader 5

With the introduction of hedging, MetaTrader 5 provides an excellent opportunity to trade several Expert Advisors on a single trading account simultaneously. When one strategy is profitable, while the second one is loss-making, the profit graph may hang around zero. In this case, it is useful to

Forum

MetaTrader 5 Agent Manager

All agents are in the 'disconnected' state all day today. I tried deleting agents and then re-adding them - zero result. Last attempt: uninstall 'MetaTrader 5 Agent Manager' and reinstall. Build MetaTrader 5 Agent Manager 3311

MetaTrader 5 Python Questions

My settings: Python 3.9 . 7 (tags/v3. 9.7 : 1016 ef3, Aug 30 2021 , 20 : 19 : 38 ) [MSC v. 1929 64 bit (AMD64)] on win32 MetaTrader 5 x64 build 3311 started for MetaQuotes Software Corp. Windows 11 build 22000 , 12 x Intel Core i7- 9750 H @ 2.60 GHz, 22 / 31 Gb memory, 711 / 947 Gb disk, UAC, GMT+

Windows 11

Preparing for Windows 11 on the Beta channel. Moving plan: Connect to the Warehouse ( Work with the Warehouse - Projects and MQL5 Storage ) and send all changes and all your code to the Warehouse save the location of tabs with open files in MetaEditor save templates and chart profiles ... plan will

Points VS Pips

Comments not related to " New MetaTrader 5 build 2085: Integration with Python and massive improvements in the Strategy Tester " were moved to this topic

MetaTrader 5 build 2121: New design of the Strategy Tester

These test icons are now available: the tests themselves have a new item called "profit in pips": Continuing to examine and probe further

Services. Are they up and running yet?

Build 1961. In the editor, I created a new program view - service. In OnStart I wrote it down: void OnStart () { //--- Print ( TimeTradeServer ()); } Then I started the service: and immediately the result: 2018.12 . 16 18 : 35 : 56.679 1 2018.12 . 16 18 : 35 : 56 In general it works. But

The signal is not copied

Comments not related to " Communicate with developers via Service Desk! "

Weekend evening

This topic is open only on weekends and accepts requests for "quick batch MQL5 EA". I reserve the right to agree to make an EA as well as to refuse :) If an EA appears, its code MUST be published OPEN. Note: the weekend term - Late Friday Evening, All Saturday and Sunday. EA "OSYuWwJk EA.mq5 " EA

Interesting and humorous (politics and history banned)

When publishing, please follow the rules of the resource. Also remember that: Forum on trading, automated trading systems and trading strategy testing Interesting and Humorous Rashid Umarov , 2017.08.07 14:28 Attention all members of the community! Any posts with politics, which provoke the

Euro Rat

The Euro Rat project. Test of the idea: Forum on trading, automated trading systems and trading strategy testing FOREX - Trends, Forecasts and Consequences 2017 Vladimir Karputov , 2017.10.06 16:21 Check that in the code: For practical forex work: if AUDUSD is rising and USDCAD and USDJPY are