OPEN-SOURCE SCRIPT
Execution Signals .... Confluence Strategy

A price action strategy built for intraday futures trading on NQ, MNQ, ES, and MES.
SIGNALS
Detects three candle patterns on bar close:
- Failure to Go High — price exceeds previous high, closes back below it with an upper wick
- Failure to Go Low — price exceeds previous low, closes back above it with a lower wick
- Inside Bar — full range contained within the previous bar
ENTRY
Signal bar closes and locks in levels. The immediate next bar must close beyond the signal high (long) or signal low (short). Entry fills at that bar's close. If the execution bar closes outside both sides simultaneously, no trade is taken.
STOP & TARGET
Stop is placed at the wick high or low of the signal bar. Take profit is 1R — equal distance from entry as the stop.
POSITION SIZING (CONFLUENCE)
Base size is 1 contract. Additional contracts are added when the signal bar is within ATR proximity of key levels:
+2 contracts — near an Hourly Flip Engine level
+3 contracts — near VWAP
+4 contracts — near Previous Day High or Low (RTH session)
Conditions are additive. Maximum is 9 contracts when all three align.
SESSION
Entries allowed from 6:00 PM ET. All positions force-closed at 4:09 PM ET. No trades during the 4:00–6:00 PM ET dead zone.
TOOLS INCLUDED
- Hourly Flip Engine — horizontal levels from 1H color flips, invalidated on body cross
- VWAP — anchored session VWAP
- PDH/PDL — previous RTH session high and low
SIGNALS
Detects three candle patterns on bar close:
- Failure to Go High — price exceeds previous high, closes back below it with an upper wick
- Failure to Go Low — price exceeds previous low, closes back above it with a lower wick
- Inside Bar — full range contained within the previous bar
ENTRY
Signal bar closes and locks in levels. The immediate next bar must close beyond the signal high (long) or signal low (short). Entry fills at that bar's close. If the execution bar closes outside both sides simultaneously, no trade is taken.
STOP & TARGET
Stop is placed at the wick high or low of the signal bar. Take profit is 1R — equal distance from entry as the stop.
POSITION SIZING (CONFLUENCE)
Base size is 1 contract. Additional contracts are added when the signal bar is within ATR proximity of key levels:
+2 contracts — near an Hourly Flip Engine level
+3 contracts — near VWAP
+4 contracts — near Previous Day High or Low (RTH session)
Conditions are additive. Maximum is 9 contracts when all three align.
SESSION
Entries allowed from 6:00 PM ET. All positions force-closed at 4:09 PM ET. No trades during the 4:00–6:00 PM ET dead zone.
TOOLS INCLUDED
- Hourly Flip Engine — horizontal levels from 1H color flips, invalidated on body cross
- VWAP — anchored session VWAP
- PDH/PDL — previous RTH session high and low
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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ã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.