## Exhaustion Points Chart

NOTE: This chart type is experimental. See notes below.

"Outside Bars" (yellow-to-red) - the trading range encompasses the previous bar. "Inside Bars" (pink-to-blue) - the trading range is encompassed by the previous bar.

May indicate short-term reversal. Must be accompanied by volume and preceded by a trend.

The outside bar at 20030313 is a classic. It is even more strong as it encompasses both previous bars and has a large body.

### Ranking of bars

Colour is used to denote the significance of bars. A five-point ranking scheme is used as shown in the legend. The value of the rank is also shown in the side-panel and the data window as "EP".

When an outside/inside bar is detected, it is assigned a default ranking of one point. For each other significance factor, half a point is added. The final rank is truncated to an integer between one and five.

Many factors contribute to significance. Here are the few that are currently being used.

Outside bars:

- encompass more (2, 3, 4) previous bars - add 0.5 each
- much bigger range than the previous bar (500%) - add 0.5
- much bigger range than the previous bar (900%) - add 0.5
- greater volume than the previous bar (150%) - add 0.5
- greater volume than the previous bar (300%) - add 0.5

Inside bars:

- much smaller range than the previous bar (25%) - add 0.5
- much smaller range than the previous bar (10%) - add 0.5
- lesser volume than the previous bar (50%) - add 0.5
- lesser volume than the previous bar (20%) - add 0.5

You will need to apply more weight from your visual observations, e.g. a sharper preceding trend.

### Parameters:

- Inside Rank 1 - Color of level-1 inside bars
- Inside Rank 2 - Color of level-2 inside bars
- Inside Rank 3 - Color of level-3 inside bars
- Inside Rank 4 - Color of level-4 inside bars
- Inside Rank 5 - Color of level-5 inside bars
- Label - Text to identify the value of the exhaustion point rank
- Neutral - Color of all other ordinary bars
- Ouside Rank 1 - Color of level-1 outside bars
- Ouside Rank 2 - Color of level-2 outside bars
- Ouside Rank 3 - Color of level-3 outside bars
- Ouside Rank 4 - Color of level-4 outside bars
- Ouside Rank 5 - Color of level-5 outside bars

### Development notes

Not yet automatically detecting that there is associated volume. You must verify that visually.

Not yet automatically detecting that an up or down trend is in place. You must verify that visually.

The ranking scheme needs to be fine-tuned, e.g. perhaps more weight should be added to certain situations. Note that you can tweak these weights yourself in EP.cpp (search for "Rank").

More significance patterns need to be detected - currently only doing a few. (The maximum rank that can currently be achieved is three, i.e. you will not yet see any orange or red outside bars nor any blue inside bars.)

There are other price patterns that indicate exhaustion points, e.g. two-bar reversals, exhaustion bars. However we are only attempting outside and inside bars.

Need to show the actual rank value in the data panel.