Developing graphical interfaces based on
.Net Framework and C# (part 2): Additional graphical elements
Since October 2018, MetaTrader 5 supports integration
with Net Famework libraries. This set of libraries is actually much more than a framework or a specialized system for performing a
specific range of tasks, like drawing graphical windows or implementing a network interaction. Net Framework has literally
everything. It allows developing websites (Net Core, MVC), creating system applications having a unified professional interface
(Windows Forms), building complex distributed systems with data exchange between nodes and working with databases (Entity
Framework). Besides, Net Framework is a huge community of programmers and companies with thousands of various open source projects.
If the interaction is organized properly, all this can be available in MQL today.
In this article, we will continue to develop the functionality of GuiController created in the first
part. This functionality is aimed at interacting with the graphical functionality of the Net Framework based on the Windows Forms
technology. Currently, plenty of info is available on MQL graphical features. There are a lot of various libraries that do more or less
the same by means of MQL. Therefore, I do not want this material to be perceived by readers as "another library for working with forms". In
fact, this material is only a part of a large series of articles describing interaction with Net Framework and gradually revealing
boundless features of this software platform. Windows Forms is only one of the building blocks within this platform, although a very
convenient and comprehensive one, just like any part of the Net technology. The Windows Forms graphical subsystem is a great starting
point for exploring this framework. After proper studying, it can be applied in other interactions with Net Framework. Besides, it
also allows creating quite efficient and, most importantly, easy-to-implement trading panels, EA configuring windows, advanced
graphical indicators, robot control systems and other things related to interaction between users and the trading platform.
1. How to Start with MT5, a summary ! (incl the previous thread: How
to start with MetaTrader and forex, the beginning) MetaTrader
4 Help - Client Terminal – User Guide MetaTrader
5 Help - Trading Platform — User Manual
2. MetaTrader 5 Python User Group - the
3. All (not yet)
about Strategy Tester, Optimization and Cloud
SYSTEM summary (incl 2 good EAs)
5. BRAINTRADING SYSTEM HowTo
Parabolic system (incl 2 versions of the EA)
7. Market Condition Evaluation (2
EAs were created)
8. All about mql OOP
and trading videos - Table of Contents
11. All about
Calendar tab and Macro Economic Events
12. All about MQL5
Wizard : create robots without programming
Forum on trading, automated trading systems and testing trading
Sergey Golubev, 2013.07.09 12:26
I did not find education trading articles about repainting and non-repainting. I think - you should look at the forum posts.
For example - there are the following indicators by categories :
- non-repainting. Most of the indicators are inside this category (most of the indicators are non-repainting). It means: if you
see the signal so wait for the bar with the signal to be closed and new bar is opened. Traders are using non-repainting indicators to
trade on close bar (classical way of trading for most of the traders). Some people confused 'non-repainting' with 'continuing
painting'. For example, open bar is continuing paiting by itself together with value of any indicator. Close bar is not repainting
by value together with non-repainting indicator.
- repainting indicators. There are many of them which were created especially for some different cases. Zigzag for example. Some
of those indicators are used as the filters to filter false 'non-repainting signals' from the other indicators.
indicators. The values of those indicators are recalculated for n number of the bars. Indicators can be used a the
filters or for technical analysis (not for direct trading).
- repainting by mistake made by coders. There are many examples of the indicators coded by coders in repainting way as the mistake
(such as super signals etc).
Sometimes - the people confused repainting with contrinuing painting, and trading on open bar with trading on close bar. We are having a lot
of threads/articles about programming but just few threads about how to trade in practical way with a lot of indicators in
CodeBase for example :)
Sergey Golubev, 2013.07.09 12:29
Just an example with PriceChannel Parabolic system (indicators, templates
and howto instal and howto trade - are on
this post by links):
So, this is classical way of trading - trading on close bar.
Developing a cross-platform Expert Advisor to set StopLoss and
TakeProfit based on risk settings
As you probably know, following of money management rules is highly recommended for any trading. It means that one is not recommended to
enter a trade in which more than N% of deposit can be lost.
N is chosen by the trader. In order to comply with this rule, one should correctly calculate the trading lot value.
At relevant master classes, presenters usually show a ready Excel file, which includes relevant lot calculation formulas for each
symbol. And thus they obtain the required lot value by "simply entering" their stop loss value.
Is this really that "simple"? The lot calculation operation can take a minute or more. So when you finally determine the lot size, the
price can move very far from the intended entry point. Moreover, this requires from you performing of extra operations. Another
disadvantage of this method, is that manual calculations often increase the chance of making an error.
So let's try make this process really simple. To do this, we will create an Expert Advisor for setting the opening and Stop Loss prices in
the visual mode. Based on these parameters and your risk value, the EA will set the appropriate lot value and will open a position in the
Extract profit down to the last pip
South African broker QuickTrade launches
MetaTrader 5 and offers JSE stock trading
Desktop and web platform versions, as well as mobile apps for Android and iOS, have become available to the company's clients. The offering
incorporates 190 trading symbols, including Forex pairs, international stock indices, commodity contracts and Johannesburg Stock
QuickTrade is an FSCA
(the Financial Sector Conduct Authority) regulated broker which started providing services back in 2014.
Forum on trading, automated trading systems
and testing trading strategies
of MetaTrader 5 build 2190 platform
MetaQuotes Software Corp. ,
The beta version of MetaTrader 5 build 2201 has been released.
Update is available through Help -> Check for Updates.
As the people are continuing asking about how to select the signal so subscribe so I am reminding the following:
Just some information about the Signal Service:
This is the information about where to start to.
From the rules -
Forum on trading, automated trading systems
and testing trading strategies
Where Do I start
This is the history of the development (everything except the beta builds) -
What's new in MetaTrader 5The
history of updates of the desktop, mobile and web platforms
How to Start
with MT5, a summary !
Please enable the necessary setting in your browser, otherwise you will not be able to log in.