Tradestation Forex Strategy

Automated Trading Systems for Financial Markets and Recommendations for Their Usage

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 CorporatVon for Forex market trading. The platform includes an integrated development environment (IDE) MetaEdVtor, 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.
2.4. Solution Comparison

The above IDEs have their specific feature sets. The table below provides a summary comparison of the capabilities offered by each.

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:

  1. Actual trading: opening and closing positions in selected instrument(s).
  2. Secondary support-type functions. These could include placing protective orders, creating and sending out reports of notifications.
  3. 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

About the Author

Nikita Laukhin
Automated Trading and Scripts Analyst of PFSoft Company

TradeStation EasyLanguage video tutorial from Markplex.com

►SuperADX Indicator Tradestation Metatrader MT4 FOREX STOCKS FUTURES Trading ►
►SuperADX Indicator Tradestation Metatrader MT4 FOREX STOCKS FUTURES Trading ►
Paypal   US $199.00
High Probability FOREX System Strategy ANY platform indicator MT4 Binary Options
High Probability FOREX System Strategy ANY platform indicator MT4 Binary Options
Paypal   US $99.95
POWERFUL COMPOUNDING INDICATOR FOR FOREX TRADING SCALPS
POWERFUL COMPOUNDING INDICATOR FOR FOREX TRADING SCALPS
Paypal   US $70.00
ADVANCED FOREX INDICATOR DESIGNED FOR SCALPING SIGNALS
ADVANCED FOREX INDICATOR DESIGNED FOR SCALPING SIGNALS
Paypal   US $164.00
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 70
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 70
Paypal   US $59.95
Automatic Strategy EURUSD Tradestation Trade Win
Automatic Strategy EURUSD Tradestation Trade Win
Paypal   US $1,499.00
Stock Market Investment analysis Management Software
Stock Market Investment analysis Management Software
Paypal   US $18.00
Trade Builder Classic Edition powerful indicator
Trade Builder Classic Edition powerful indicator
Paypal   US $128.00
TRADESTATION METATRADER TRADING SYSTEM ABLETREND
TRADESTATION METATRADER TRADING SYSTEM ABLETREND
Paypal   US $59.95
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 70
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 70
Paypal   US $59.95
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 70
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 70
Paypal   US $59.95
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 70
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 70
Paypal   US $59.95
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 7
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 7
Paypal   US $59.95
TRADESTATION METATRADER TRADING SYSTEM ABLETREND
TRADESTATION METATRADER TRADING SYSTEM ABLETREND
Paypal   US $59.95
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 700
TRADESTATION METATRADER TRADING SYSTEM ABLETREND 700
Paypal   US $59.95
TRADESTATION NINJATRADER TRADING SYSTEM ABLETREND 70
TRADESTATION NINJATRADER TRADING SYSTEM ABLETREND 70
Paypal   US $59.95
NINJATRADER TRADESTATION TRADING SYSTEM ABLETREND 70
NINJATRADER TRADESTATION TRADING SYSTEM ABLETREND 70
Paypal   US $59.95
Tradestation FOREX Commodities Futures Trading Strategy
Tradestation FOREX Commodities Futures Trading Strategy
Paypal   US $5.95
$3000 Automated Trading System Series for TradeStation
$3000 Automated Trading System Series for TradeStation
Paypal   US $599.00
FOREX Trading Strategy w Tradestation Metastock Code
FOREX Trading Strategy w Tradestation Metastock Code
Paypal   US $17.95
P90ES Emini TRADING SYSTEM for TradeStation 9
P90ES Emini TRADING SYSTEM for TradeStation 9
Paypal   US $1,295.00
INTELLIGENT SCALPER Emini SYSTEM for TradeStation 9
INTELLIGENT SCALPER Emini SYSTEM for TradeStation 9
Paypal   US $1,495.00
Best Forex Signals Now

Candlestick and Pivot Point Trading Triggers + CD-ROM: Setups for Stock, Forex, and Futures Markets


Candlestick and Pivot Point Trading Triggers + CD-ROM: Setups for Stock, Forex, and Futures Markets


$46.85


In his first book, A Complete Guide to Technical Trading Tactics, John Person introduced traders to the concept of integrating candlestick charting with pivot point analysis. Now, in Candlestick and Pivot Point Trading Triggers, he goes a step further and shows you how to devise your own setups and triggers—in the stock, forex, and futures markets—based on a moving average approach.Note: CD-RO...

Building Winning Trading Systems with TradeStation (Book & CD-ROM)


Building Winning Trading Systems with TradeStation (Book & CD-ROM)


$48.90


Praise for BUILDING WINNING TRADING SYSTEMS with TradeStation (TM)"This book will prove vital to all systematic traders. Pruitt and Hill share a wealth of innovative timing patterns and fully disclosed trading strategies. For TradeStation(TM) users, there are powerful tutorials on indicator design and system building. The authors' vast expertise will benefit even practiced TradeStation(TM) veteran...

