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/
-
30:59
The Charlie Kirk Show
9 hours agoCharlie Kirk's beloved wife, Mrs. Erika Kirk addresses the Nation.
551K1.55K -
1:53:28
Man in America
16 hours agoLIVE: Assassin Arrested? Civil War? Are We Being Played?? | LET'S TALK
102K115 -
2:10:33
Badlands Media
14 hours agoOnlyLands Ep. 24: Processing Tragedy, Cancel Culture, and the Next Spark
66.7K27 -
2:27:53
TheSaltyCracker
9 hours agoGot Him ReeEEStream 9-12-25
283K357 -
52:11
Sarah Westall
11 hours agoBread and Circus Keeps you Financially Ignorant – Its Better for the Elites w/ Chris Russo
70.8K8 -
3:49:08
I_Came_With_Fire_Podcast
17 hours agoFriday Night Live Fire
64.2K6 -
1:20:39
Flyover Conservatives
19 hours agoFrom Demonic Deception to Divine Direction: Sid Roth’s Radical Encounter With God | FOC Show
67.5K1 -
2:50:58
Chrissie Mayr
8 hours agoChrissie Mayr Reactions to Charlie Kirk, Liberal Celebrations, and More
59.9K34 -
1:05:46
AlaskanBallistics
8 hours ago $4.00 earnedRemembering Charlie Kirk
55.1K10 -
1:23:27
Glenn Greenwald
11 hours agoNetanyahu’s Crude Exploitation of Charlie Kirk’s Death to Get the American Right Back into Line; Plus: Q&A With Glenn on Charlie Kirk's Assassination, Online Civil Discourse, and More | SYSTEM UPDATE #514
219K173