Skip to content

Tutorial 100 | Building an app using the Optimizer API

How to build a trading app using the Optimizer API

Welcome to Markplex tutorial 100 in this collection of tutorials designed to help you learn TradeStation EasyLanguage programming skills. Please join our email list if you have not already done so and we will let you know when we release new tutorials or programs.

This tutorial applies to TradeStation (but not MultiCharts).

If you are interested in using the Optimization API with multiple data streams (i.e Data2, Data3 etc), I have written some training materials, including demonstration programs here, available to Gold Pass members.

TradeStation version 9.5

The tutorial 100 app. The green bar displays the progress of the optimization and the number beneath the buttons show the best net profit so far in the optimization.

One of the exciting new features of TradeStation 9.5 is the new Optimization API. This API allows you to perform powerful new kinds of optimization – over multiple symbols, multiple intervals and more.

TradeStation has produced some excellent documentation and training materials to accompany this new feature. Tutorial 100 demonstrates how to create a simple trading app to optimize two strategies across multiple symbols and bar lengths. I also demonstrate some of the features of forms to show the progress of an optimization and to allow the user to specify the symbol to be optimized.

I anticipate that there will be many trading apps available based on the optimization API, however it is sometimes useful to be able to create something very simple to meets your specific needs.

This tutorial program (a version similar to those demonstrated in videos 1 and 2) is available for immediate download for only $19.95. 

Gold Pass members get an additional 20% discount off all program and tutorial prices. If you are a Gold Pass member make sure you enter the special coupon code to get 20% discount off these prices. You can find the coupon code on the Gold Pass page.

Tutorial 100 video – part 1

For best results, watch these videos in full screen HD mode.

Tutorial 100 video – part 2

Tutorial 100 video – part 3

This tutorial program is available for immediate download for only $19.95. 

Gold Pass members get an additional 20% discount off all program and tutorial prices. If you are a Gold Pass member make sure you enter the special coupon code to get 20% discount off these prices. You can find the coupon code on the Gold Pass page.

TO THE BEST OF MARKPLEX CORPORATION’S KNOWLEDGE, ALL OF THE INFORMATION ON THIS PAGE IS CORRECT, AND IT IS PROVIDED IN THE HOPE THAT IT WILL BE USEFUL. HOWEVER, MARKPLEX CORPORATION ASSUMES NO LIABILITY FOR ANY DAMAGES, DIRECT OR OTHERWISE, RESULTING FROM THE USE OF THIS INFORMATION AND/OR PROGRAM(S) DESCRIBED, AND NO WARRANTY IS MADE REGARDING ITS ACCURACY OR COMPLETENESS. USE OF THIS INFORMATION AND/OR PROGRAMS DESCRIBED IS AT YOUR OWN RISK.

ANY EASYLANGUAGE OR POWERLANGUAGE TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (AND PARTS THEREOF) AND ASSOCIATED TECHNIQUES REFERRED TO, INCLUDED IN OR ATTACHED TO THIS TUTORIAL OR PROGRAM DESCRIPTION ARE EXAMPLES ONLY, AND HAVE BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES. MARKPLEX CORPORATION. DOES NOT RECOMMEND THAT YOU USE ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (OR ANY PARTS THEREOF) OR TECHNIQUES. THE USE OF ANY SUCH TRADING STRATEGIES, SIGNALS, STUDIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS AND TECHNIQUES DOES NOT GUARANTEE THAT YOU WILL MAKE PROFITS, INCREASE PROFITS, OR MINIMIZE LOSSES.

If you see any errors in this tutorial – or we have not made something clear, we would be most grateful if you could please let us know. E-mail us at: tutorials@markplex.com. Also, let us know if you have any ideas for new tutorials.