PROTECTED SOURCE SCRIPT
FVG Strategy with One Trade Per Hour and Tick-based TP/SL

This strategy hunts for Fair Value Gaps (FVGs)—three-bar displacement gaps that mark imbalances where price moved so fast it left a “void.” It detects bullish (green) and bearish (red) FVGs on the chart timeframe or a higher timeframe you choose via the Timeframe input. Each detected zone is stored and optionally drawn as a box (static or “dynamic” that tightens with price). A simple threshold lets you filter out tiny gaps: either set a fixed percent (Threshold %) or let the script estimate it automatically. As price trades later, the engine watches for interaction with any stored zone.
Entries are taken on a touch/retest of the zone: buy when price intersects a green (bullish) FVG; short when it intersects a red (bearish) FVG. Risk management is manual and straightforward—your stop loss and take profit are set in ticks, placed off the signal bar’s close. To avoid over-trading, there’s a cap of one trade per hour (it resets when the clock hour changes). In short, it’s an intraday “gap fill / bounce” system: identify an imbalance, wait for price to revisit it, and take a directional trade with fixed tick targets and stops.
Entries are taken on a touch/retest of the zone: buy when price intersects a green (bullish) FVG; short when it intersects a red (bearish) FVG. Risk management is manual and straightforward—your stop loss and take profit are set in ticks, placed off the signal bar’s close. To avoid over-trading, there’s a cap of one trade per hour (it resets when the clock hour changes). In short, it’s an intraday “gap fill / bounce” system: identify an imbalance, wait for price to revisit it, and take a directional trade with fixed tick targets and stops.
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ể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
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.
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ể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
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.