Pine Script Developer for Session Candle Indicator

Job ID: 39816968

Budget: $10 – $30 USD

I need a Pine Script v6 indicator for TradingView that **plots trading sessions as single candles** based on user-defined time inputs. The indicator should take multiple session time ranges (e.g., Asia, London, New York AM, etc.), aggregate OHLC data for each session, and plot them as individual candles on the chart.

The session candles must stay visible until the end of the trading day and reset automatically after the daily cutoff. The script should also allow showing **two days' worth of session data** (today + yesterday).

I already have a reference design with screenshots (UI and chart examples), so you’ll know exactly how it should look and function.

---

### **Features Required**

1. **Session Inputs**

* User can define multiple sessions with custom start/end times.
* Each session has a label (Asia, Pre-London, London, Pre-NY, NY AM, NY Lunch, NY PM).
* Option to toggle **yesterday’s sessions on/off**.
* Automatic reset after daily cutoff (e.g., 18:00).

2. **Session Candle Construction**

* Open = first bar of session
* High = highest price in session
* Low = lowest price in session
* Close = last bar of session
* Session candles remain visible for the day until reset.

3. **Customization Options**

* Offset to the right (bars).
* Gap between candles (bars).
* Text labels above candles (session names).
* Adjustable text offset (ticks), text size, and text transparency (0–100).
* Option to show/hide session labels.

4. **Colors**

* Customizable colors for bullish and bearish candles.

5. **Daily Reset & Data**

* Must handle **2 days max** (today + yesterday).
* Clean reset after daily cutoff.

---

### **Technical Requirements**

* Must be written in **Pine Script v6**.
* Documentation and commented code**
* Optimized for performance (efficient handling of historical data).
* Compatible across all intraday chart timeframes (1m–15m priority).
* Must align visually with chart candles.

---

### **Deliverables**

* Pine Script source code (.pine)
* Installation & usage instructions
* Clean, bug-free, and efficient code

---

**Bonus:** If you’ve built session-based indicators before, please share examples in your proposal.
Related categories: Scripting Pine Script