Premium Only Content

Tutorial177_consolidator | Recognizing periods of consolidation
Consolidation describes a period in time when a stock or security is not in or reversing a larger price trend. During consolidation the instrument typically trades within a limited price range. Tutorial 177 is a TradeStation EasyLanguage tutorial that attempts to recognize periods of consolidation by calculating:
1) The standard deviation of price.
2) The ‘Consolidation Index’ by taking the average of true high over a number of bars, subtracting the average of the true low and dividing the result by the Average True Range.
The tutorial program then looks for when these values go below a user input percentile.
When a period of possible consolidation is found, tutorial 177 draws a box around it with the high of the box being the highest close of the price in the box and the low being the lowest low close of price in the box.
Because periods of consolidation are sometimes associated with low volume the tutorial also changes the color of the boxes when volume is below the average volume. The colors are also determined by user inputs.
This tutorial illustrates various programming techniques, including:
- Drawing rectangle and text drawing objects using BNPoints and XYPoints to specify their size and/or position
- Creating methods to draw rectangles and calling the methods
- Extending rectangles as new price bars form
- Modifying drawing object colors and transparency
- Using intrabarpersist booleans to detect when a percentile has been crossed
See https://markplex.com/free-tutorials/_tutorial177_consolidator-recognizing-periods-of-consolidation/
-
1:06:22
The Quartering
1 hour agoAntifa Just Made A Huge Mistake...
20.9K22 -
1:25:13
MattMorseTV
2 hours ago $2.30 earned🔴EMERGENCY White House PRESS CONFERENCE.🔴
5.15K8 -
1:59:20
The Charlie Kirk Show
2 hours agoChristians Under Siege + Shame! Shame! + AMA | O'Neill, Ahern | 10.3.2025
43K11 -
1:02:21
Dear America
1 hour agoEp 3 Graham Allen Show
7.97K7 -
3:01:23
Right Side Broadcasting Network
4 hours agoLIVE REPLAY: White House Press Secretary Karoline Leavitt Holds a Press Briefing - 10/3/25
40.5K26 -
1:46:35
Tucker Carlson
1 hour agoThe Occult, Kabbalah, the Antichrist’s Newest Manifestation, and How to Avoid the Mark of the Beast
3858 -
44:31
The White House
1 hour agoPress Secretary Karoline Leavitt Briefs Members of the Media, Oct. 3, 2025
2.3K7 -
2:01:12
The Culture War with Tim Pool
3 hours agoNigeria's Christian Genocide, Media Ignoring Atrocities | The Culture War Podcast
101K56 -
LIVE
Sean Unpaved
1 hour agoMLB DS Showdowns Set, 49ers-Rams TNF Recap, NFL/CFB Week 5 & 6 Picks!
71 watching -
3:10:53
iCkEdMeL
5 hours ago $1.80 earnedChicago Erupts in ICE Protest as Diddy Faces Judge’s Hammer
26.3K1