Premium Only Content
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/
-
19:06
EEVblog Channel
3 years agoEEVblog 1469 - AC Basics Tutorial - Part 2 - Phasors
40 -
24:27
EEVblog Channel
3 years ago $0.01 earnedEEVblog 1470 - AC Basics Tutorial Part 3 - Complex Numbers are EASY!
52 -
4:57
govvit
4 years agoÁcido Cítrico | Gangplank Tutorial Part 1 - The Basics
7 -
1:34:23
Glenn Greenwald
10 hours agoSydney Shooting Exploited for Pro-Israel Censorship and Anti-Muslim Crackdowns; How Media DEI Was the Opposite of Diversity | SYSTEM UPDATE #559
142K133 -
1:09:01
MattMorseTV
8 hours ago $52.49 earned🔴Trump just handed Congress THE EVIDENCE.🔴
58.7K123 -
1:01:54
BonginoReport
10 hours agoVanity Fair Goes Nuclear On Trump’s Inner Circle - Nightly Scroll w/ Hayley Caronia (Ep.198)
154K71 -
53:25
Katie Miller Pod
12 hours ago $9.35 earnedFBI Director Kash Patel & Alexis Wilkins on Balancing Their Relationship with Work | KMP Ep.19
46.2K32 -
1:15:37
Candace Owens
10 hours agoErika And I Sat Down. Here’s What Happened. | Candace Ep 280
229K958 -
2:06:47
Quite Frankly
13 hours agoDestroying the West to Save the West? | J Gulinello | 12/16/25
53.9K13 -
13:51
ARFCOM News
12 hours ago $4.26 earnedShould Bystander Have Blasted? + DOJ Lawyers: Don't Make Us Defend Gun Rights! + How To STOP Flock?
45.8K14