Published article "Processing of trade events in Expert Advisor using the OnTrade() function".
MQL5 gave a mass of innovations, including work with events of various types (timer events, trade events, custom events, etc.). Ability to handle events allows you to create completely new type of programs for automatic and semi-automatic trading. In this article we will consider trade events and write some code for the OnTrade() function, that will process the Trade event.
The most popular forum topics:
New publications in CodeBase
- Dual Trix 15 and 30 Dual Trix Indicator : 2 Moving Averages.
- AutoMagiCal Auto Magic Nr. Calc The Magic Nr. per ASC II Code from Symbols
- Heat Map The purpose of this indicator is to highlight the price zones that had the most activity : the hotest zones.
The most popular forum topics:
- Crazy house! 115 new comments
- EURUSD - Trends, Forecasts and Implications (Part 2) 80 new comments
- Online trading on Wave Theory (NIROBA method) 58 new comments
Published article "The Use of ORDER_MAGIC for Trading with Different Expert Advisors on a Single Instrument".
This article considers the questions of information coding, using the magic-identification, as well as the division, assembly, and synchronization of automatic trading of different Expert Advisors. This article will be interesting to beginners, as well as to more experienced traders, because it tackles the question of virtual positions, which can be useful in the implementation of complex systems of synchronization of Expert Advisors and various strategies.
New publications in CodeBase
- Bulls Bears Power The indicator determines the bulls or bears prevail on the market and plots their strength.
- Reversal Bar The indicator helps to find the reversal bar of the trend.
- TimerClosingPeriod v.2 The updated version of TimeClosingPeriod indicator, it plots the time, remained to the current bar complete. At the last second it plays the sound file, specified in the input parameters.
- Color Parabolic 2 Color Parabolic 2. The color depends on the acceleration factor.
- The CGV class for working with global variables The CGV class simplifies the work with global variables of MetaTrader 5 client terminal.
- OsMaSter_V0 The Expert Adviser uses the indicator OsMA.
The most popular forum topics:
New publications in CodeBase
- iStochasticOfOsc The Stochastic of all oscillator-like indicators, included in MetaTrader 5 client terminal.
- iUniMA The Universal Moving Average, it allows to select any type of moving average, included in the MetaTrader 5 client terminal.
- iMAFan A Colorful Fan of Moving Averages.
- iHeikenAshiSm The Heiken Ashi indicator with smoothing.
- An Expert Advisor, based on the "Puria method" Forex Strategy An Expert Advisor, based on the "Puria method" Forex Strategy.
- The Hodrick-Prescott Filter The Hodrick-Prescott Filter.
- Universal Ranger Shows low high from the last bar from other timeframe. Timeframe can be changed
- DoubleDragon Simple Momentum x 2
Published article "A Library for Constructing a Chart via Google Chart API".
The construction of various types of diagrams is an essential part of the analyses of the market situation and the testing of a trading system. Frequently, in order to construct a nice looking diagram, it is necessary to organize the data output into a file, after which it is used in applications such as MS Excel. This is not very convenient and deprives us of the ability to dynamically update the data. Google Charts API provided the means for creating charts in online modes, by sending a special request to the server. In this article we attempt to automate the process of creating such a request and obtaining a chart from the Google server.
The most popular forum topics:
The most popular forum topics:
- What is the perspective in your opinion? 98 new comments
- [Archive c 17.03.2008] Humour [Archive to 28.04.2012] 71 new comments
- I made one of these things once ... 13 new comments
The most popular forum topics:
Published article "The Principles of Economic Calculation of Indicators".
Calls to user and technical indicators takes up very little space in the program code of automated trading systems. Often it’s simply a few code lines. But it often happens that it is these few lines of code which use up the largest portion of time, which needs to be spent on testing the Expert Advisor. Therefore, everything that is related to data calculations within an indicator, needs to be considered much more thoroughly than would seem at first glance. This article will talk precisely about this.
New publications in CodeBase
- The Moving Average Indicator, based on the Quasi-Digital Filter The Moving Average indicator, based on the Quasi-Digital Filter. The MACD indicator as example of its use is presented.
- Big Times This indicator reflects the positive difference between the High and Low of the period.
The most popular forum topics:
- EURUSD - Trends, Forecasts and Implications (Part 2) 182 new comments
- I made one of these things once ... 71 new comments
- Let's sort out the phiba 56 new comments
The most popular forum topics:
Published article "How to Order a Trading Robot in MQL5 and MQL4".
"Freelance" is the largest freelance service for ordering MQL4/MQL5 trading robots and technical indicators. Hundreds of professional developers are ready to develop a custom trading application for the MetaTrader 4/5 terminal.
New publications in CodeBase
- iS7N_TREND.mq5 Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.
- BB 3sigma Bollinger Bands +-3sigma. You can change period and sigma ratio (Proper size of Deviation is 0.5~1.0)
- Average Change V 0 This is the basic version of the Average Change indicator
- Indicator Pivot Multi Time Indicator that shows two resistance levels, 2 levels of support and pivot, they calculated the traditional way.
The most popular forum topics:
The most popular forum topics:
Published article "Writing an Expert Advisor Using the MQL5 Object-Oriented Programming Approach".
This article focuses on the object oriented approach to doing what we did in the article "Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners" - creating a simple Expert Advisor. Most people think this is difficult, but I want to assure you that by the time you finish reading this article, you will be able to write your own Expert Advisor which is object oriented based.
New publications in CodeBase
- Price prediction by Nearest Neighbor found by a weighted correlation coefficient This indicator finds the nearest neighbor by using a weighted correlation coefficient, in which more recent prices have larger weights. The weight decays linearly from newer to older prices within a price pattern.
- RSI Peak & Bottom It showed the peak/bottom at rsi14
- Daily Opening EA (needs improvement ideas!) A slightly different EA based off daily opening breaks.
- USD Strength Effect Indicator This indicator uses the position and direction of 7 pairs to gauge the overall effect that (by default) the USD currency may have on the pair that you are trading. Base currency can be changed.
The most popular forum topics:
The most popular forum topics:
The most popular forum topics:
- EURUSD - Trends, Forecasts and Implications (Part 2) 137 new comments
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. 30 new comments
- FUTURE 30 new comments
New publications in CodeBase
- Price prediction by Nearest Neighbor This indicator uses the Nearest Neighbor clustering technique, also called k-NN, to search for the most similar pattern in history and use its past prices as predictions of the current pattern future prices.
- psar bug 3 Opens and closes orders using parabolic SAR
- IFR Trading Page Plotter Plots price level and open positions from the IFR trading pages provided via the FXNews program offered to accounts registered with OANDA's FXTrade and FXGame platforms.
- Market-Heart-Beat The indicator will show how many ticks occurred every minute of an hour and the number of points.