Tutorial 180 | Text Objects Basics | Part 1
TradeStation EasyLanguage Tutorial 180 demonstrates how to draw a line, a rectangle and a text label by specifying a start date, time and price and an end date, time and price. The times can be specified to the second. The tutorial uses Parse method of the DateTime class to convert user input strings (in mm/dd/yyyy hh:mm:ss format) into DateTime objects. These values are combined with user input prices to create DTPoint objects using DTPoint.Create. These DTpoints are then used to create a trendline, a rectangle and a text label.
Additional functionality is included so that the rectangle is drawn even if the end date time is not currently visible on the chart. This is achieved by checking the current BarDateTime at the beginning of each bar. If it is less than the LineEndTime then the rectangle has its end time set to the most right display datetime. This is repeated as each new bar is added to the chart, until the bar DateTime is equal to or greater than the end time.
Technical lessons covered in this tutorial include:
– Drawing lines, rectangles and text objects
– Using DateTime.Parse to convert a string to a DateTime object
– Using methods to create and update drawing objects
– Using ‘Composite Formatting’ to print data
– Ensuring a rectangle is visible even if the end datetime is not currently on the chart
This tutorial does not work with MultiCharts.
https://markplex.com/free-tutorials/tutorial-180-text-objects-basics/
-
12:49
Markplex
2 years agoTutorial 180 | Text Objects Basics | Part 2
2 -
12:30
Markplex
1 year agoEasyLanguage Tutorial 185 | Changing the TradeStation DataTip when hovering over drawing objects
11 -
11:06
Programming Tutorials
1 year agoLearn Java Tutorial for Beginners, Part 21: toString() and the Object class
3 -
5:31
ErinGipfordFreelance
1 year agoText In A Shape | Adobe Illustrator Tutorial
-
31:54
Shane Welcher
2 years ago $0.01 earnedStructured Text Case Example Controlling Lights In CodeSys 2021
14 -
10:47
1001 Unfinished Projects
1 year agoLearn Visual Basic 6 VB6 -101- Tutorial Project 1 Part 3
11 -
8:43
1001 Unfinished Projects
1 year agoLearn Visual Basic 6 VB6 -101- Tutorial Project 1 Part 2
5 -
7:41
Datakademy
3 years agoPython Data Types (Numbers, Text, Booleans) | Python Tutorial Ep2
10 -
1:16:19
Landon Schlangen
1 year agoBeginner JavaScript Tutorial
18 -
3:39
Datakademy
3 years agoComplete Introduction to Dictionaries in Python | Python Tutorial Ep5
7