Tradestation Made Easy By Harris, Sunny J./ Cruz, Bill (FRW)


Tradestation Made Easy By Harris, Sunny J./ Cruz, Bill (FRW)


$72.49


Customize your trading plan for greater profits using the most popular charting software. The majority of professional and individual traders use some kind of trading software on which to base their strategies. With over 100,000 users, the most popular trading software today is TradeStation, published by TradeStation Technologies. While this software is favored by many, TradeStations computer language can be confusing, especially for the novice. TradeStation Made Easy is the first and only book to explain exactly how to use the unique computer language behind this bestselling software program. It is not meant as a replacement for the TradeStation manuals, instead it will cover the essence of programming in EasyLanguage and focus on a consistent set ofdata and an elementary system throughout. An easily understood guide to TradeStation that also provides tips for the user in designing a personalized trading system. Endorsed by the software provider TradeStation Technologies. Written in a straightforward manner, that is accessible even for those with little computer experience. TradeStation Made Easy fills a muchneeded gap in this area and puts the basics of EasyLanguage in perspective. With it, youll be able to write simple and intermediate programsthat will accurately express your theories and ideas about whatever market interests you. Author: Harris, Sunny J./ Cruz, Bill (FRW) Series Title: Wiley Trading Subtitle: Using EasyLanguage to Build Profits with the Worlds Most Popular Trading Software Publication Date: 2011/04/05 Number of Pages: 746 Binding Type: Hardbound Language: English Depth: 1.75 Width: 7.50 Height: 9.25

Building Winning Trading Systems With Tradestation


Building Winning Trading Systems With Tradestation


$63.75


This book is in New - Excellent condition

The Forex Mindset By Martinez, Jared


The Forex Mindset By Martinez, Jared


$39.85


Author: Martinez, Jared Subtitle: The Skills and Winning Attitude You Need for More Profitable Forex Trading Publication Date: 2011/06/23 Binding Type: Hardcover Language: English Depth: 1.00 Width: 6.25 Height: 9.25

Forex Revolution


Forex Revolution


$41.85


This book is in Used condition

Forex Simplified


Forex Simplified


$22.46


This book is in New - Excellent condition

Profiting With Forex


Profiting With Forex


$41.25


This book is in New - Excellent condition

Forex Conquered


Forex Conquered


$67.5


This book is in New - Excellent condition

The Detox Strategy


The Detox Strategy


$17.15


The Detox Strategy

The Detox Strategy:


The Detox Strategy:


$11.55


The Detox Strategy

Strategy


Strategy


$23.43


This book is in Used condition

Forex Revolution By Rosenstreich, Peter


Forex Revolution By Rosenstreich, Peter


$39.83


Author: Rosenstreich, Peter Subtitle: An Insiders Guide to the Real World of Foreign Exchange Trading Publication Date: 2011/03/15 Number of Pages: 277 Binding Type: Paperback Language: English Depth: 0.75 Width: 5.75 Height: 8.75

Forex Frontiers By Cavric, Ivan


Forex Frontiers By Cavric, Ivan


$66.79


Author: Cavric, Ivan Subtitle: The Essentials of Currency Trading Publication Date: 2011/09/01 Number of Pages: 228 Binding Type: Hardcover Language: English Depth: 0.90 Width: 6.25 Height: 9.00

Thirty Days of Forex Trading


Thirty Days of Forex Trading


$63.75


This book is in New - Excellent condition

The Forex Chartist Companion


The Forex Chartist Companion


$100.59


This book is in Used condition

Beat the Odds in Forex Trading


Beat the Odds in Forex Trading


$70.1


This book is in Used condition

The Forex Trading Course


The Forex Trading Course


$45


This book is in New - Excellent condition

Forex Shockwave Analysis


Forex Shockwave Analysis


$56.25


This book is in New - Excellent condition

Forex Made Easy


Forex Made Easy


$22.46


This book is in New - Excellent condition

Forex Patterns And Probabilities


Forex Patterns And Probabilities


$63.75


This book is in New - Excellent condition

The 10 Essentials of Forex Trading


The 10 Essentials of Forex Trading


$26.21


This book is in New - Excellent condition

Selective Forex Trading


Selective Forex Trading


$63.75


This book is in New - Excellent condition

Forex Wave Theory


Forex Wave Theory


$56.25


This book is in New - Excellent condition

ForeX Trading for Maximum Profit


ForeX Trading for Maximum Profit


$63.75


This book is in New - Excellent condition

Charting the Major Forex Pairs


Charting the Major Forex Pairs


$63.75


This book is in New - Excellent condition

Leave a Reply

You must be logged in to post a comment.