This is a discussion on Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview within the General Discussion forums, part of the Trading Forum category; Contents Introduction The Text Label Table Control Developing CLabelsTable Class Testing the Text Label Table The Edit Box Table Control ...
Contents
- Introduction
- Tree view element
- Development of the CTreeItem class to create a tree view item
- CPointer class used for creating a mouse pointer
- Development of the CTreeView class used for creating a tree view
- Parameters for forming the element lists
- Methods for managing element lists
- Managing width of list areas
- Mode of tab items
- Methods for event handling
- Element integration into the library engine
- Testing the tree view element
- Conclusion
more...
Table of Contents
- Introduction
- 1. General Principles
- 2. Inputs
- 3. Matching the installation folder and the AppData folder of the Slave terminals
- 3.1. Secret №1
- 3.2. FindFirstFileW, FindNextFileW
- 3.3. An example of using FindFirstFileW, FindNextFileW
- 3.4. Inside the terminal directories
- 3.5. CopyFileW
- 3.6. Working with the "origin.txt" file
- 3.7. Finishing Stroke
- 4. Selecting an EA for testing
- 4.1. GetOpenFileName
- 4.2. Selecting an EA with the "Open file" system dialog
- 4.3. Configuration INI file
- 4.4. Secret №2
- 4.5. Setting the terminal size (width, height). Inserting lines into the middle of the file
- 5. Launching tests on the Slave terminals
- 6. Possible errors
- Conclusion
more...
more...Subscribers often search for an appropriate signal by analyzing the total growth on the signal provider's account, which is not a bad idea. However, it is also important to analyze potential risks of a particular trading strategy. In this article we will show a simple and efficient way to evaluate a Trading Signal based on its performance values:
more...The portfolio principle is known from long ago. By diversifying the funds in several directions, investors create their portfolios reducing the overall loss risk and making income growth more smooth. The portfolio theory has gained momentum in 1950 when the first portfolio mathematical model has been proposed by Harry Markowitz. In 1980s, a research team from Morgan Stanley has developed the first spread trading strategy paving the way for the group of market neutral strategies. The present-day portfolio theory is diverse and complex making it almost impossible to describe all portfolio strategies in a single article. Therefore, only a small range of speculative strategies along with their possible implementation in MetaTrader 4 platform will be considered here.
Contents
- Introduction
- Developing a Class for Creating the Standard Chart Control
- Application for testing the control
- Optimization of timer and event handler of the library engine
- Optimization of the Tree View and File Navigator controls
- New icons for folders and files in the file navigator.
- Conclusion
more...
Contents
- Introduction
- Necessary Actions
- 1. Input parameters Selecting an Expert Advisor to test
- 2. Again about common.ini
- 2.1. common.ini -> original.ini
- 2.2. Search for the [Common] section using regular expressions
- 2.3. Creating four files: myconfiguration1.ini, myconfiguration2.ini, myconfiguration3.ini and myconfiguration4.ini
- 2.4. Editing ini files (copying the [Common] section and individual [Tester] sections to it)
- 3. Parsing and editing the mq5 file of the selected Expert Advisor
- 3.1 Secrete #3
- 3.2. Including "#include"
- 3.3. Including "double OnTester()"
- 3.4. The complex case: the code already contains DistributionOfProfits.mqh and/or OnTester()
- 4. Copying the Expert Advisor to the folders of slave terminals
- 5. Lunching slave terminals
- 6. A comparative report
- Conclusion
more...
Bookmarks