Tutorial 29 - How to draw an adjustable rectangle or box using EasyLanguage
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 created using TradeStation version 8.6. It may not work in other versions - particularly early 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.
TO THE BEST OF BILLY FIRE LLC'S KNOWLEDGE, ALL OF THE INFORMATION ON THIS PAGE IS CORRECT, AND IT IS PROVIDED IN THE HOPE THAT IT WILL BE USEFUL. HOWEVER, BILLY FIRE LLC ASSUMES NO LIABILITY FOR ANY DAMAGES, DIRECT OR OTHERWISE, RESULTING FROM THE USE OF THIS INFORMATION, AND NO WARRANTY IS MADE REGARDING ITS ACCURACY OR COMPLETENESS. USE OF THIS INFORMATION IS AT YOUR OWN RISK.
ANY EASYLANGUAGE TRADING STRATEGIES, 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 ARE EXAMPLES ONLY, AND HAVE BEEN INCLUDED SOLELY FOR EDUCATIONAL PURPOSES. BILLY FIRE LLC. DOES NOT RECOMMEND THAT YOU USE ANY SUCH TRADING STRATEGIES, INDICATORS, SHOWME STUDIES, PAINTBAR STUDIES, PROBABILITYMAP STUDIES, ACTIVITYBAR STUDIES, FUNCTIONS (OR ANY PARTS THEREOF) OR TECHNIQUES. THE USE OF ANY SUCH TRADING STRATEGIES, 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
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...
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.