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/
-
12:15
Dr. Nick Zyrowski
4 days agoSTOP Believing These Fasting Lies That Keep You Sick
1.05K1 -
LIVE
StoneMountain64
2 hours agoBLACK OPS 7 Unlocking Weapons and Overclocks (Mouse and Keyboard Player)
144 watching -
LIVE
LadyDesireeMusic
2 hours ago $0.44 earnedLive Piano 10-3-25
151 watching -
LIVE
ahdedazs
2 hours ago $0.01 earnedBlack Ops 7 EARLY ACCESS BETA! Second Stream on RUMBLE! *NEW CREATOR*
58 watching -
2:01:12
The Culture War with Tim Pool
5 hours agoNigeria's Christian Genocide, Media Ignoring Atrocities | The Culture War Podcast
136K76 -
1:18:30
The Shannon Joy Show
2 hours agoKash Patel Doubles Down On Speech Control Opens The Door For Mass Censorship in America (Sponsored)
7.23K3 -
2:08:19
Side Scrollers Podcast
6 hours agoNetflix Execs to TESTIFY Over LGBTQ Agenda + IGN DESTROYS Xbox Game Pass + More | Side Scrollers
25.8K5 -
1:06:22
The Quartering
3 hours agoAntifa Just Made A Huge Mistake...
85.3K51 -
1:25:13
MattMorseTV
4 hours ago $9.54 earned🔴EMERGENCY White House PRESS CONFERENCE.🔴
27.7K42 -
1:59:20
The Charlie Kirk Show
4 hours agoChristians Under Siege + Shame! Shame! + AMA | O'Neill, Ahern | 10.3.2025
86.2K32