Experienced traders are aware that the most effective trading indicators are those capable of minimizing lag, filtering out unnecessary noise, and promptly adapting to sustained market fluctuations. The Hull Moving Average (HMA) appears to meet these criteria. This automated trading system uses two HMA indicators, one with a fast period and one with a slow period to identify when they cross each other, when this happens a buy or sell trade is opened with a configurable lot size and a stop loss and take profit in pips.
In the realm of financial analysis, employing a longer time frame for the Hull Moving Average can serve as a valuable tool for trend identification and observing the upward movement of the indicator, it shows the trend is on an upward trajectory. This situation implies that it might be more advantageous to consider entering long positions. Also, when the indicator shows a downward trajectory, it shows that the prevailing trend is also declining. In such instances, it may be worth entering short trades.
HMA cBot is provided with full source code by Spotware.com
How To View The Source Code
To view the source code for this cBot, you will first need to make sure you have downloaded and installed cTrader Desktop, you can also scroll to the bottom of this page for instructions on how to install the cBot. Once installed you will have the cTrader application open, next you need to navigate to the Automate application and click on the name of the cBot, the source should show in the right-hand window.
If you need more help watch a video tutorial on how to use cTrader Automate.
How to Attach Indicator to Chart
You do not need to attach the Hull Moving Average indicator to your chart when you run the cBot, but it is a good idea to visually see the indicator to check your trade rules for opening and closing trades and any risk management.
Learn Algorithmic Trading
In this instructional guide, we aim to assist you in acquiring the necessary skills to engage in market trading through automated trading strategies (cBots) using the cTrader Desktop trading platform. By the conclusion of this tutorial, you will gain the confidence to employ a cTrader cBot alongside the Algo application of cTrader, enabling you to automatically execute and handle your market orders. This course is designed to familiarize novice traders with the fundamental principles of algorithmic trading utilizing the cTrader platform.
Learn Microsoft C# for Algo Trading
If you are new to coding your own cTrader cBot for automated trading the following Microsoft C# course will help you modify the starter kit cBot in this download to add new features for your own personal trading strategy.
Algorithmic Trading Facts
A significant number of traders venture into algorithmic trading with the misconception that they have discovered a foolproof strategy that guarantees effortless wealth. However, this notion is far from reality. It is crucial to read this article, as it can save you valuable time and money.
How To Install & Remove
First, make sure you have the cTrader trading platform installed and then simply unzip the file and double-click on it to automatically install it onto the platform.
If you have any questions, please first search our coding help forum for the answer, if you cannot find it, post a new question.
Need Coding Help?
We can help you modify this cBot for your own personal trading strategy, contact our team for a quote.
Need a Broker
If you are still looking for a broker you can trust, take a look at our best cTrader broker site.