Automated Trading
-
Continuing the series of articles on programming in MQL4, started in issue 74 of ForTrader.org magazine, we have come to the most important thing - the source code. How to understand this language of MQL4? How do you learn to modify it? For most people these questions cause the greatest difficulty and fear. However, if we're talking about the modification of the program, it's not so scary. The program in MQL4 looks like a text in English, from which the most part of words have been thrown out, leaving only the most necessary. Other articles on programming in MQL4: Independently Modifying Programs for MetaTrader4 (Part 1)...
Читать далее » -
In the 75th issue of ForTrader.org. we will look at a curious trading strategy called The.7, which has been discussed with interest by traders on an overseas forum. The essence of this trading algorithm is simple and will appeal to many, especially to those market participants who prefer to make trades infrequently and seek profits taken along the entire length of the trend. Other research by ForTrader.org: Skyplay - indicator strategy advisor Tricolor - profitable scalping strategy for M1 timeframe Good scalping strategy on Bollinger bands and RSI Trading strategy settings Read more about The7 strategy in manual trading on our website, here we will discuss the main points we need to automate the process....
Читать далее » -
As part of the master class "Programming on " In the process of everyday trading, most of us regularly encounter various programs written for the MetaTrader 4 terminal. Scripts, indicators, Expert Advisors - their essence is to help us make a decision on placing or closing an order (or even to fully automate this process). 90% of the time they work absolutely normally, and we are satisfied with it. However, in the remaining 10% there are situations when the programs do not fully convey the situation on the market. At such moments there is an irresistible desire to optimize (read - improve) them: to add a new condition of entry or exit, to adjust the behavior a little, in the end, just to display a warning message -....
Читать далее » -
In the 74th issue of ForTrader.org we will explore and automate a trading strategy called Skyplay. This is a multicurrency indicator tactic, whose author claims that 70% of its trades are profitable. Let's see if this is true. Skyplay trading strategy settings We will need the currency pair EURUSD or GBPUSD, MT4 terminal turned on from 07:00 GMT to 14:00 GMT, a set of indicators and H1 and M5 timeframes. There will be several indicators: Supertrend(20), Breakout box, EMA(20) (yellow, built on highs), EMA(20) (red, built on lows), MACD, True Strength Indicator, Time Zone Trading Indicator. Some of them: Supertrend, showing the trend direction, and Breakout box, orienting in the range...
Читать далее » -
In the process of daily trading, most of us regularly encounter various programs written for the MetaTrader 4 terminal. Scripts, indicators, advisors - their essence is to help us to make a decision on placing or closing an order (or even to completely automate this process). 90% of time they work absolutely fine, and we are satisfied with them. However, in the remaining 10% times, there are situations when the programs do not fully convey the situation on the market. At such moments an irresistible desire arises to optimize them (read - to improve them): to add a new condition of entry or exit, correct the behavior a little, finally, just display a warning message - here are only some examples from a large...
Читать далее » -
This time in the research part of ForTrader.org we will look at a scalping strategy based on moving averages and stochastic modifications, which are applied on the smallest timeframe - M1. Trading is designed for the European session and currency pairs with small spread. We will briefly analyze the entry and exit signals of the TS. There you can also download the necessary version of the stochastic. Read more in the 73rd issue of ForTrader.org. The test results showed a yield of more than 1000%. Download the Expert Advisor | Download the set | Detailed testing stochastic | Discuss the Expert Advisor
Читать далее » -
In the 71st issue of ForTrader.org we offer you a scalping strategy based on Parabolic SAR and MACD indicators. You can find a lot of similar tactics, but the interest of this one is to combine the indicators of the two filters. PDF-version of the article you can read in the journal ForTrader.org Initial settings of the trading strategy: Working timeframe: M5; Currency pairs: EUR/USD, GBP/USD, AUD/USD; Trading indicators: Parabolic SAR (0.011, 0.11) on the chart, SMA (8) on the chart, MACD (5, 8, 9) in a separate window with Parabolic SAR (0.01, 0.1) built on its readings. Trading strategy rules: Set the proposed indicators on the selected trading instrument. Buy position opens when...
Читать далее » -
In the 70th issue of ForTrader.org we will consider a simple scalping strategy for the currency market, based on a combination of standard indicators from the familiar MetaTrader 4 terminal. This scalping trading strategy works on the lowest timeframes of currency pairs EUR/USD, AUD/USD, GBP/USD. Trading strategy parameters: Currency pairs: EUR/USD, AUD/USD, GBP/USD; Timeframes: M1 and M5; Indicators: - SMA (50) for M1; - SMA (21) for M5; - CCI (45), 100 and -100; - Parabolic SAR (0.02, 0.2). All indicators are applied to the chart in a standard way. As a result, your working chart should look as follows: Rules of work on the trading strategy A sell transaction is made when the...
Читать далее » -
Dear readers, in this issue we will look at the RSI-Profit trading system. It is quite simple and uses popular indicators RSI, Moving Average and Parabolic SAR to determine signals. It will suit both novice traders and speculators with trading experience. Trading strategy rules For trading, as mentioned above, we use the following indicators: - Parabolic SAR - standard settings; - RSI with a period of 8, built on the weighted closing price; - exponential moving average, which is built on the values of the RSI indicator (let's call it RSI_MA). The i-MaOnRSI indicator, which combines the latter two in one window, was written for convenience. The signal to open the deal to buy:...
Читать далее » -
The indicator is fresh and colored Multi Pair 16 indicator is very fresh, it was written in January 2011. It actually represents a kind of poster in a chart window showing: - the currency pair name; - brief information of MA and MACD, - plan of future movement "up and down"; - confident inscription of necessary actions of a trader - "Buy or Sell"; - percentage of currency pair growth. Of course, this indicator could still be described, but as the proverb says "See once" (see Fig. 1). Fig. 1. The Multi Pair 16 Indicator on the chart. If you look at Fig. 1, you will immediately...
Читать далее » -
In this issue, we will examine a strategy based on three indicators, a full description of which you can find in the Trading Strategies section of the ForTrader.org magazine. And we will only briefly outline the rules. So, this trading strategy has been developed for the market and the currency pair EURUSD. It is a scalping strategy, and all the main action takes place on the timeframe M5 between 10:00 and 6:00 am GTM time. So, in fact, it is another tactic of pipsing for the night flat. To trade we use the following indicators: - Exponential Moving Average EMA (120) applied to Median Price (HL/2); - Laguerre indicator, which must be set with 0,...
Читать далее » -
Kryukov P. A., Kryukova V. V. Kemerovo The dynamic indicator - loss coverage ratio as an element of mechanical trading system structure, which allows to trade with minimal losses at the expense of realization of situational control of currency position management, is considered. Introduction When in the mechanical trading system (MTS) the strategy rules are formulated (formalized) with the participation of mathematical models (formulas) it is very important to determine the moment, when there is the need to update the parameters (ratios) of the model equation, saving your own funds in the process of trading as much as possible, as well as to implement situational (operational) control of trading results. To this end, we propose to use a dynamic indicator - the coefficient kt, which reflects the current efficiency of trade and shows the ratio of excess (shortage) of cash receipts...
Читать далее » -
Kryukov P. A., Kryukova V. V. Kemerovo The article considers a generalized index of the point evaluation of the suitability of a mechanical trading system for real trading, the threshold values of which determine its gradation: suitable, limitedly suitable, unsuitable. The structure of the index includes the indexes of strategy efficiency, which are obtained at the stage of trading system development. Introduction There are no specific proposals in the scientific literature on the use of a generalized assessment of the suitability of a mechanical trading system (MTS) at the stage of development. In our opinion, such an assessment is necessary, it will increase the effectiveness of developed trading strategies at the stage of MTS operation. We suppose that the evaluation of MTS' suitability should reflect the commonality of results of optimization, forward testing and evaluation of the trading strategy (TS) significance. The result of this assessment is the attribution of MTS.
Читать далее » -
Kryukov P. A., Kemerovo The article considers a mechanical trading system for the instrument EURUSD, which implements the trading strategy, the formal basis of which is a statistical model for analyzing and predicting the dynamics of the exchange rate - an indicator of the probability of rising/descending trend. With the development of computer technologies and means of communication, the Internet appeared an opportunity to automate the process of making decisions in the form of a mechanical trading system (MTS) of a trader, allowing to formalize trading rules and scientifically ground elements of the accepted trading strategy (TS). Research, experience in creating prognostic MTS on financial markets are practically not presented in the scientific literature. A detailed description of the methodology of modeling the dynamics of the exchange rate in the framework of the new approach, a rigorous justification of the models are given in the previous work of the author...
Читать далее » -
A detailed check of the efficiency of the investigated trading tactics in the MetaTrader 4 (MT4) strategy tester requires the quotation history of a particular trading instrument. The deeper and more complete is the quotes history, the more market situations can be simulated. The available history depth in MT4 is measured in candles (bars). By default, the number of available history bars in the terminal is set to 512 000 (main menu "Tools" -> "Settings", "Charts" tab), and the maximum number, visible in the window, is 65 000 (see Fig. 1). Fig. 1. MetaTrader 4 terminal settings. This amount of history is sufficient if we are talking about large timeframes: monthly, weekly and daily. The lack of data will be felt particularly strongly...
Читать далее » -
The magazine publishes numerous reviews of expert advisors and their performance: some are more successful, while others are immediately considered unprofitable, which is also a result in itself. But the efficiency of an Expert Advisor, when examined thoroughly, is a complex result of: 1) the trading strategy used (the algorithm for generating the opening-closing signals); 2) the money management techniques applied (the algorithm for managing the lot size); 3) the program, written in MQL, which is exactly as described in the first two points (presence of logical errors) and that it contains no unintended side effects. For the first two points much has been written, and now I'd like to dwell on some delicate issues of MQL usage, that haven't found any reflection or mentioning in MQL descriptions...
Читать далее » -
The trading advisor Puria is well known among traders. The algorithm of the Expert Advisor is widely described on the Internet. The original description of the working principle of the Expert Advisor was as follows: Indicators used: 1. Moving Average MA (85), Linear Weighted applied to Low, red; 2. Moving Average MA (75), Linear Weighted applied to Low, red; 3. Moving Average EMA (5), applied to Close, yellow; 4. MACD Indicator (15, 26, 1). Entry into the market to sell: yellow moving average crosses 2 red ones from top to bottom, MACD confirms the signal if it is below zero. Buy entry: yellow MA crosses both red ones downwards, MACD confirms the signal if it is below zero...
Читать далее » -
In this issue we will consider a strategy based on four indicators, standard for MetaTrader 4 trading terminal and popular among traders: Moving Average, CCI, RSI and Parabolic SAR. The algorithm of the trading strategy is described in details on the website of the magazine, and we would like to offer you the results of the tactics automation. BeeJay Trading Strategy Rules To begin with, let us briefly outline the rules of trading according to the chosen strategy. To begin with, we will set the indicators on the working chart. We will need: - Exponential Moving Average EMA (8) - color blue, apply to close; - Simple Moving Average SMA (26) - color orange, apply to close; - Commodity Channel Index indicator - CCI...
Читать далее » -
In recent times, advisors that trade in conjunction with a certain time of day or day of the week have begun to appear and to be discussed. For example: allow (disallow) to the Expert Advisor operations with orders linked to the time of the end of the Asian trading sessions. Tying the time of exchange sessions to the trading strategy of a robot-advisor may appear a very promising "fresh stream" in the technique of programming trading robots, but... Being a person actively involved in experiments with trading programs, I wondered beforehand: "And what time we see under quotation curves and what time should the Expert Advisor be bound to? Some answers to this question seemed to me so curious that I decided to draw everyone's attention to them...
Читать далее » -
As it turned out, the trading robot was unable to perform trading operations during the whole month. It happened because of a fairly trivial error: The terminal settings did not allow the Expert Advisor to perform trade operations. For the sake of purity of the experiment I didn't even look at the server to see what was going on. And it played a cruel joke. However, it does not prevent me from making some amendments in the Expert Advisor's code. This time let's take a look at the risks. Supplement №1: I am a supporter of very conservative trading systems where deals are kept open for many months and risks are strictly controlled. In the case of this trading robot, we have a completely different picture. Trading Expert Advisor makes trades,...
Читать далее »