//UPDATED INDICATOR: You can now change opacity and color of the three types of boxes.
Just a simple code to show colored boxes when there seems to be tight congestion. The logic was designed for range bar charts but it can work on minute charts. The drawing of the box is delayed by two bars.
The green and red boxes might represent possible supply and demand zones based on simple logic of how prize moved away from the boxes. The coloring is also delayed.
I welcome improvements, changes, ideas, or maybe it's useless. You be the judge.
March 4th, 2011
Size: 6.17 KB
Downloaded: 1416 times
853
jabeztrading
Congestion Counts help measure how many consecutive bars overlap each other. High counts can be a clue that the market is very range bound and building energy. There are two types of congestion counts to consider, the group method seemingly more useful. This was originally downloaded from here, which is sometimes a very slow link.
August 3rd, 2010
Size: 1.69 MB
Downloaded: 525 times
583
shodson
Updated: 9/10/2016
Fixed problem with dataseries which prevented the indicator from being saved with the workspace.
Converted from the NT7 version. Originally design for range bars to box in those congestion areas produced by up and down bars that resulted from the market not going anywhere (it's not perfect).
But some folks had success using the indicator on minute charts.
The box is delayed and the red and green colors are even more delay but this was not meant to be a real time indicator.
Added public series to hold values for upper levels, lower levels, and bar numbers, to be accessed from
strategies. Note: Right now the indicator do not show draw objects when added to a strategy using AddChartIndicator therefore ist's not going to draw rectangles on charts. Ninjatrader trader is aware of the bug and said it is already fixed and we will see it in the next release. Using Beta Version 8.0.0.8 (Multi-Broker).
Special thanks to Sirkin01 and philm for their ideas to help improve the indicator.
February 15th, 2016
Size: 6.31 KB
Downloaded: 632 times
1704
jabeztrading
Hello Traders. This indicator looks for a congestion of candles and then a break out. Once the breakout is confirmed, it paints the box up or down and indicates the POC of that congestion box. The indicator is working in real time, but does not paint the box until the breakout is confirmed (2bars). You can change the Box Color if you want to see all of the boxes forming. I find that distracting.
I downloaded the CongestionBox4RNT8 a few months ago and I like the indicator, but there were a few annoying problems. This version fixes the problems that I found in my use.
Fixes:
1. The colors did not stick from startup to startup in the original version...
2. The original consumed a lot of resources, so I set a timer so that it only calculated the boxes during times that matter to the user. This cuts down on the calculations and memory use. You can set the start/stop time to what you want.
R1: Trader Contrax was having problems with autoscaling in his setup. He found what needed to be changed (Thx). Most people will not notice a difference so I edited the indie, left the name the same and just updated the file.
Several traders are having 'freezing' problems. This indie is a resource hog. You want to run as little history as possible with Congestion Box. One trick that I use is to have a transparent chart on the same panel as my main chart. Let's say you have a 5min chart. Add a second 5min chart to the same panel, transparent candles, wicks, etc, with 1 day history. The Congestion Box uses the 1 day chart as its input. You can have several instances of charts on the same panel.. A great NT attribute.
R2: Member jabeztrading, the original developer of the indicator, fixed the issue with the button recurring. This fix also fixed the resource problem. Excellent work!!!
Please let me know if you find any other issues.
Thanks
Bob
Here is the original description...Converted from the NT7 version. Originally design for range bars to box in those congestion areas produced by up and down bars that resulted from the market not going anywhere (it's not perfect).
But some folks had success using the indicator on minute charts.
The box is delayed and the red and green colors are even more delay but this was not meant to be a real time indicator.
December 31st, 2018
Size: 9.18 KB
Downloaded: 1400 times
2035
bobc635
Hello Traders, attached is the CongestionBox indie that has been put on a diet. The indie finds congestive candle patterns and then paints the box when there is a breakout (2 candles to confirm). The box has a line that represents the VPOC of the box. I find that this indie, in concert with an MA of your choice works very well to find and keep you in a trend.
A few years ago, I downloaded the CongestionBox indie as submitted by creator jabeztrading. The indie had memory building and slow response issues. The bandaids that I applied at the time were a help so I re-released it. I have learned a few things along the way, and made some dramatic improvements wrt memory and responsiveness. On my system, a refresh of the old indie took 13seconds. This one is about 1 second.
Note to users... I have started cutting down the system resource requirements on many of my indicators that do not need a lot of historical data. On these indies, they calculate only what is on the screen. If you want to scroll back, just hit f5 to re-populate the indicator. It's not a huge savings, but every tick counts
July 16th, 2020
Size: 7.73 KB
Downloaded: 440 times
2262
bobc635
A few traders have asked if the CongestionBox could be altered to trigger with a breakout of one candle. I did some work and here is a solution that I believe works well with one candle breakout. One candle means there may be some false breakouts depending on your candle size....
As always, trade well....
Bob
As with other recent indies, this only calculates and displays what is on the display. If you scroll left, hit f5 to repopulate
8/6/2020
After suggestions from a few traders, I added some filtering to remove some of the 'counter trend' boxes. Included in this zip is an additional CongestionBox indie called CongestionBoxFilter. This one uses an EMA and HMA. A Bullish breakout candle will paint if the breakout candle is above both and slope of the HMA is up. The breakout candle can be painted for highlight and or an arrow below bull candle or above bear candle.
Have fun...
Bob
R2 (2/11/2021): I don't use Bloodhound or other automated tools, but one user found that calculations limited to what is on screen causes a problem with Bloodhound... I found the issue and it is an easy fix. In the zip are two indicators. CongestionBoxOne is the original that only calculates what is on the screen and CongestionBoxOneFull calculates the entire history and should work with Bloodhound. I will add a new version of all of the indicators that I have posted that have the calculation limiter in a similar manner.
July 23rd, 2020
Size: 12.47 KB
Downloaded: 666 times
2267
bobc635
This Tradestation Show Me tells you days that Congress is in session. Contains data from Dec 1997 - Oct 26, 2012.
You may find this useful for the stock market, since there have been a few studies that show correlation between when Congress is in session and stock market performance (Congress in session tends to mean stocks go down).
October 28th, 2012
Size: 222.72 KB
Downloaded: 117 times
1292
kevinkdog
This Strategy does not trade, but instead does three things:
- Checks that your PC clock is accurate
- Alerts you if the delay in your receipt of exhange data exceeds a threshold
- Optionally ping a remote IP host and alert you or get flat if the host is unreachable.
Created by Larry Connors, this indicator is a composite of three separate components. Two of the three components utilize the Relative Strength Index (RSI) calculations developed by Welles Wilder in the 1970’s, and the third component ranks the most recent price change on a scale of 0 to 100.
In effect, the three components combine to form a momentum oscillator. The output value between 0 and 100 then identifies short-term overbought and oversold conditions.
February 12th, 2022 11:35 AM zoomie Very nice...Thank you
June 28th, 2020 09:17 PM naphtalicapital Bob,
Thanks for the congestion indicator. Really a great job. My concern is that each time the green or red bx appears the pr
ice is already moved 4 or 5 points. So it really lagging price. So if you have a 5 choppy ziz zag move, you are out of m
oney 20ticks in each move. Is there a way to adjust the parameters to have the boxes appear sooner? If this can be done,
that will be a home run.
thanks
May 23rd, 2020 04:40 AM ZivG This is totally awesome. How can we use it in NinjaScript or a strategy? What's the signal that tells us when the box is
done forming?
THANK YOU --
Ziv.
November 1st, 2019 09:01 AM justtrader Very useful
September 27th, 2019 05:17 PM Bullywig Is there a way to assign a value to the boxes? For example, 1 for a green box broken to the up side, and -1 for a broke
n red box to the downside so it can be called in a strategy?
February 27th, 2022 04:12 PM NinjaStang I was wondering if would be possible to plot a 1 for longs and -1 for shorts. Similar to the Price Breakout from A rect
angular Base? I am using Markers Plus for automation. I just can't seem to get this one to plot that way.
Thank you. Love this indicator.
October 3rd, 2021 10:25 AM mav8rick Thanks!!
March 13th, 2021 12:00 PM compteidriss It's just wonderful!
September 18th, 2020 11:21 AM jabeztrading Nice work.
September 14th, 2020 08:51 PM cskafan123 Thank you much! This looks great. Now I just have to figure out how to apply it. Are there any instructions?