Skip to content

Tutorial 65 | Using manually drawn lines in EasyLanguage programs-part 2

tut65

Welcome to tutorial 65 in this series of tutorials designed to demonstrate TradeStation EasyLanguage programming techniques.

Tutorial 64 demonstrated how to draw a line on a chart using the TradeStation drawing tool and then, using EasyLanguage programming techniques, find the reference of the line and use the reference to find the values along the line. This tutorial expands on this idea by drawing the values to each end of the line and placing the difference of the two end point values multiplied by a user input multiplier in the middle of the line (with some restrictions, see below.)

The tutorial allows the user to specify the colors of the text objects and the line itself.

The tutorial demonstrates the use of a method that includes the line processing functionality. It also uses the new TradeStation timer to look for changes in the line position and DateTime and TimeSpan objects. I explain the program in the video.

Tutorial 65 Showing a hand drawn line and values at the end of it and the middle value
Tutorial 65 Showing a hand drawn line and values at the end of it and the middle value

An in depth video, below, explains the tutorial in detail. The unprotected program for version 9.0 is available for immediate download for $24.95 here.

The program works in TradeStation version 9.0 and is commented throughout. The program has been tested on intraday, daily, weekly and monthly charts.

Please join our email mailing list if you have not already done so and we will let you know when we release new tutorials or programs.

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.

Tutorial 65 Video – EasyLanguage analysis of manually drawn lines

An in depth video, below, explains the tutorial in detail. The unprotected program for version 9.0 is available for immediate download for $24.95 here.

The program works in TradeStation version 9.0 and is commented throughout. The program has been tested on intraday, daily, weekly and monthly charts.

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.

EasyLanguage is a programming language that is part of the TradeStation trading platform. It can be used to write programs to help in the technical analysis and trading of foreign exchange (forex or FX), commodities (e.g. the Dow e-mini, S&P e-mini etc), options, and stocks.