Premium Only Content
			TradeStation EasyLanguage tutorial 114 DT 3 | Draws boxes between two start and end times each day
_Tutorial 114 DT 3 draws boxes between two start and end times each day. If a chart does not have a bar with a specific time stamp corresponding to the start time the box will be drawn from the following bar. Similarly, if the chart does not have a bar corresponding to the end time, the box will be drawn to the following bar.
Drawing boxes might be useful if you wished to highlight trading activities and levels between certain times. Alternatively, although the times and price levels in this program are specified as user inputs, you could use the techniques built into this tutorial in a more sophisticated program that calculated levels.
The tutorial program uses the rectangle class with several of its properties and the create class. The tutorial demonstrates the creation of a method to create the rectangles, which is called from several places in the program. Tutorial 114 DT 3 creates five boxes at different price levels in each time zone..
A user input (ExtendRight) determines whether a box that is currently under development for real time bars is extended to the right or just extended to the current bar (until the end time is reached).
TradeStation EasyLanguage technical lessons
In the tutorial video and the program comments you will learn:
- How to write a method with several inputs
- How to use the rectangle class
- How to create a DT (DateTime) point
- How to extend the rectangles to the right
- Setting the end point of a rectangle
- How to vary the transparency of the rectangles
- How to draw historic and future rectangles on historic and real-time bars
- Specifying and using time to seconds accuracy
- Converting EasyLanguage legacy date and time into DateTime objects
- Dealing with start and end times that start in one day and end in the next
The program is available for download for a small fee or for FREE to Gold Pass members.
Version 3 is a simplified and improved version of the original programs that has been tested in TradeStation 10.0.
See https://markplex.com/free-tutorials/tutorial-114-dt-drawing-rectangles-chart-time-periods-day/
- 	
				
							1:01:12
								Donald Trump Jr.
4 hours agoThe China Matrix with Journalist Lee Smith | TRIGGERED Ep.288
90.9K62 - 	
				
							LIVE
								MattMorseTV
1 hour ago🔴Trump's '60 Minutes' INTERVIEW + MUCH MORE.🔴
1,157 watching - 	
				
							LIVE
								Dr Disrespect
9 hours ago🔴LIVE - DR DISRESPECT - ARC RAIDERS - FULL SEND INTO THE RED
1,307 watching - 	
				
							1:02:08
								BonginoReport
3 hours agoNicki Minaj Speaks Out Against Christian Persecution - Nightly Scroll w/ Hayley Caronia (Ep.169)
23.6K19 - 	
				
							LIVE
								SpartakusLIVE
3 hours agoSNIPING in Battlefield 6 - REDSEC || Monday MOTIVATION to CONQUER the Week
131 watching - 	
				
							LIVE
								Nerdrotic
1 hour agoNerdrotic At Night 531
422 watching - 	
				
							LIVE
								TheCrucible
1 hour agoWATCH PARTY! Coach Greg Adams vs Andrew Wilson: Marriage in the West is Good For Men (11/03/25)
1,423 watching - 	
				
							LIVE
								The Jimmy Dore Show
2 hours agoTrump Threatens to INVADE Nigeria! Kash Patel CRASHES OUT Over Jet Use Criticism!
5,497 watching - 	
				
							LIVE
								Conductor_Jackson
21 hours agoLet's Play Unrailed 2 Solo! 🚂🚂🚂🚂🚂🚂
5 watching - 	
				
							1:25:38
								Kim Iversen
3 hours agoTrump’s Nigeria Threat Isn’t About Christians — It’s About China
76K68