Phase Filter
Sorts every closed candle into one of five market phases, so you know whether the market right now suits your setup before you take it.
At a glance
What it is for
Knowing what kind of market you are in before you enter: quiet and coiling, trending, pulling back, or faking a break.
What you see on the chart
A separate panel under the chart with a fast momentum line colored by phase, a slower line, short phase labels, and a status table (the HUD) in the corner.
How it helps you decide
It works as a permission switch for your other tools: take trend entries in trend phases, skip directional trades when the market is building.
When not to trust it
Right after a sharp news candle, on the labels alone (they skip changes), and on the live candle — only the closed-candle phase counts.
The problem it solves
The same setup makes money in one market and loses steadily in another. A breakout entry is excellent in an expanding trend and a slow bleed inside a tight range. Most people only find out which one they were in afterward, from the results.
Phase Filter sorts every closed candle into one of five states, so you can know before you enter rather than after.
Reading the screen
The panel shows a fast momentum line and a slower one. The fast line is colored by the current phase:
| Color of the fast line | Phase |
|---|---|
| Yellow | Building Zone |
| Orange | Fake Move |
| Cyan | Strong Trend Up |
| Magenta | Strong Trend Down |
| Purple | Pullback |
The area between the two lines is shaded cyan when the fast line is on top and magenta when it is below. Horizontal guide lines mark the middle, the overbought and oversold areas, and a narrower band around the middle.
Short labels print when the phase changes: BUILD, FAKE, TREND (used for both trend directions) and PULL. The table in the corner (the HUD) shows the current PHASE, the BIAS, recent structure, a quality score for the phase, trend strength, the sweep state, and how many candles the phase has lasted.
The five phases
| Phase | What it means | What works in it |
|---|---|---|
| Building Zone | Volatility compressed, direction unresolved, range narrow | Nothing directional. Wait, or trade the edges small. |
| Fake Move | A wick swept past the recent high or low and closed back inside | The reversal that follows the sweep — not the break itself. |
| Strong Trend Up | Expansion confirmed: range break, strong body, momentum, widening volatility | Continuation entries and pullback buys. |
| Strong Trend Down | The same, downward | Continuation entries and pullback sells. |
| Pullback | A trend still in force, momentum fading but not reversed | Entering in the trend's direction at a better price. |
How a phase is decided
A real example
The chart at the top of this page is the panel on BTCUSDT. Follow the fast line from left to right: yellow stretches are the market coiling, cyan and magenta stretches are the moves, and purple stretches are pauses inside a move. The useful habit is to read the color of the line, not the labels — the labels can skip a change, the line color never does.
Two things in the current build you need to know
The label can skip a change. Labels have a short cooldown and only print when the text itself changes. Both trend phases print the same word, so a flip straight from Strong Trend Up to Strong Trend Down prints nothing. Any change inside the cooldown is also silent. Read the line color and the PHASE row, not the labels.
Several switches do nothing. Phase Background, Score Line, ATR Line and the histogram glow are still in the settings, but the current code draws none of them. If you turn one on and see no change, the tool is not broken — nothing is wired to it. The structure markers have no switch at all.
One more: the BIAS row says "H4" on every chart. It is fixed text. The reading itself follows whatever timeframe you have open.
Looks like a signal, is not one
How to actually use it
Put it next to a tool that does signal, and let it decide whether you take what that tool prints:
- Strong Trend Up or Pullback up — take the buy signals, skip the sells.
- Strong Trend Down or Pullback down — the reverse.
- Building Zone — skip directional entries entirely. This is the single most useful instruction the tool gives.
- Fake Move — a sweep just happened. A signal in the opposite direction to the sweep is the one worth looking at; a signal in the same direction is late.
Where this meets the course
The lessons separate a contested range, which can be traded at its edges, from a dead range, which must be left alone — momentum pinned in the center with no reach to either side. Building Zone is close to that second description, measured rather than eyeballed.
The course also says a correction in a strong trend is buyers pausing, not sellers arriving. That is what the Pullback phase is: momentum fading, price still holding its longer average, trend not broken.
Mistakes that cost people money
- Trading from the labels alone. They are incomplete by design. The line color and the HUD are the real output.
- Looking for a signal in it. There is none, and there are no alerts either.
- Trying to make it more sensitive. Every logic value is fixed in the code. Only the display options can be changed.
- Ignoring Building Zone because nothing is happening. Nothing happening is the instruction. Most account damage is done in exactly these stretches.
Questions people ask
- Where are the buy and sell arrows?
- There are none. It describes the environment; your entries come from your own system or from one of the signaling tools.
- I turned on Phase Background and nothing changed.
- The current build does not draw it, nor the score line, the ATR line or the histogram. The settings are left over. The phase shows through the color of the fast line and the labels.
- The panel says H4 but I am on a much smaller chart.
- Fixed text in the code. The reading follows your chart's timeframe.
- Can I change the sensitivity?
- No. The averages, momentum settings and score thresholds are all fixed. Only display settings can be changed.
- Are there alerts?
- None in this build. You have to be looking at it.