Your Last Several Daily and Weekly Gaps, Plotted Automatically
Plots the last several daily and weekly opening gaps with high/low/midpoint lines.
Before you start: Most useful once you understand NDOG and NWOG.
Part of the My Edge Official framework — refined through thousands of hours of chart study.
Marking NDOG and NWOG by hand means checking the 16:59 close and the 18:00 open every single day, then deciding by eye whether the gap between them is a daily or weekly one. This script does that check automatically, on precise 1-minute data, and keeps the last several gaps drawn on your chart as live reference levels.
- What it does
- The code
Want all five indicators? Check out the All Indicators bundle and save.
Refund policy: Digital content unlocks immediately after purchase, so under EU consumer law the sale is final once delivered — read the description carefully before buying. Billing errors or access issues are always sorted out individually. Full terms.
Frequently Asked Questions
What does the NDOG + NWOG script do?⌄
It automatically detects the daily and weekly opening gaps using precise 1-minute data (the 16:59 close and 18:00 open in New York time), classifying any gap spanning more than 24 hours as a weekly NWOG and the rest as daily NDOGs, then draws high/low/midpoint lines for each.
How many gaps should I actually keep visible on the chart?⌄
As a general rule of thumb, keep the last 5 NDOGs and the last 5 NWOGs visible, since the most recent one or two carry the most weight and anything older adds clutter without much decision-relevant information.
Why does this script need 1-minute chart data specifically?⌄
Gap detection depends on the exact candle close at 16:59 and open at 18:00 New York time, so the underlying symbol needs 1-minute history available, or the script won't be able to detect gaps for that instrument.
NDOG vs NWOG in this script — how does it decide which is which?⌄
If more than 24 hours separate the 16:59 close from the following 18:00 open, the gap is classified and drawn as a weekly NWOG (purple); otherwise it's drawn as a daily NDOG (yellow).