OPEN-SOURCE SCRIPT
🕯️First Candle

First Candle – Breakout & Return Indicator
This indicator marks the high and low of the first 9:30–9:45 AM New York session candle and locks those levels for the rest of the day.
It highlights important candles based on Fair Value Gap (FVG) logic and price behavior around this opening range:
• Green — first candle of the day whose full body closes above the range with a valid bullish FVG in the same impulse.
• Red — first candle whose full body closes below the range with a valid bearish FVG in the same impulse.
• Yellow — any candle whose full body re-enters back inside the range and has a matching same-impulse FVG behind the move.
Simple, clean, and designed to highlight only the most meaningful breakout and return signals from the opening range.
This indicator marks the high and low of the first 9:30–9:45 AM New York session candle and locks those levels for the rest of the day.
It highlights important candles based on Fair Value Gap (FVG) logic and price behavior around this opening range:
• Green — first candle of the day whose full body closes above the range with a valid bullish FVG in the same impulse.
• Red — first candle whose full body closes below the range with a valid bearish FVG in the same impulse.
• Yellow — any candle whose full body re-enters back inside the range and has a matching same-impulse FVG behind the move.
Simple, clean, and designed to highlight only the most meaningful breakout and return signals from the opening range.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
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 open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
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.