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/
-
LIVE
Man in America
4 hours ago3 MILLION Epstein Pages Released — I Can't Unsee What I Found
2,072 watching -
2:27:57
vivafrei
8 hours agoEp. 302: Back from El Salvador... What did I Miss? Epstein, Rogue Courts, Don Lemon, Georgia & MORE!
245K121 -
2:11:35
TheSaltyCracker
2 hours agoPizzaGate was Real ReeEStream 02-01-26
50.7K215 -
11:31
Amy Dangerfield
3 hours ago $1.18 earnedThis Conservative Grocery Store is Absolutely Insane
4.48K6 -
28:56
LegallyArmedAmerica
1 hour agoPretti incident: I explain who's at fault and why (Everyone's going to be mad!)
10 -
2:36:49
Barry Cunningham
3 hours agoSUNDAY NEWS ROUNDUP: President Trump Attends Wedding | Talk Shows Worried About Tulsi | And More!
24.3K19 -
2:26:19
Nerdrotic
4 hours ago $3.50 earnedThe REDACTED Files Dropped | Dark Underworld Uncovered | Forbidden Frontier #127
24.3K2 -
1:08:27
Sarah Westall
3 hours agoThe People Driving Canada’s MAID Program — And Why | Kelsi Sheren
3.64K -
37:16
The HotSeat With Todd Spears
3 hours agoCrowned and Called with Kendra Spears
14.2K36 -
LIVE
IsaiahLCarter
8 hours ago $0.19 earnedCanceling Woke, in 2026 || APOSTATE RADIO 042 (Paul D. Rossi, Matthew Mastronardi)
292 watching