OPEN-SOURCE SCRIPT
Telah dikemas kini

RTH 1st Presented FVG

717
Plots the first Fair Value Gap of the Regular Trading Hours session and keeps those levels on the chart.

First presented FVG

Detects the first 3-candle wick-and-body FVG after the cash open. The middle candle cannot be the 09:30 bar, so the earliest valid gap starts at 09:31. By default the gap is measured on 1-minute data and drawn on any chart up to the Max Timeframe. Turn on “Use Chart Timeframe for 1st Presented” to measure it on the chart’s own timeframe instead.

Gradient Levels

Each gap can show high/low, equilibrium, quartiles, and optional eighths. One label sits at the midpoint. Boxes and lines can extend right with a bar buffer.

History

Choose how many daily first-FVGs to keep. Optionally keep a separate count of Monday and Friday gaps so those days stay visible longer.

Premium / Discount

Builds a range from recent first-FVG highs and lows. A table shows premium or discount versus equilibrium, with optional gradient lines at high, low, mid, quartiles, and eighths.

Overlapping FVGs

Optionally highlight later FVGs that trade through a stored first-FVG level. Can limit that to the first overlap of the session.

Session hours, timezone, colors, line styles, and Max Timeframe are all user-controlled.
Nota Keluaran
1. Made option to exclude current day (if Monday/Friday) for the last 2 weeks of Monday/Friday calculation.
Nota Keluaran
1. Added 1st Displacement FVG
2. Added 1st Reflection FVG
3. Fixed Premium/Discount bug
4. Fixed historical session bug
Nota Keluaran
1. Corrected last 2 weeks of Mondays/Fridays to be 2 weeks prior to the current open trading week.
2. Added Isolation Mode. Users can select any week day(s) and select how many weeks back to see gaps of those specific days.
3. Added option to include/force show gaps on holidays when not the traditional RTH definition.

Note: Gap sizing and displacement body size are optimized for NQ1! When trading ES1!, users might want to lower minimum gap size and displacement body size.
Nota Keluaran
1. Fixed bug for Show last Monday/Friday Gaps when viewed in RTH mode.
Nota Keluaran
1. Fixed bug with Isolation mode showing 1st Presented FVGs in the chart timeframe.
2. Strengthened logic for Displacement Gaps (Still a work in progress).
3. Added macro time filter to overlapping FVGs.
Nota Keluaran
1. Fixed bug with gaps origin.
2. Buffer and TV RTH Session mode no longer working. Will look for fix in next update.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.