Premium Only Content

Tutorial 181 | Three Line Break on minute chart using a vector object | TradeStation tutorials
Tutorial 181 from Markplex.com talks through the creation of an indicator to ‘mimic’ the behavior of a three line break chart. The functionality is very similar to tutorial 23 however, whereas tutorial 23 uses an array, this tutorial uses the Vector class.
See the tutorial pages:
Tutorial 23 - https://markplex.com/free-tutorials/tutorial-23-creating-3-line-break-3lb-indicator-apply-normal-candlestick-charts/
Tutorial 181 - https://markplex.com/free-tutorials/tutorial-181-three-line-break-on-normal-chart-using-vectors/
Line break charts
Line breaks charts ignore time. New ‘up’ lines are only added when a bar closes higher than the high of the previous up line. Once up lines are being drawn price has to go below the low of a specified number of up lines in order to create a new down line. New ‘down’ lines are only added when a bar closes below than the low of the previous down line. Once down lines are being drawn price has to go above the high of a specified number of down lines in order to create a new ‘up’ line.
This tutorial program is designed to be applied to a minute (e.g. 5 minute, 15 minute, 60 minute) bar chart. Because these charts do have a linear time element multiple ‘lines’ would be drawn whereas on an actual line break chart the same move would be represented by one line.
Technical lessons covered in this tutorial include:
Converting an EasyLanguage program to use a Vector rather than an array
Drawing rectangles using the legacy EasyLanguage syntax (e.g. TL_New) and also using the Rectangle object and formatting options
Converting legacy date and time to a DateTime object
Converting color objects for use in the plot statement
Using methods to create and update drawing objects
Ensuring that there are only a maximum number of drawing objects drawn on the chart.
-
LIVE
Kim Iversen
2 hours agoWas There a Second Shooter in the Charlie Kirk Attack?
1,579 watching -
DVR
Redacted News
2 hours ago“They’re NOT stopping with Charlie Kirk!” JD Vance TORCHES violent leftists | Redacted
169K70 -
39:45
Kimberly Guilfoyle
2 hours agoCharlie's Legacy and Our Mission | Ep.253
12.3K10 -
10:06
Tundra Tactical
2 hours agoWhats The Deal With New Guns In 2025 Part 2
5.96K -
LIVE
The Amber May Show
4 hours ago $0.24 earnedCharlie Kirk Murder Probe EXPLODES | FBI, FEMA, & SCOTUS Shake the Nation
137 watching -
1:14:55
vivafrei
6 hours agoJD Vance Pays Tribute to Charlie Kirk; Ryan Routh Trial Continues! And More!
189K99 -
LIVE
Dr Disrespect
7 hours ago🔴LIVE - DR DISRESPECT - WARZONE - PROTECT THE DOC
1,017 watching -
LIVE
LFA TV
20 hours agoLFA TV ALL DAY STREAM - MONDAY 9/15/25
1,157 watching -
29:05
Athlete & Artist Show
6 hours ago $0.23 earned1st Line Minutes at 35, Slovenian Sports Fans, and MORE
4.61K -
LIVE
freecastle
6 hours agoTAKE UP YOUR CROSS- Our Battles, HE Has Already Won!
88 watching