HSI1! First 30m Candle Strategy (15m Chart)## HSI1! First 30-Minute Candle Breakout Strategy (15m Chart) — Description
### Overview
This strategy is designed for trading **Hang Seng Index (HSI) Futures** on a 15-minute chart. It uses the price range established during the first 30 minutes of the Hong Kong main session (09:15–09:44:59) to define key breakout levels for a systematic trade entry each day.
### How the Strategy Works
#### 1. Reference Candle Period
- **Aggregation Window:** The strategy monitors the first two 15-minute bars of the session (09:15:00–09:44:59 HKT).
- **Range Capture:** It records the highest and lowest prices (the "reference high/low") during this window.
#### 2. Trade Setup
- After the 09:45 bar completes, the reference range is locked in.
- Throughout the rest of the trading day (within session hours), the strategy looks for breakouts beyond the reference range.
#### 3. Entry Rules
- **Long Entry (Buy):**
- Triggered if price rises to or above the reference high.
- Only entered if the user's settings permit "Buy Only" or "Both".
- **Short Entry (Sell):**
- Triggered if price falls to or below the reference low.
- Only entered if the user's settings permit "Sell Only" or "Both".
- **Single trade per day:**
- Once any trade executes, no additional trades are opened until the next session.
#### 4. Exit Rules
- **Take Profit (TP):**
- Target profit is set to a distance equal to the initial range added above the long entry (or subtracted below the short entry).
- Example: For a 100-point range, a long trade targets entry + 100 points.
- **Stop Loss (SL):**
- Longs are stopped out if price falls back to the session's reference low; shorts are stopped out if price rallies to the reference high.
#### 5. Session Control
- Active only within the regular day session (09:15–12:00 and 13:00–16:00 HKT).
- Trade tracking resets each new trading day.
#### 6. Trade Direction Manual Setting
- A user input allows restriction to "Buy Only", "Sell Only" or "Both" directions, providing discretion over daily bias.
### Example Workflow
| Step | Action |
|---------------------------|-------------------------------------------------------------------------|
| 09:15–09:44 | Aggregate first two 15m candles; record daily high/low |
| After 09:45 | Wait for a breakout (price crossing either the high or the low) |
| Long trade triggered | Enter at the reference high, target is "high + range", SL is at the low |
| Short trade triggered | Enter at the reference low, target is "low - range", SL at the high |
| Trade management | No more trades for the day, regardless of further breakouts |
| End of session (if open) | Trades may be closed per further logic or left to strategy to handle |
### Key Features and Benefits
- **Discipline:** Only one trade per day, minimizing overtrading.
- **Clarity:** Transparent entry/exit rules; no discretionary execution.
- **Flexibility:** User can bias system to buy-only, sell-only, or allow both, depending on trend or personal view.
- **Simple Risk Control:** Pre-defined stop loss and profit target for every trade.
- **Works best in:** Trending, breakout-prone markets with a history of impulsive moves early in the session.
This strategy is ideal for systematic traders looking to capture the Hang Seng's early session momentum, with robust rule-based management and minimal intervention.
Firstcandle
First Candle High Low LevelsDescription
The "First Candle High Low Levels" Pine Script indicator is designed to highlight the high and low levels of the first candle of the day on your TradingView chart. It works across different timeframes and specifically handles the Indian stock market trading hours (9:15 AM to 3:30 PM IST). The script draws a box from the start to the end of the trading session, visually marking the price range defined by the first candle of the day. Traders can customize the box's border color, fill color, and line width.
Features
Customizable Timeframe: Users can select the desired timeframe for the first candle (e.g., 5-minute, 15-minute, etc.).
Custom Box Appearance: Options to adjust the border color, fill color, and line width of the drawn box.
Auto Reset for Each New Day: The high and low of the first candle are reset daily to mark the start of the next trading day.
Accurate Market Session Handling: The box is drawn from the start of the first candle to the end of the trading session (3:30 PM IST).
Usage
Adding to Chart: Apply the script by copying it into the Pine Script editor in TradingView. Once added, the script will automatically draw a box representing the high and low of the first candle of the day.
Select Timeframe: You can adjust the First Candle Timeframe input to define which timeframe candle will be used for marking the high and low. For example, if you choose a 5-minute timeframe, the high and low of the first 5-minute candle will be used.
Customization:
Adjust the Border Color and Box Fill Color through the input settings to match your chart's style.
Modify the Box Line Width to make the box lines more or less prominent.
First CandleDay first candle breakout Indicator
In this indicator script, we search for the high and low of the first candle of the day. After the breakout of either the high or low, we initiate a trade. This indicator is based on the breakout of the opening range of the first candle.
Buy Breakout -
1. Identify the high and low of the first candle of the day.
2. If there is an upside breakout, or a downside breakout, stop extend the high and low accordingly.
Sell Breakout -
1. Identify the high and low of the first candle of the day.
2. If there is a downside breakout or an upside breakout, stop extend the high and low accordingly.
FirstBarRangeFirstBarRange study displays lines for the high and low of the first bar/candle of the trading day, along with shaded areas for the range on top of the first bar high and below the first bar low.
This study is very useful for intraday traders to see when stocks trade above the first bar high, it shows strength, and many times the high of the first bar is also good support.
On the contrary, below the first bar high tends to be good area of weakness and many times it becomes a good resistance level.
Many times when the stock trades inside the first bar range, price will be choppy and range bound.