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.
-
3:14:29
Donut Operator
4 hours agoLIVE POLICE CHASE/ CRIME/ CYCLISTS ARE SCUM/ GAMEBOY CAMERA CHAD
59.4K7 -
1:24:59
Winston Marshall
2 hours ago"This is SHAMEFUL!” Ireland’s New Religion and It's Darkest Secret | Brendan O'Neill
11.7K12 -
LIVE
Barry Cunningham
4 hours agoPRESIDENT TRUMP IS TAKING AMERICA INTO THE GOLDEN AGE OF PROSPERITY!
1,987 watching -
1:09:40
Sean Unpaved
3 hours agoNFL 2025: Teddy's Trouble, Dak's Narrative Shift, Purdy's Prove-It Year, & Raiders' Rebuild
14.8K -
2:20:23
Side Scrollers Podcast
4 hours agoElon Musk Creates GOONING AI, DSP Lawsuit?, Disney Adults Hit NEW LOW | Side Scrollers Live
7.14K2 -
LIVE
Viss
4 hours ago🔴LIVE - Learn How to Dominate The Duo Battleground! - PUBG
142 watching -
1:09:40
Coin Stories with Natalie Brunell
5 hours agoEpstein Files EXPOSED: CIA Black Ops, Money Crimes & Bitcoin's Rise
15.3K -
4:35:22
GloryJean
5 hours agoTR2ing til it's nerfed 🖱️ 6.7 K/D
7.55K -
1:07:30
Timcast
3 hours agoDemocrat Impeachment Leader Schiff ACCUSED OF FRAUD, Trump DOJ Targets Anti-Trump CONSPIRACY
168K135 -
2:09:35
Nikko Ortiz
4 hours agoLive - AI Has Gone Too Far
91.8K5