OPEN-SOURCE SCRIPT

Shooting Star ORB

107
🧠 Indicator Name: "First Candle Shooting Star + ORB"
📌 Purpose
This indicator detects when the first candle of the day forms a Shooting Star pattern and then monitors for a breakout beyond its range. It visually marks the pattern and the breakout with boxes and provides real-time alerts and a status table.

🔍 What It Does Step-by-Step
1. 📅 Detects the Start of a New Trading Day
Uses ta.change(time("D")) to identify a new trading day.

When a new day starts, it checks if the very first candle of the session is a Shooting Star.

2. 🕯️ Identifies a Shooting Star Pattern
A candle is labeled a Shooting Star if:

It has a small body compared to the full candle range.

It has a long upper shadow at least 2× the body.

It has a short or tiny lower shadow.

All these criteria are adjustable through inputs.

3. 📦 Draws a Box for the First Candle Range
If a Shooting Star is found in the first candle of the day:

It draws a red shaded box covering the high and low of that candle.

The box visually marks the potential Opening Range.

4. 💥 Detects Breakout from Shooting Star Candle
After the first candle:

If price moves above or below the range by a specified % (like 1%), it flags a breakout.

A blue shaded box is drawn at the breakout candle for visual confirmation.

5. 🔔 Alerts
🔴 Shooting Star Detected: Alerts when the first candle is a shooting star.

🔵 Breakout Detected: Alerts when the price breaks out of the first candle’s range.

6. 📊 Displays Real-Time Info Table
A small table is shown on the chart:

🕯️ Pattern: “Shooting Star” or blank

💥 Breakout: “Yes” or “No”

⏱️ The timeframe being analyzed (e.g., “5” for 5-minute)

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.