Automated Trading

  • Trading Strategies and their Automation In the New Year issue of ForTrader.org magazine we decided to go back to the roots and review trading robots that we had written before, but were already forgotten by our readers. A quick test of our Expert Advisors confirmed that it makes a lot of sense and you will see it. First of all, let us take the notorious 4-hour MACD strategy. Back in 2008, it showed quite stable results. In the next issues of our magazine we will discuss it in details and estimate its efficiency in the current market. For now, let us remember the rules. So, to work we'll need the currency pair EURUSD, MACD indicator (FastEMA=5, LowEMA=13) with levels -0.0045 and +0.0045, EMA(7),...

    Читать далее »
  • Trading strategies and their automation In the last 78th issue of ForTrader.org we began to look at my author's trading strategy called ProHvost, based on observations of Japanese candlestick charts. Let me remind you that the main idea of the tactics is the long shadows or "tails" that are often closed by the market. In order not to repeat them, I suggest you to refresh your memory on the basic rules. Let me also remind you that we have considered the success of the strategy only on the buy trades, promising that we will deal with the sales a little later. The time has come to keep our word. So, we will need the currency pair EURUSD and an hour timeframe. We open the chart and look for bars with long shadows.

    Читать далее »
  • Trading strategies and their automation In the 78th issue of ForTrader.org magazine I would like to conduct my personal research of trading strategies based on the observation of the behavior of Japanese candlesticks. Of course, we cannot say that the price behavior is always the same, but the "Head and Shoulders" pattern is many years old, and it is still actively used in the analysis of some or other exchange assets. A few words about the principles of the discovered pattern: while observing various combinations of candlesticks, I paid attention to their peculiarity to close excessively long shadows in the hour chart of the EURUSD pair. That is, as soon as the upper or lower shadow of a candle is big enough, we have a large shadow...

    Читать далее »
  • In the 77th issue of ForTrader.org we will consider a scalping strategy with a new method of market analysis, which we have never seen before in trading practice. We will work with the same standard trading indicators, which doubles the interest of the results. We hope we have intrigued you. Well, let's begin. Tools for work Currency pair: AUDUSD and others Time frame: M30 Indicators: MACD(24, 52, 18), EMA(100) Terminal: MetaTrader 4 Deposit: 1000$ As we see, it is true, we do not offer you anything new in the tools, so let us move on to the rules. So, let us start with the rules of the trading strategy...

    Читать далее »
  • 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...

    Читать далее »
Back to top button