OPEN-SOURCE SCRIPT

Yesterday Based High/Low strong setup bosstvs tikole s.p. pune

606



### **Indicator Overview**
This indicator is designed specifically for intraday traders (especially for the Indian/NSE market). It automatically plots Yesterday’s key levels and marks the High and Low of specific afternoon time ranges (2:25 to 2:35 PM) to help you find breakout or breakdown trades.



#### **1. Yesterday’s Key Levels (Yellow, Red, Blue Circles)**
These levels are calculated from the previous day's High, Low, and 50% midpoint. They act as major support and resistance for the current day.
* **Yellow Line (Yesterday 50%):** This is the midpoint of yesterday's High and Low. It is a strong psychological level. If the price is above this line, the market sentiment is generally bullish; if below, it's bearish.
* **Red Line (Yesterday High):** The highest point reached yesterday. If the price breaks above this line today, it signals a strong breakout.
* **Blue Line (Yesterday Low):** The lowest point reached yesterday. If the price breaks below this line today, it signals a strong breakdown.

#### **2. Time-Based High/Low Markers (2:25 PM to 2:35 PM)**
The afternoon session (around 2:30 PM) often creates a strong momentum move or a range before the market closes. This indicator captures the exact High and Low of these specific time ranges.
* **Orange Line (2:30 H):** This line represents the **Highest Price** between **14:25 and 14:30**. If the price breaks above this orange line after 2:30 PM, you can take a Buy (Long) trade.
* **Red Line (2:35 H):** This line represents the **Highest Price** between **14:30 and 14:35**. Another breakout level for Buy trades.
* **Green/Lime Line (2:35 L):** This line represents the **Lowest Price** between **14:30 and 14:35**. If the price breaks below this green line after 2:35 PM, you can take a Sell (Short) trade.

*Note: The price values (e.g., 44250.50) are displayed as labels on the left side of the lines so you know the exact level to watch.*

#### **3. "No History" Clean Chart Feature**
To keep your chart clean, the 2:30 and 2:35 lines are **only drawn for the current day**. When you scroll back to previous days, you will *not* see those old lines cluttering the chart. However, Yesterday's High, Low, and 50% lines will naturally remain visible in history.

---

### **How to Trade Using This Indicator (Example Strategy)**

1. **Pre-Market / Morning:** Watch how the price reacts to the **Yellow (50%)** line. Use it as a trend filter.
2. **Afternoon (2:25 PM - 2:35 PM):** Wait for the time ranges to finish. Do not trade during the 10 minutes while the lines are being formed.
3. **The Breakout Trade:**
* After 2:35 PM, if the price crosses **above** the Orange (2:30 H) or Red (2:35 H) lines with a strong candle, **Buy**. Keep your Stop Loss slightly below the Green (2:35 L) line.
* After 2:35 PM, if the price crosses **below** the Green (2:35 L) line with a strong candle, **Sell**. Keep your Stop Loss slightly above the Red (2:35 H) line.
4. **Confluence:** The best trades happen when the 2:30/2:35 breakout lines align with Yesterday's High or Low (Red/Blue circles).

---

### **Important Note on Timeframes**
This indicator is coded to work accurately on **1-minute, 3-minute, and 5-minute** charts. It automatically adjusts its internal calculation based on which of these three timeframes you are currently viewing. For best results, use a 3-minute or 5-minute chart.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.