Training for Book Authors
|
|
Other Resources for Book Authors & Publishers
|
|
Please Support Our Advertisers
|
|
|
|
|
Automated Trading Systems For Financial Markets And Recommendations For Their Usage
Copyright (c) 2007-2023 Nikita Laukhin
(See This Article in its Original Format.)
1. Introductions
Today, using information and trading platforms has become a de facto requirement for successful trading in the financial markets. Their advantages as compared to conventional trading schemes include, for example, an unprecedented speed of processing and delivery of information to end users, the level of integration with data providers, and a wide array of built-in technical analysis instruments.
At the same time, an investor opening an account with a brokerage firm simply cannot simultaneously manage the real-time analysis and trade in more than 4-6 financial instruments in several markets 24 hours 7 days a week. This brings about the need to employ automatic trading systems in the form of runtime environment with client and server parts and the programs to control these systems (scripts).
2. Comparative Analysis of the Problem Area
Various software components embrace the entire target sector of the market--from analytics and forecasting to complex trade and administration. The components of a trading platform provide its clients--brokers, dealers, traders, financial analysts and advisors--just the service they need at the very moment they need it, from immediate round-the-clock access to information of concern by means of mobile devices, to multi-move trading operations in the major client terminal.
The software market offers a great many of information and trading platforms that differ, first of all, in the functionality of the client and server parts, and the list of services provided by the financial company once an account has been opened. However, only a relatively small number of software solutions include the components that automate trading.
2.1. MetaTrader4-based Solutions
One of the world's most widely used trade platform products is apparently MetaTrader4, developed by MetaQuotes Software Corporat?on for Forex market trading. The platform includes an integrated development environment (IDE) MetaEd?tor, intended for writing scripts in a programming language called MetaQuotes Language, or MQL4 for short. The language's syntax is based on the classic C language syntax, and the flow logic has not been significantly changed since the previous version of the platform that used MQL II as the programming language.
The new automated trade framework is, undoubtedly, an evolution of the previous one. Both languages feature good functionality, with an optimum set of built-in trading and utility functions which is quite sufficient to implement the basic operations, and a facility to define custom functions to help implement non-standard ideas.
From the programming point of view, MQL4 is much more convenient that its predecessor; this language is more oriented at professional programmers, while MQL II, in my opinion, will rather suit financial experts wishing to build trading programs (or trading advisors, in the MetaQuotes terminology) of their own.
2.2. Omega Research-based Solutions
In the New World, the vast majority of companies use the Omega Research platform developed by TradeStation Securities, Inc. This platform has long ago proven its worth at the worldwide market, and to date experts consider it to be the best system for technical analysis. The provided IDE called Omega Research PowerEditor is intended to create control programs in EasyLanguage (EL).
The language's major advantage that strikes the eye is the easiness (hence is the name) of placing opening and closing orders. The corresponding program instructions can be written such as if we were formulating an order to our broker in the plain human language. In MQL4, for example, placing an order to open a position would involve specifying about a dozen of various parameters. In EasyLanguage, the same can be expressed in a short statement using a few words. Working with technical indicators is about that simple, too. But don't fall under an illusion: when creating these simple commands, language developers sacrificed the functionality and limited the possible ways of using a particular function, therefore effectively depriving the IDE users of the opportunity to accurately implement their own algorithms.
TradeStation decided not to create extensive libraries of built-in trading and utility functions but to limit to only an essential set. As the platform advanced, the number of functions written by both in-house and third-party developers grew, and TradeStation simply included them as user-defined functions into the repository of its scripts. As a result, the functionality offered to users is not in the least scarcer than that of MetaQuotes product.
PowerEditor provides a built-in dictionary that lets user search and get help on the available functions. Another handy tool worth mentioning is the strategy builder. Using the strategy builder, the user can easily create a basic algorithm for his or her trading program, and then modify and adjust it as necessary.
EasyLanguage is an old-timer and pioneer in the field of creating automated trading systems for the stock market. It was the basis for the development of MQL II. EasyLanguage will be a good choice for programmers, but still a better one for financial experts more oriented at analyzing the market than trading.
2.3. ProTrader-based Solutions
Professional financial experts can choose the ProTrader2 or ProTraderFX platform as their working tool, depending on the type of the financial market--stock or Forex, respectively. The two platforms are developed and supported by PFSoft LLC. While featuring the specially developed ProTrader Language (PTL), the provided IDE named PTL Builder offers also the opportunity to create scripts in MQLII, MQL4 and EasyLanguage. For this, the text of the program is translated to a language-independent code. Therefore, at runtime it does not matter in which language the script was written. This technology does not only enable creating new scripts, but makes it possible to use freely the entire accumulated collection of scripts that many experienced traders possess.
The main idea put into the new scripting language was to ensure maximum reliability and predictability of the scripts being run. The PTL language is built so as to minimize the possibility of making a mistake in the text of a user's script--the potentially dangerous points will be detected even before the script is tested or launched.
Regardless of the programming language chosen, the platform works with verified managed code while running the script. This Microsoft-developed technology enables proper handling of errors that cannot be detected before the script is run. This means the program will not fail and will not perform any unwanted operations that might be due to critical errors or damage caused by another program, for which the account holder would eventually have to pay.
The PTL Builder IDE will serve well both financial experts and programmers thanks to its support of different programming languages and provided tools such as tester and debugger.
3. Approaches for Creating Automated Trading Systems and Recommendations for Using Them
It hardly needs mentioning that choosing an information and trading platform should be taken with all seriousness. For those who plan to use an automated trading system in their business, below are some points I would recommend considering, based on my personal experience.
3.1. Choosing a Working Environment
First of all, define the type of tasks the automated trading system is to perform. These could be:
Actual trading: opening and closing positions in selected instrument(s). Secondary support-type functions. These could include placing protective orders, creating and sending out reports of notifications.
Analyzing the market with different technical analysis tools using your own algorithm.
Now, after you have studied user comments on the Internet and perhaps consulted your broker, proceed to getting the feel of the products offered. I strongly encourage you not to just have a cursory look, but to test the system for a day of two, thankfully, most of the large companies will let you sign up for a demo account for testing. Pay attention to both the convenience of the IDE and the tools that go with it, and to reliability and security of the control programs created with the IDE.
3.2. Creating a Control Program
If you are planning to create your own scripts, take the time to study the documentation for the programming language and the IDE. Naturally, for an automated trading system to be expertly organized, the scripts should be written by qualified professionals in the field of programming and finance. In case you wish to use one of the classic programs, remember that most of them are of trial, demonstration nature. They are good for testing the automated trading system or to be used as a basis for your own programs, but as self-sustaining, ready-to-use solutions they are of little avail.
If you decide to use programs written by third-party developers, keep in mind that good solutions will have to be paid for. The cost of one innovative strategy varies between $300 and $500, but the price for fine-tuned strategies that use advanced mathematical and economic techniques and especially for winners and runners-up of automated trading championships may exceed $1,000.
3.3. Testing Scripts
When using an automated trading system, always test your scripts. The procedure can be as follows:
1. Test the program in a script tester (if such facility is available in your IDE) several times, varying the chart period, the instrument being traded, and the program settings. Try to model the conditions close to the actual state of the market.
2. Test the script in a demo account (if such an opportunity is available). At this stage, it is important to let the program run for a sufficiently long time (it is defined by the period of the chart). Do not stop the test if the program has at once produced a big gain or a big loss. The usefulness of the script can only be estimated after it has worked for a significant amount of time.
3. Run the script in the live account. At this stage, it is not advisable to interfere with the script--for example, close the positions it has opened or modify their settings--or you can upset the internal logic of the program.
3.4. How Not to Fall Prey to Tricks When Choosing a Script
Remember that there are no absolutely perfect advisers. So, do not let them sell you the Brooklyn Bridge--if you had a system that brings in fabulous profits, would you sell it? There is only one advice--a rigorous comprehensive testing will help you get the right impression about the script offered.
Usually, script vendors describe their products with the results of their own testing. In most cases, however, such results are very slanted. Remember that testing should always be performed on several histories, or you can simply adjust to one history fragment and show sky-high results. Based on the NFL theorem, it is fair to say that it is impossible to create a script that would the best of all those existing, in all instruments.
Some professional programmers use sophisticated mathematical tools to endow their programs with artificial intelligence--neural networks, forecasting and evolutionary algorithms are no longer surprising. I would not recommend overestimating such systems--complex forecasting algorithms are very sensitive to errors and parameter settings, while simple schemes are not of much help to the advisor when it comes to generating trade signals, and can only be used to raise the price of the script.
4. Conclusion
In this article, I neither discuss any programming rules for creating the advisors, nor the specifics of writing scripts in a particular language. On these subjects, there are whole books written as well as a number of articles. My aim was to present several points which I think to be quite important but which have not been sufficiently covered in existing publications.
So, are automated trading systems your ally or enemy? When used carefully and without hasty judgments, an automated trading system can facilitate the financial expert's work and bring in certain profits. But when used incorrectly, incompletely tested, or having settings changed frequently, the automated trading system can lose the money you entrust to it.
Remember that an automated trading system is not going to do your job for you without any effort on your part. Use it to solve your existing problems and not add new ones.
5. References
1. MetaQuotes - developer of MetaTrader, MQL2 and MQL4
2. TradeStation - developers of TradeStation and EasyLanguage
3. PFSoft - developers of ProTraderFX, ProTrader2 and ProTraderLanguage
Nikita Laukhin - Automated Trading and Scripts Analyst of PFSoft Company at: http://www.pfsoft.com (38056) 785-5212 - International
|
VOTE ON THIS ARTICLE
Needs Work >>
0 -
1 -
2 -
3 -
4 -
5
<< Excellent Article
Tell our authors what you think about their article.
|
Top-Level Category: Computers Articles || Related Categories: Finance Articles
10 Most Recent Articles Written by Nikita Laukhin
Most Recent "Computers" Articles
To IPhone Or To IPad, That Is The Question
Written by: Dawn Carey |
Distributed: 2011-06-24 |
Word Count: 658 |
Page Views: 6248
| Votes: 4 |
Rating: 0.25
If your iPhone experience has ever left you wanting more,
then the iPad may just be the scratch your itch is looking
for.
Are Alienware Gaming Laptops Worth Buying?
Written by: Titus Hoskins |
Distributed: 2010-12-09 |
Word Count: 540 |
Page Views: 9090
| Votes: 12 |
Rating: 3.00
Alienware laptops have gained a large devoted fanbase, but
are these high-priced gaming laptops worth buying? Discover
why there are many angles to this question which you must
consider before buying that Alienware laptop.
Learn How to Identify, Diagnose and Replace Damaged Laptop LCD Screens
Written by: Erwin Leona |
Distributed: 2010-10-26 |
Word Count: 508 |
Page Views: 6022
| Votes: 5 |
Rating: 2.20
Consumers with broken laptop screens will usually take their
computer to an electronics repair store or replace the
laptop altogether. A broken laptop screen still has a
perfectly functioning machine underneath and with just a
screwdriver and a manual you can replace the screen yourself
and save. This task is much easier than it sounds and the
job can be done in less than an hour with the proper set of
instructions.
Is The Apple IPad The Perfect Student Laptop?
Written by: Titus Hoskins |
Distributed: 2010-08-03 |
Word Count: 816 |
Page Views: 6298
| Votes: 6 |
Rating: 2.17
Will the new Apple iPad turn out to be the perfect student
laptop? Only a close examination of the iPad features (and
missing features) will give you the answer.
Is Nvidia Optimus The Future Of Gaming Laptops?
Written by: Titus Hoskins |
Distributed: 2010-07-29 |
Word Count: 874 |
Page Views: 5706
| Votes: 2 |
Rating: 0.50
New Nvidia Optimus technology gives you switchable graphics
for enhanced visuals and longer battery life for your
laptop. But what will this new Optimus technology mean for
the future of gaming laptops?
Has 3D Gaming Finally Arrived?
Written by: Titus Hoskins |
Distributed: 2010-04-20 |
Word Count: 970 |
Page Views: 5695
| Votes: 7 |
Rating: 1.71
Dazzle them and they will come, or will they? We all know
the new 3D technology as seen in the popular film Avatar has
everyone enthralled, but will 3D have the same impact on
computer gaming? Are we on the verge of a visual gaming
revolution?
Roles and Responsibilities of a SAP MM Consultant
Written by: Varsha Vilankar |
Distributed: 2010-04-20 |
Word Count: 1255 |
Page Views: 13073
| Votes: 63 |
Rating: 2.90
Everyday there are thousands of people who discover the
prospects of a career in SAP. However, lack of knowledge
often takes them to mushroom schools that have sprung up due
to the high demand of SAP training. Varsha has attempted to
give an easy to follow roadmap that is drawn on a timeline.
Following this roadmap will ensure that students don't end
up as hit-and-run victims of mushroom schools that are run
by unethical businessmen and not educators. Midst of the
weakening economy and employment uncertainty, the last thing
you want is for someone to rob you of your savings and
precious time. Read this article to stay in touch for an
amazing career in SAP.
New Trends In Gaming Laptops
Written by: Titus Hoskins |
Distributed: 2010-03-10 |
Word Count: 695 |
Page Views: 6256
| Votes: 2 |
Rating: 0.50
Just what are the latest new trends in gaming laptops? Will
greater portability and 3D features become the latest trends
in gaming laptop design... read to find out.
Gaming Laptops Goes Mini-Me (Dell Intros Alienware M11x - The World's First Gaming Netbook)
Written by: Titus Hoskins |
Distributed: 2010-02-10 |
Word Count: 601 |
Page Views: 5206
| Votes: 2 |
Rating: 0.50
The whole concept of a gaming netbook is an intriguing idea
- take your gaming with you, no matter where you go. But can
the Dell Alienware M11x, which is being described as the
World's First Gaming Netbook, really capture the hearts and
pocketbooks of serious gamers?
Gaming Laptops - 5 Reasons To Put Them On Your Christmas List
Written by: Titus Hoskins |
Distributed: 2009-12-30 |
Word Count: 840 |
Page Views: 5198
| Votes: 5 |
Rating: 2.00
The Holiday Season is just around the corner and everyone
will be considering what to give as gifts this Christmas. If
you have more than a little cash to spare and you're
operating in a Non-Scrooge mode, here are 5 reasons why
giving a gaming laptop should be high on your list.
Most Viewed "Computers" Articles
SAP HR Training
Written by: David Sholmire |
Distributed: 2008-04-30 |
Word Count: 716 |
Page Views: 16832
| Votes: 82 |
Rating: 2.26
Learning SAP HR or (new name HCM - Human Capital Management)
module is not difficult at all if you have a qualified and
experienced instructor who loves to teach; If you have the best
of material that is geared towards certification; If you have
system that is carefully tweaked for optimal performance and if
you have an environment that is conducive to total learning.
Roles and Responsibilities of a SAP MM Consultant
Written by: Varsha Vilankar |
Distributed: 2010-04-20 |
Word Count: 1255 |
Page Views: 13073
| Votes: 63 |
Rating: 2.90
Everyday there are thousands of people who discover the
prospects of a career in SAP. However, lack of knowledge
often takes them to mushroom schools that have sprung up due
to the high demand of SAP training. Varsha has attempted to
give an easy to follow roadmap that is drawn on a timeline.
Following this roadmap will ensure that students don't end
up as hit-and-run victims of mushroom schools that are run
by unethical businessmen and not educators. Midst of the
weakening economy and employment uncertainty, the last thing
you want is for someone to rob you of your savings and
precious time. Read this article to stay in touch for an
amazing career in SAP.
Are Alienware Gaming Laptops Worth Buying?
Written by: Titus Hoskins |
Distributed: 2010-12-09 |
Word Count: 540 |
Page Views: 9090
| Votes: 12 |
Rating: 3.00
Alienware laptops have gained a large devoted fanbase, but
are these high-priced gaming laptops worth buying? Discover
why there are many angles to this question which you must
consider before buying that Alienware laptop.
How To Choose The Best Student Laptop?
Written by: Titus Hoskins |
Distributed: 2007-07-20 |
Word Count: 861 |
Page Views: 7486
| Votes: 8 |
Rating: 1.00
This article lists the different factors which make up the
perfect student laptop. If you're considering purchasing a
student notebook or laptop in the very near future, read this
article first...
2008 Application Development Trends: 'Building for Change' To Accommodate Today's Shifting Business Conditions
Written by: Anne Sych |
Distributed: 2008-02-06 |
Word Count: 441 |
Page Views: 7423
| Votes: 18 |
Rating: 2.28
Software developers and businesses alike can expect to see
significant changes in the year ahead in how applications are
developed. Research analysts are projecting that 2008 will
reveal a shift in the conventional development process, resulting
in more flexible solutions that can evolve with a company's
changing needs.
Top 5 Gaming Laptops - Quick Roundup
Written by: Titus Hoskins |
Distributed: 2008-11-10 |
Word Count: 1313 |
Page Views: 7052
| Votes: 11 |
Rating: 2.64
In the market for a gaming laptop? Here are 5 Top Gaming Laptops
you might want to put on your short list. Quick round-up of the
latest gaming rigs...
CISSP Advanced Security Certification Can Lead to a Lucrative Career for the Committed Computer Security Professional
Written by: Frank Pines |
Distributed: 2009-07-07 |
Word Count: 623 |
Page Views: 6763
| Votes: 14 |
Rating: 2.14
Within months of 9/11, computer security became one of the
hottest career choices in Information Technology (IT) departments
around the world.
Is The Apple IPad The Perfect Student Laptop?
Written by: Titus Hoskins |
Distributed: 2010-08-03 |
Word Count: 816 |
Page Views: 6298
| Votes: 6 |
Rating: 2.17
Will the new Apple iPad turn out to be the perfect student
laptop? Only a close examination of the iPad features (and
missing features) will give you the answer.
New Trends In Gaming Laptops
Written by: Titus Hoskins |
Distributed: 2010-03-10 |
Word Count: 695 |
Page Views: 6256
| Votes: 2 |
Rating: 0.50
Just what are the latest new trends in gaming laptops? Will
greater portability and 3D features become the latest trends
in gaming laptop design... read to find out.
To IPhone Or To IPad, That Is The Question
Written by: Dawn Carey |
Distributed: 2011-06-24 |
Word Count: 658 |
Page Views: 6248
| Votes: 4 |
Rating: 0.25
If your iPhone experience has ever left you wanting more,
then the iPad may just be the scratch your itch is looking
for.
Highest Ranked "Computers" Articles
Overclocking And Gaming Laptops: Getting Higher Performances For Less Money
Written by: Titus Hoskins |
Distributed: 2008-08-14 |
Word Count: 710 |
Page Views: 4471
| Votes: 6 |
Rating: 3.33
Many gamers and computer enthusiasts use "Overclocking" to
achieve higher performances from their computers for less money.
Learn about overclocking and discover how you can also get higher
performances for less money...
What Is The Difference Between Netbooks And Laptops?
Written by: Titus Hoskins |
Distributed: 2009-10-21 |
Word Count: 698 |
Page Views: 5720
| Votes: 5 |
Rating: 3.00
What are the main differences between netbooks and laptops?
Which one should you buy? If you're considering buying a
laptop in the near future, read this informative article
first!
Are Alienware Gaming Laptops Worth Buying?
Written by: Titus Hoskins |
Distributed: 2010-12-09 |
Word Count: 540 |
Page Views: 9090
| Votes: 12 |
Rating: 3.00
Alienware laptops have gained a large devoted fanbase, but
are these high-priced gaming laptops worth buying? Discover
why there are many angles to this question which you must
consider before buying that Alienware laptop.
Roles and Responsibilities of a SAP MM Consultant
Written by: Varsha Vilankar |
Distributed: 2010-04-20 |
Word Count: 1255 |
Page Views: 13073
| Votes: 63 |
Rating: 2.90
Everyday there are thousands of people who discover the
prospects of a career in SAP. However, lack of knowledge
often takes them to mushroom schools that have sprung up due
to the high demand of SAP training. Varsha has attempted to
give an easy to follow roadmap that is drawn on a timeline.
Following this roadmap will ensure that students don't end
up as hit-and-run victims of mushroom schools that are run
by unethical businessmen and not educators. Midst of the
weakening economy and employment uncertainty, the last thing
you want is for someone to rob you of your savings and
precious time. Read this article to stay in touch for an
amazing career in SAP.
Microsoft Excel For Online Marketers
Written by: Joe Cleland |
Distributed: 2008-10-07 |
Word Count: 749 |
Page Views: 4290
| Votes: 7 |
Rating: 2.71
Many folks mistakenly believe that Microsoft Excel is strictly
for accountants and bookkeepers, but it is really so much more.
The fine programmers at Microsoft have tried to think ahead to
how people would like to use spreadsheets, and they incorporated
most of that additional functionality into Microsoft Excel.
Maintaining and Troubleshooting Your Laptop Battery
Written by: Bill Platt |
Distributed: 2008-06-17 |
Word Count: 1038 |
Page Views: 6181
| Votes: 21 |
Rating: 2.67
The actual life of a laptop battery will vary with computer usage
habits. For most users, it is not uncommon to experience
differences in battery life, of anywhere from just under one hour
to over two hours in each sitting. If you are experiencing
shorter battery life cycles, say 10 to 15 minutes, it may not yet
be time to order that new battery.
The Check Point Certified Security Administrator (CCSA) Certification Will Prove Your Worth
Written by: Frank Pines |
Distributed: 2009-07-15 |
Word Count: 500 |
Page Views: 5820
| Votes: 15 |
Rating: 2.67
Are you looking for a career in Information Technology? The Check
Point Certified Security Administrator (CCSA) certification is a
good choice to add to your credentials as a Network Security
specialist. The CCSA has not only become a highly recognized and
sought after credential to help you get the job, it verifies your
knowledge and improves your practical application skills to help
you keep the job.
Top 5 Gaming Laptops - Quick Roundup
Written by: Titus Hoskins |
Distributed: 2008-11-10 |
Word Count: 1313 |
Page Views: 7052
| Votes: 11 |
Rating: 2.64
In the market for a gaming laptop? Here are 5 Top Gaming Laptops
you might want to put on your short list. Quick round-up of the
latest gaming rigs...
Toshiba Infuses Gaming Laptops With Triple Nvidia GPUs
Written by: Titus Hoskins |
Distributed: 2008-12-18 |
Word Count: 597 |
Page Views: 4910
| Votes: 8 |
Rating: 2.63
Toshiba stirs up the laptop gaming world with the first laptop
sporting triple NVIDIA GPUs or graphics cards. Have the best of
both worlds - powerful gaming performance and quiet operations in
one gaming laptop... read more.
What Makes Online Games more Fun?
Written by: Jon Wuebben |
Distributed: 2006-05-25 |
Word Count: 679 |
Page Views: 5378
| Votes: 14 |
Rating: 2.50
Role playing games, puzzle games, traditional games like chess
and backgammon - they are all becoming big in the online world,
with more and more people playing every day. So, what makes
online games more fun and what are the specific benefits one
can enjoy?
|
|
|
|
|
Article Reprint Rights
|

This work is licensed under a
Creative Commons License
You are not required to show the creative commons license notice when you reprint this work.
|
Article Statistics
|
Word Count: 2011
Total Views: 4277
Article Rating: 2.50 of 5
Votes Cast: 12
More Articles By Author:
Articles On This Website
Last Distribution Date:
2007-07-31 13:48:00
Internal ID: #5128
|
|
|