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:09:21
TheCrucible
3 hours agoThe Extravaganza! Ep. 24 (8/20/25)
45.1K3 -
1:18:42
Kim Iversen
3 hours agoUFO Base Area 51 Catches Fire… Is It a Massive Cover-Up?!
17K44 -
1:51:18
Redacted News
3 hours ago"There will be consequences!!!" Trump issues big threat to Putin ahead of peace summit | Redacted
84.7K60 -
53:14
Candace Show Podcast
3 hours agoThe MOST MORAL Blackmail In The World | Candace EP 231
35.2K125 -
1:11:28
vivafrei
5 hours agoMatt Taibbi Getting "Westfalled"? Kathy Hochul Fighting for Illegals! Mamdani Minority Report & MORE
85.7K53 -
2:03:39
Pop Culture Crisis
5 hours agoWTF Happened to Miley Cyrus? HARRY POTTER Set Images, Sydney Sweeney Hater EXPOSED | Ep. 901
30.5K21 -
10:17
MattMorseTV
5 hours ago $7.13 earnedTrump's DOJ just DROPPED a NUKE.
39.1K40 -
11:07
Politibrawl
12 days agoRepublican rising star DESTROYS theatrical Democrat in front of the entire world
79.4K30 -
4:42:30
StoneMountain64
6 hours agoOnly game with BETTER desctruction than Battlefield?
53.6K -
4:51:37
Viss
7 hours ago🔴LIVE - Viss & Dr Disrespect Take on The 5 Win Minimum PUBG Challenge!
27.5K2