PROTECTED SOURCE SCRIPT
First Candle + FVGs

🕯️ First Candle + 🟢🔴 FVG (Gated After Breakout)
Must be traded on the 1-minute timeframe.
• Step 1: At 9:30 AM NY time, the indicator starts tracking the first 15-minute range (9:30–9:45).
• Step 2: At 9:45 AM, it locks that range and draws two horizontal lines: First Candle High and First Candle Low.
• Step 3: The FVG logic is OFF until price breaks outside that locked range (above the high or below the low).
• Step 4: After the breakout happens, the FVG logic turns ON for the rest of the day.
• Step 5: The indicator detects bullish or bearish FVGs, but shows only one direction at a time:
• If a bullish FVG triggers → all bearish drawings are cleared/hidden.
• If a bearish FVG triggers → all bullish drawings are cleared/hidden.
• Step 6: For each active FVG, it plots:
• The FVG box
• The entry line (BUY or SELL)
• The stop-loss line (default light orange, using your selected SL rule)
• A number label for the FVG sequence
• Step 7: It resets everything on the next NY trading day and starts over.
Must be traded on the 1-minute timeframe.
• Step 1: At 9:30 AM NY time, the indicator starts tracking the first 15-minute range (9:30–9:45).
• Step 2: At 9:45 AM, it locks that range and draws two horizontal lines: First Candle High and First Candle Low.
• Step 3: The FVG logic is OFF until price breaks outside that locked range (above the high or below the low).
• Step 4: After the breakout happens, the FVG logic turns ON for the rest of the day.
• Step 5: The indicator detects bullish or bearish FVGs, but shows only one direction at a time:
• If a bullish FVG triggers → all bearish drawings are cleared/hidden.
• If a bearish FVG triggers → all bullish drawings are cleared/hidden.
• Step 6: For each active FVG, it plots:
• The FVG box
• The entry line (BUY or SELL)
• The stop-loss line (default light orange, using your selected SL rule)
• A number label for the FVG sequence
• Step 7: It resets everything on the next NY trading day and starts over.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.