OPEN-SOURCE SCRIPT
Celestial State

Celestial State (C1) – Market Bias & Candle Intent
Celestial State (C1) is a price-action indicator designed to clarify market bias, momentum, and risk conditions using nothing but candle structure.
No indicators.
No lag.
Just clean candle logic.
The tool separates state (what the market is) from intent (what the market is doing right now).
🔹 Core Concept
The indicator works on the chart timeframe and uses closed candles only to define market state.
It then monitors the current candle to identify:
momentum confirmation
early warnings
potential trap / reversal behaviour
🔹 Market State (Based on C1 – last closed candle)
State is derived from the relationship between the last two closed candles:
Bull Trend Start
Bearish candle → Bullish candle
Bull Continuation
Bullish candle → Bullish candle
Bear Trend Start
Bullish candle → Bearish candle
Bear Continuation
Bearish candle → Bearish candle
This defines the directional environment before any decision is made.
🔹 Bias & Momentum (Live Candle)
Once state is defined, the current candle is monitored relative to the previous candle’s high and low.
Strong Buy
Bullish state
Previous candle bullish
Current candle breaks previous high
Strong Sell
Bearish state
Previous candle bearish
Current candle breaks previous low
These represent momentum continuation with confirmation.
Buy / Sell (Normal Bias)
Price is in a bullish or bearish state
No momentum break yet
This is directional bias without confirmation.
Changing Bias
Bullish state + previous low broken
Bearish state + previous high broken
This warns that control is being challenged and conditions may be shifting.
🔹 Flip (Strict Order)
A Flip is a high-risk condition where expansion fails:
Bull Flip
Current candle breaks previous high first, then breaks previous low
Bear Flip
Current candle breaks previous low first, then breaks previous high
This often signals:
failed breakouts
stop hunts
transition zones
🔹 Visual Output
Top-right panel shows:
Current Celestial State (C1)
Current Bias (Strong Buy / Sell / Changing Bias)
Short explanation (e.g. High broken, Low broken)
On-chart markers are intentionally minimal and offset away from price to reduce clutter.
🔹 Who This Is For
This indicator is built for traders who:
trade price action
want context before execution
prefer clarity over complexity
understand that bias ≠ entry
⚠️ Disclaimer
This tool does not provide entries, exits, or risk management.
It is a context and intent framework, not a signal system.
Use it as a decision-support layer alongside your own execution rules.
Celestial State (C1) is a price-action indicator designed to clarify market bias, momentum, and risk conditions using nothing but candle structure.
No indicators.
No lag.
Just clean candle logic.
The tool separates state (what the market is) from intent (what the market is doing right now).
🔹 Core Concept
The indicator works on the chart timeframe and uses closed candles only to define market state.
It then monitors the current candle to identify:
momentum confirmation
early warnings
potential trap / reversal behaviour
🔹 Market State (Based on C1 – last closed candle)
State is derived from the relationship between the last two closed candles:
Bull Trend Start
Bearish candle → Bullish candle
Bull Continuation
Bullish candle → Bullish candle
Bear Trend Start
Bullish candle → Bearish candle
Bear Continuation
Bearish candle → Bearish candle
This defines the directional environment before any decision is made.
🔹 Bias & Momentum (Live Candle)
Once state is defined, the current candle is monitored relative to the previous candle’s high and low.
Strong Buy
Bullish state
Previous candle bullish
Current candle breaks previous high
Strong Sell
Bearish state
Previous candle bearish
Current candle breaks previous low
These represent momentum continuation with confirmation.
Buy / Sell (Normal Bias)
Price is in a bullish or bearish state
No momentum break yet
This is directional bias without confirmation.
Changing Bias
Bullish state + previous low broken
Bearish state + previous high broken
This warns that control is being challenged and conditions may be shifting.
🔹 Flip (Strict Order)
A Flip is a high-risk condition where expansion fails:
Bull Flip
Current candle breaks previous high first, then breaks previous low
Bear Flip
Current candle breaks previous low first, then breaks previous high
This often signals:
failed breakouts
stop hunts
transition zones
🔹 Visual Output
Top-right panel shows:
Current Celestial State (C1)
Current Bias (Strong Buy / Sell / Changing Bias)
Short explanation (e.g. High broken, Low broken)
On-chart markers are intentionally minimal and offset away from price to reduce clutter.
🔹 Who This Is For
This indicator is built for traders who:
trade price action
want context before execution
prefer clarity over complexity
understand that bias ≠ entry
⚠️ Disclaimer
This tool does not provide entries, exits, or risk management.
It is a context and intent framework, not a signal system.
Use it as a decision-support layer alongside your own execution rules.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.