5 Best Indicators and Tools for Creating Trading Robots

by FX EA Review
5 Best Indicators and Tools for Creating Trading Robots

Trading robots, also known as algorithms or bots, are tools used by advanced traders to automate their trades. They are also excellent means to help traders identify potential entry and exit signals in the market. Programmers use a combination of maths and technical indicators to build these bots. In this article, we will look at the popular tools they use to build quality algorithms. 

Moving averages

Moving averages (MA) are the most popular technical indicators in the market. They are classified as lagging indicators because they use historical data to help you predict what will happen in the future. Most importantly, MAs are the building blocks of other indicators like Bollinger bands, envelopes, and Donchian channels.

There are several types of moving averages, including:

  • Simple moving average (SMA). This type of MA is calculated by simply adding the closing or opening price of an asset and then dividing by the total. While it is a popular MA, it tends to be a bit lagging.
  • Exponential moving average (EMA). This MA is relatively similar to the SMA, but it reduces the lag by providing more weight to recent prices. 
  • Weighted moving average (WMA). The WMA also reduces the lag by providing more weight to the recent prices and less weight to those in the distant past.
  • Hull moving average (HMA). The Hull MA also reduces the lag, minimizes noise, and then increases the responsiveness of the average.

Other types of MAs are Smooth MA, Least Squares MA, and Arnaud Legoux MA. 

EUR/USD with a 25-period WMA, EMA, and SMA

EUR/USD with a 25-period WMA, EMA, and SMA

A popular way of using MAs in robot development is to use the concept of combining longer and shorter moving averages. In this case, a trading robot can generate a buy signal when a 25-day EMA makes a bullish crossover with the 15-day EMA. 

Another way of using the indicators in robot development is to initiate or end a trade once an asset crosses a specific moving average. 

Example of using exponential moving averages to create a bot

Example of using exponential moving averages to create a bot

Relative Strength Index (RSI)

The Relative Strength Index (RSI) is another popular indicator used in creating trading robots. The indicator was developed by Welles Wilder, the same person who created the Parabolic SAR and the Average Directional Movement Index (ADX). 

Most algorithmic traders use the RSI as a signal of when to buy and when to exit a trade. Ideally, a buy signal emerges when the price moves below the oversold level of 30, while a sell signal happens when the RSI moves above 70. In most cases, better buy signals usually emerge when the asset’s price is deeply oversold, meaning that the RSI is below 10. 

Therefore, in this case, a robot developer can easily put the instruction to buy when the price is oversold and then sell when it is overbought. 

This is not the only way. Another popular strategy is to combine the RSI with another indicator like the double EMA. For instance, a robot developer can program the bot to initiate a buy trade only when the RSI is overbought, and when the shorter and longer-term moving averages make a bullish crossover. 

Using RSI in bot creation

Using RSI in bot creation


The Moving Average Convergence and Divergence (MACD) is also a popular indicator among trading bot developers. As the name suggests, the indicator simply subtracts longer and shorter MAs. As a result, it is both a trend-following and a momentum indicator. 

Technicians use several approaches when creating robots using the MACD indicator. The most common method is to look at the areas when the fast- and slow-moving averages of the MACD cross over. 

A buy signal or trade can be implemented when, after a sharp decline, the two moving averages make a crossover. The trade should remain open until the two averages make another crossover. 

Like the RSI, a trading algorithm can have an MACD and several other indicators to ensure that there is a stronger trading signal. The most popular indicators that are combined with the MACD are Bollinger bands, Average Directional Index (ADX), and the Awesome Oscillator. 

Example of how to use MACD in creating robots

Example of how to use MACD in creating robots


Unlike the previous three tools, TradingView is not a technical indicator. Instead, it is one of the best trading platforms in the world. Indeed, all the charts used in this article are from TradingView.

For starters, TradingView’s platform has several tools that are excellent for robot creators:

  • It has hundreds of basic technical indicators like the Bollinger bands, Relative Vigour Index, and the Average True Range (ATR), among others. Most importantly, it has a large collection of custom indicators from developers from around the world. 
  • The platform has a Pine Editor, which you can use to write your code. The editor is relatively easy to use for people experienced in coding and maths. 
  • TradingView has a quality strategy tester that allows developers to backtest their trading bots. This is usually the most important stage when creating a bot because it will help you know whether your robot will be effective or not. 

Other important tools available in TradingView that will help you build better robots are the economic calendar, charting tools like the Fibonacci retracement, and harmonic patterns.

TradingView showing the Pine Editor and Strategy tester

TradingView showing the Pine Editor and Strategy tester

MQL 4/5

The MQL is an important platform powered by the developers of the MetaTrader 4 and 5. The platform has loads of features, including a marketplace where you can buy custom-made bots and a place where you can download robot scripts. 

For people without a vast robot-creation experience, these scripts can help you create your own algorithms. Most importantly, it has hundreds of already-written scripts that you can either copy or use to create your bots, as shown below.

Accessing MQL 4 & 5 code library

Accessing MQL 4 & 5 code library


The future of day trading is in automation and robots. Indeed, many high-frequency trading hedge funds have beaten the market by embracing these techniques. A good example is James Simmons, who runs Renaissance Technologies, a hedge fund that mostly employs mathematicians and programmers. 

To be fair, not everyone can build a good and efficient bot. If you are just starting out, you need to have quality programming and trading experience. Without these skills, your best option is to use manual trading or buy already-made robots. 

You may also like

Leave a Comment