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:37:20
FreshandFit
9 hours agoShe’s Not Your Girl It’s Just Your Turn
65.5K11 -
5:26:18
Akademiks
11 hours agoEbro has MELTDOWN after Drake tells him to *** SLOWLY! Radio Over? NLE vs Youngboy part 805?
44.4K1 -
1:35:27
Inverted World Live
12 hours agoLost Satellites, Wild Horses, and 3i/Atlas
160K7 -
2:53:42
TimcastIRL
10 hours agoCandace Owens IMPLODES, Audience IN REVOLT, Claim SHES A CLONE Or GOT THE CALL | Timcast IRL
303K248 -
2:49:53
Barry Cunningham
10 hours agoLIVE BREAKING NEWS: President Trump Celebrates Hanukkah! And More News
81K20 -
1:29:40
Anthony Rogers
17 hours agoEpisode 394 - Isaac Butterfield
42.7K3 -
8:02
China Uncensored
16 hours agoChina Just Took The First Step Towards WAR
53.9K30 -
1:20:04
Flyover Conservatives
1 day agoWhy Did Jesus Really Come? It’s NOT What You Think - Pedro Adao | FOC Show
47.5K4 -
2:18:25
DLDAfterDark
8 hours ago $5.06 earnedYo Homie! Is That My Briefcase?? EDC & Gun Talk - Blue Waffle Giveaway Pre Stream
39.4K5 -
1:34:23
Glenn Greenwald
13 hours agoSydney Shooting Exploited for Pro-Israel Censorship and Anti-Muslim Crackdowns; How Media DEI Was the Opposite of Diversity | SYSTEM UPDATE #559
149K140