PROTECTED SOURCE SCRIPT
Trend vs Balance

This indicator is built to answer one key question before you trade:
Is the market trending or balancing (ranging)?
And it doesn’t just label it — it also gives you a confidence score (0–100%).
It works with two timeframes:
Daily (D): the “base” timeframe — it drives the decision.
H4 (240): the “adjustment” timeframe — it reinforces or weakens what Daily says.
That’s why the final output is COMBO:
COMBO always follows the Daily regime (Bull Trend, Bear Trend, or Balance).
H4 does NOT change the regime, it only adjusts the confidence % depending on whether it agrees or conflicts.
The % is calculated using a checklist-style scoring system (5 points per regime).
Each regime has 5 measurable conditions, each worth 20 points:
3 out of 5 → 60%
5 out of 5 → 100%
What does the checklist measure (pure candle behavior):
Structure: whether price forms a clear staircase (HH/HL for bull trend or LL/LH for bear trend).
Closes: whether candles close near the extremes (trend) or near the middle (balance).
Overlap: whether price is “choppy” with lots of overlap (balance) or cleanly displaced (trend).
Impulse vs pullback: whether one side clearly dominates (trend) or moves are more symmetric (balance).
Breaks: whether price breaks and stays outside (acceptance = trend) or breaks and quickly re-enters (balance).
How to read it quickly:
COMBO = your main playbook (trend strategy or range strategy).
COMBO % = your confidence level (how clear the context is).
If you see a ⚠️, it means strong conflict between Daily and H4 — a “be careful” day.
In short: Daily tells you the market “weather”, and H4 tells you whether today the wind is helping or fighting you.
Is the market trending or balancing (ranging)?
And it doesn’t just label it — it also gives you a confidence score (0–100%).
It works with two timeframes:
Daily (D): the “base” timeframe — it drives the decision.
H4 (240): the “adjustment” timeframe — it reinforces or weakens what Daily says.
That’s why the final output is COMBO:
COMBO always follows the Daily regime (Bull Trend, Bear Trend, or Balance).
H4 does NOT change the regime, it only adjusts the confidence % depending on whether it agrees or conflicts.
The % is calculated using a checklist-style scoring system (5 points per regime).
Each regime has 5 measurable conditions, each worth 20 points:
3 out of 5 → 60%
5 out of 5 → 100%
What does the checklist measure (pure candle behavior):
Structure: whether price forms a clear staircase (HH/HL for bull trend or LL/LH for bear trend).
Closes: whether candles close near the extremes (trend) or near the middle (balance).
Overlap: whether price is “choppy” with lots of overlap (balance) or cleanly displaced (trend).
Impulse vs pullback: whether one side clearly dominates (trend) or moves are more symmetric (balance).
Breaks: whether price breaks and stays outside (acceptance = trend) or breaks and quickly re-enters (balance).
How to read it quickly:
COMBO = your main playbook (trend strategy or range strategy).
COMBO % = your confidence level (how clear the context is).
If you see a ⚠️, it means strong conflict between Daily and H4 — a “be careful” day.
In short: Daily tells you the market “weather”, and H4 tells you whether today the wind is helping or fighting you.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.