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:11:53
vivafrei
8 hours agoThe Great Replacement of American Truckers With Unskilled Foreign Labor - Live with Gord Magill
67.4K42 -
LIVE
Sarah Westall
1 hour agoEU Falling, United States Barely Hanging on - Strength and Courage Needed to Fight for Free Speech
264 watching -
LIVE
LFA TV
10 hours agoLFA TV ALL DAY STREAM - TUESDAY 8/19/25
1,384 watching -
2:11:18
The Quartering
3 hours agoToday's Breaking News! Disgusting Grocery Shopping "Haul" Goes Viral, Las Vegas Collapse & More
68.8K26 -
LIVE
StoneMountain64
4 hours agoBest Extraction shooter is FINALLY on Console (+CoD Reveal Today)
283 watching -
3:04:51
Due Dissidence
6 hours agoZelensky RETURNS To DC, HUGE Protests In Israel, Gal Gadot Blames Palestine For Flop, MSNBC Rebrands
14K14 -
1:19:29
The HotSeat
1 hour ago🚨 Dems Swear Mail-In Voting Is “Secure”… Trump Says HELL NO 🚨
3.6K7 -
LIVE
Reidboyy
8 hours ago $0.55 earnedNEW FREE FPS OUT ON CONSOLE TODAY! (Delta Force = BF6 Jr.)
56 watching -
29:20
Stephen Gardner
2 hours ago🔥YES! Trump unleashes Democrats’ worst nightmare!
6.42K7 -
LIVE
The Nunn Report - w/ Dan Nunn
2 hours ago[Ep 731] Trump Leading the World | Islam NOT Compatible with West | Guest Sam Anthony [your[NEWS
135 watching