OPEN-SOURCE SCRIPT

First 30M Candle Rule Ref / 5M Entries

258
This strategy highlights and reacts to two key 30-minute candles on the Romanian market schedule — at 10:30 AM and 15:30 or 16:30 (depending on daylight saving time).
It is designed to run on a 5-minute chart, using the 30-minute candles as reference points for potential entries.

When each 30-minute candle closes, the script:

Colors the background during that specific 30-minute period (green for the morning session, red for the afternoon session)

Sends an alert confirming the candle’s closure

Places a symbolic long trade after the 10:30 candle closes and a symbolic short trade after the afternoon candle closes (for backtesting purposes)

This setup allows traders to test or automate strategies that rely on market reactions following key time-based candles, without plotting any extra lines on the chart.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.