Automated Forex Systems Trading - Research on How to Start Automated Trading
As a trader if you are looking to automate your Forex trading and come up with automated forex systems, you might be doing some research on how to start automated trading. The example below shows a currency pair chart along with where an automated system is supposed to generate signals and which signals it should generate.
Automated Forex Systems
The above examples is a manual system that uses the rules below to generate trade signals.
Long Entry
Both Moving averages heading upward
RSI above 50
Both Stochastics going upward
Both Moving averages moving downwards
RSI below 50
Both Stochastics going downwards
These signals in the above examples are shown with red & bluelines.
To automate this system, all you've to do is to use the above trading rules to write down the code for your automated forex systems.
So to automate a buy trading signal, your automated system will use this pseudo code, but you will have to program it using the programming language of your trading platform. For Examples you'll have to number it in MQL4 programming language, or what is basically C + + programming language.
Pseudo-code
If 7 SMA is greater than 5 SMA & RSI is greater than 50 and stochastic % D period is greater than stochastic %K period:
Then Signal = Buy:
To automate the sell Signal
Pseudo-code
If 7 SMA is less than 5 SMA & RSI is less than 50 and stochastic %D period is less than stochastic % K period:
Then Signal = Sell:
To automate the above system all you have to do is to translate the above pseudo code to your platform programming language or alternatively ask traders in forums such as MQL4 Code Base community to translate it for you into a trading program or hire a programmer to do it for you.
If you can have a programmer to program it with the red & blue-line showing when the trading signals are generated like in the above screenshot the better for you, because the system will illustrate where the signals are getting generated & you can even look at how it would have historically traded the market on your chart.
The complete Forex system along with rules is shown below, the above version of this system has been simplified for programming purposes.
Learn MQL4 EAs Forex Programming & Coding
When it comes to Automated Trading then traders need to learn a bit of coding to make their own automated forex systems or they can have their system coded or programmed by other traders such as those you find on online communities specifically the MQL5 community.
Next thing to do is to test thoroughly using a program such as the MT4 Strategy Tester. This provides an environment where as a trader you can test your automated system on any currency pair & on any time-frame you select either using ticks or other different parameters you want your system to use.
The next thing you need to do is to refine your system so that it makes a good profit on your trading account. This automated system should be tested on a practice demo account.
After you test your automated forex systems on a demo account then to trade the market you need to hire a VPS - Virtual Private Server , that can run your Forex Expert Advisor 24-7, the Forex Expert Advisor cannot run on your computer 24-7 and if it can there might be interruptions on the inter-net connectivity. This is why you need to hire a VPS to host your Forex EA on. A VPS costs anything between $30 - $100 dollars per month even more depending on what VPS specifications you want. The cost will depend on the memory of the server, the disk space you want and the band-width that your system will take up when placing trades. So the more trades the more bandwidth you require.
If your system is profitable enough to pay for VPS hosting fees then you can host it with a currency broker that will provide you with this VPS hosting & then open an account with broker where it will trade & place trades. Alternatively there are many other companies that provide VPS for forex Expert Advisor hosting as a service on its own. As a trader once you buy VPS Hosting, then the hosting company will illustrate to you how to install the MT4 of your broker on this VPS and then install your EA and how to login remotely to this VPS server, from your computer and change any settings of your Expert Advisors. The VPS server is a specialized computer which runs 24-7 without need to shut it down after a few hours.
On the VPS, your VPS provider will pre install MetaTrader 4 software from your broker, & you will connect to the server remotely using the Remote Desktop Protocol and that way you will have access to the server, the platform & your Expert Advisors. VPS will run 24-7 and you as a trader can use access it anytime from anywhere.
If your automated forex systems requires to be online throughout the week and then VPS should be a good option, your Expert Advisor will be online 24 7, VPS machines don't require to shut down and can run continuously 24 7.