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/
-
LIVE
Stephen Gardner
25 minutes agoCharlie Kirk Bombshell: Fresh Video Footage Shatters the Narrative!😱
996 watching -
1:28:13
Russell Brand
3 hours agoThe Truth About UK Corruption – Andrew Bridgen Speaks Out - SF640
133K22 -
2:11:52
Side Scrollers Podcast
3 hours agoYouTube ADMITS BLATANT Censorship + California Wants to FINE “Hate Speech” + More | Side Scrollers
31.3K -
15:26
Simply Bitcoin
1 day ago $0.17 earned$60 Trillion Incoming? | Why Gold & Bonds are Screaming "BUY BITCOIN"
4243 -
1:55:59
The Charlie Kirk Show
2 hours agoDebunking the Lies and Smears about Charlie | ThoughtCrime Team | 9.25.2025
82K41 -
DVR
Sean Unpaved
2 hours agoCup Swings, Homer Kings, & TNF Zzzz's
16K2 -
8:13
It’s the Final Round
7 hours ago $0.08 earned💰Seahawks vs Cardinals Best Bets🔥Player Prop Picks, Parlays,Predictions FREE Thursday September 25th
2.98K -
27:22
Rethinking the Dollar
1 hour agoSilver at $45: Is War the Spark for $100 Silver? | Thursday News Update
4.58K1 -
1:01:13
Timcast
3 hours agoAnti ICE Shooter Was Kirk Assassin Copycat, FBI Says Attack Was Planned
174K88 -
2:18:47
Right Side Broadcasting Network
5 hours agoLIVE REPLAY: President Trump Greets Turkey’s President Erdogan - 9/25/25
61.1K26