Welcome to tutorial 29 in this series to help you learn TradeStation EasyLanguage programming skills to, potentially,help in your forex, commodities or stock trading.
This tutorial was originally created using TradeStation version 8.6. It may not work with earlier versions.
This video tutorial aims to show you how to create a rectangle or box using EasyLanguage. In particular, it demonstrates the use of TL_New, TL_GetEndDate, TL_GetEndTime, TL_SetEnd, TL_SetEnd etc.
The unprotected program for version 8.7 and above is available for immediate download for $19.95 here:
The program works in TradeStation versions 8.7, 8.8 and 9.0 and is commented throughout.
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 29 Video – How to create a box using TradeStation EasyLanguage
The unprotected program for version 8.7 and above is available for immediate download for $19.95 here:
The program works in TradeStation versions 8.7, 8.8 and 9.0 and is commented throughout.
Part 2 – Add descriptive and dynamic text to the box
In part 2 of tutorial 29 I demonstrate how to add text to the box. I add text to the top (yellow) line such that the text displays the current price level of the line and its position is adjusted when the yellow or teal lines are moved. The value is changed when the yellow line is moved.
I also add text to show the price level of the red line. Similarly, the value of this text is adjusted when the red line is moved and its location is adjusted when the red or teal line is moved.
Finally, text is added next to the teal line at the average of the top and bottom lines, to show the time value of the line. The value is adjusted if the teal line is moved. Its location is adjusted if either the red or yellow lines are moved.
Sounds complicated? Watch the video…
The unprotected program for version 8.7 and above is available for immediate download for $19.95 here:
The program works in TradeStation versions 8.7, 8.8 and 9.0 and is commented throughout.
If you see any errors in this tutorial – or I have not made something clear, I would be most grateful if you could please let me know. You can e-mail me at: tutorials@markplex.com. Also, let me know if you have any ideas for new tutorials.