Independent market intelligence
Research over noise · Risk before return
Crypto research guide

Missing, duplicate and unclosed candles in crypto data

A gap between candle timestamps can mean that no trades took place or that data went missing. A repeated row and an unclosed candle can also change a calculation. We rebuild a day of ETH/USDC from trades, then test three controlled changes on copies of the data.

In simple terms

Start with the expected UTC minutes. Verify an empty interval against the trade archive, consolidate exact duplicates, and use completed bars for a close-based signal. Keep an unresolved gap visible until you can restore or classify it.

On this page
01

Build the clock before reading the rows

Write down the venue, market, symbol, interval and timezone. On M1 each expected start is one minute after the previous one. Include trades at the start and assign trades at the next minute boundary to that next minute. This gives a fixed grid even when a feed omits some rows.

02

Rebuild a day from actual trades

We use Binance Spot ETH/USDC on 2024-02-05 UTC. The archive covers 1,440 expected minutes, with trades in 1,349 and no trades in 91. We used 14,669 individual trades to check the minute records. The H1 overview groups the same minutes by hour.

The same day grouped into H1 candles

ETH/USDC · Binance Spot · 2024-02-05 UTC

The same day grouped into H1 candlesUSDC · H12,2502,3002,3502024-02-05 00:00 UTC · Open 2,288.66 · High 2,293.67 · Low 2,277.94 · Close 2,279.60 · Base volume (ETH) 197.1179 · Trades 507 · Status Verified candle2024-02-05 01:00 UTC · Open 2,279.02 · High 2,282.88 · Low 2,267.83 · Close 2,281.95 · Base volume (ETH) 155.2773 · Trades 509 · Status Verified candle2024-02-05 02:00 UTC · Open 2,281.37 · High 2,281.89 · Low 2,275.96 · Close 2,279.81 · Base volume (ETH) 88.9346 · Trades 292 · Status Verified candle2024-02-05 03:00 UTC · Open 2,279.78 · High 2,296.08 · Low 2,279.57 · Close 2,293.70 · Base volume (ETH) 169.1914 · Trades 407 · Status Verified candle2024-02-05 04:00 UTC · Open 2,294.33 · High 2,297.69 · Low 2,289.80 · Close 2,292.86 · Base volume (ETH) 146.0770 · Trades 356 · Status Verified candle2024-02-05 05:00 UTC · Open 2,292.94 · High 2,293.49 · Low 2,287.38 · Close 2,293.31 · Base volume (ETH) 84.2704 · Trades 237 · Status Verified candle2024-02-05 06:00 UTC · Open 2,293.20 · High 2,299.99 · Low 2,291.87 · Close 2,299.02 · Base volume (ETH) 137.9845 · Trades 386 · Status Verified candle2024-02-05 07:00 UTC · Open 2,299.03 · High 2,309.95 · Low 2,296.06 · Close 2,307.99 · Base volume (ETH) 453.6492 · Trades 901 · Status Verified candle2024-02-05 08:00 UTC · Open 2,307.83 · High 2,322.71 · Low 2,307.83 · Close 2,319.84 · Base volume (ETH) 503.2927 · Trades 1,048 · Status Verified candle2024-02-05 09:00 UTC · Open 2,320.67 · High 2,322.82 · Low 2,312.27 · Close 2,317.89 · Base volume (ETH) 1,210.6680 · Trades 2,304 · Status Verified candle2024-02-05 10:00 UTC · Open 2,318.19 · High 2,330.64 · Low 2,318.19 · Close 2,320.95 · Base volume (ETH) 370.4684 · Trades 841 · Status Verified candle2024-02-05 11:00 UTC · Open 2,320.42 · High 2,327.51 · Low 2,320.19 · Close 2,327.51 · Base volume (ETH) 111.7831 · Trades 347 · Status Verified candle2024-02-05 12:00 UTC · Open 2,327.72 · High 2,329.09 · Low 2,319.78 · Close 2,322.72 · Base volume (ETH) 232.5407 · Trades 465 · Status Verified candle2024-02-05 13:00 UTC · Open 2,323.09 · High 2,336.06 · Low 2,320.62 · Close 2,327.61 · Base volume (ETH) 219.0798 · Trades 568 · Status Verified candle2024-02-05 14:00 UTC · Open 2,328.04 · High 2,331.67 · Low 2,315.12 · Close 2,316.74 · Base volume (ETH) 207.8699 · Trades 534 · Status Verified candle2024-02-05 15:00 UTC · Open 2,316.56 · High 2,316.56 · Low 2,291.51 · Close 2,295.17 · Base volume (ETH) 391.9993 · Trades 1,198 · Status Verified candle2024-02-05 16:00 UTC · Open 2,296.13 · High 2,299.44 · Low 2,287.61 · Close 2,298.87 · Base volume (ETH) 319.9874 · Trades 924 · Status Verified candle2024-02-05 17:00 UTC · Open 2,298.79 · High 2,304.50 · Low 2,294.36 · Close 2,299.23 · Base volume (ETH) 103.8093 · Trades 357 · Status Verified candle2024-02-05 18:00 UTC · Open 2,299.47 · High 2,301.56 · Low 2,291.61 · Close 2,298.68 · Base volume (ETH) 122.6269 · Trades 328 · Status Verified candle2024-02-05 19:00 UTC · Open 2,298.68 · High 2,309.55 · Low 2,297.86 · Close 2,301.54 · Base volume (ETH) 110.7271 · Trades 336 · Status Verified candle2024-02-05 20:00 UTC · Open 2,302.31 · High 2,302.80 · Low 2,280.78 · Close 2,290.66 · Base volume (ETH) 250.8927 · Trades 628 · Status Verified candle2024-02-05 21:00 UTC · Open 2,291.41 · High 2,292.51 · Low 2,283.27 · Close 2,286.59 · Base volume (ETH) 183.7210 · Trades 449 · Status Verified candle2024-02-05 22:00 UTC · Open 2,286.31 · High 2,293.55 · Low 2,283.54 · Close 2,291.90 · Base volume (ETH) 206.2451 · Trades 464 · Status Verified candle2024-02-05 23:00 UTC · Open 2,291.89 · High 2,299.17 · Low 2,288.93 · Close 2,298.99 · Base volume (ETH) 95.6535 · Trades 283 · Status Verified candle00:0012:0023:00
Open
2,288.66
High
2,293.67
Low
2,277.94
Close
2,279.60
Base volume (ETH)
197.1179
Trades
507
Status
Verified candle
Expected minutes
1,440
Minutes with trades
1,349
Minutes without trades
91
Trades
14,669
The hour bars use the verified minute grid. The counts underneath describe the source day.
03

Recognise a confirmed empty minute

At 00:08 UTC the archived trade sequence shows no trade during that minute. The candle archive carries the preceding close across all four prices, with zero volume and zero trades. The dashed mark indicates that carried value. A flat candle with trades can have the same four prices, so inspect the trade count and the underlying sequence.

A verified minute without trades

ETH/USDC · Binance Spot · 2024-02-05 UTC

A verified minute without tradesUSDC · M12,2862,2872,2882,2892,2902024-02-05 00:02 UTC · Open 2,287.26 · High 2,287.60 · Low 2,287.26 · Close 2,287.60 · Base volume (ETH) 1.1816 · Trades 2 · Status Verified candle2024-02-05 00:03 UTC · Open 2,287.53 · High 2,287.89 · Low 2,287.53 · Close 2,287.89 · Base volume (ETH) 0.9568 · Trades 4 · Status Verified candle2024-02-05 00:04 UTC · Open 2,287.70 · High 2,287.70 · Low 2,287.54 · Close 2,287.54 · Base volume (ETH) 1.1836 · Trades 3 · Status Verified candle2024-02-05 00:05 UTC · Open 2,287.24 · High 2,287.24 · Low 2,286.90 · Close 2,286.90 · Base volume (ETH) 0.2373 · Trades 3 · Status Verified candle2024-02-05 00:06 UTC · Open 2,286.75 · High 2,286.78 · Low 2,286.75 · Close 2,286.78 · Base volume (ETH) 1.2025 · Trades 2 · Status Verified candle2024-02-05 00:07 UTC · Open 2,286.68 · High 2,286.68 · Low 2,286.68 · Close 2,286.68 · Base volume (ETH) 0.0888 · Trades 1 · Status Verified candle2024-02-05 00:08 UTC · Open 2,286.68 · High 2,286.68 · Low 2,286.68 · Close 2,286.68 · Base volume (ETH) 0.0000 · Trades 0 · Status Verified carried close2024-02-05 00:09 UTC · Open 2,287.16 · High 2,287.16 · Low 2,287.16 · Close 2,287.16 · Base volume (ETH) 0.0888 · Trades 2 · Status Verified candle2024-02-05 00:10 UTC · Open 2,287.52 · High 2,288.43 · Low 2,287.52 · Close 2,288.43 · Base volume (ETH) 1.9656 · Trades 4 · Status Verified candle2024-02-05 00:11 UTC · Open 2,288.42 · High 2,289.13 · Low 2,288.42 · Close 2,289.13 · Base volume (ETH) 2.2595 · Trades 6 · Status Verified candle2024-02-05 00:12 UTC · Open 2,289.42 · High 2,289.42 · Low 2,289.22 · Close 2,289.22 · Base volume (ETH) 1.5080 · Trades 4 · Status Verified candle2024-02-05 00:13 UTC · Open 2,289.22 · High 2,289.22 · Low 2,289.22 · Close 2,289.22 · Base volume (ETH) 0.0000 · Trades 0 · Status Verified carried close2024-02-05 00:14 UTC · Open 2,289.42 · High 2,289.42 · Low 2,289.34 · Close 2,289.34 · Base volume (ETH) 0.3729 · Trades 2 · Status Verified candle00:0200:0800:14
Open
2,286.68
High
2,286.68
Low
2,286.68
Close
2,286.68
Base volume (ETH)
0.0000
Trades
0
Status
Verified carried close

Trade before the empty minute

Time (UTC)
Trade ID
33997873
Price (USDC)
2,286.68

Trade after the empty minute

Time (UTC)
Trade ID
33997874
Price (USDC)
2,287.16
The dashed line inside the highlighted minute marks the carried close. Adjacent candles are priced from trades.
04

Separate an empty interval from lost data

In a copy we remove the real row at 00:20 UTC, which had 23 trades. The chart keeps its time slot open. An omitted empty interval and a lost active row can both appear as a missing timestamp. The underlying trade history distinguishes them. Coinbase Exchange, for example, documents that it leaves out intervals without ticks.

A real minute removed from a copy

ETH/USDC · Binance Spot · 2024-02-05 UTC

A real minute removed from a copyUSDC · M12,2802,2852,2902,2952024-02-05 00:14 UTC · Open 2,289.42 · High 2,289.42 · Low 2,289.34 · Close 2,289.34 · Base volume (ETH) 0.3729 · Trades 2 · Status Verified candle2024-02-05 00:15 UTC · Open 2,289.22 · High 2,289.22 · Low 2,288.93 · Close 2,288.93 · Base volume (ETH) 1.4000 · Trades 8 · Status Verified candle2024-02-05 00:16 UTC · Open 2,288.65 · High 2,289.02 · Low 2,288.14 · Close 2,288.14 · Base volume (ETH) 2.3367 · Trades 6 · Status Verified candle2024-02-05 00:17 UTC · Open 2,287.53 · High 2,287.53 · Low 2,287.14 · Close 2,287.14 · Base volume (ETH) 0.3215 · Trades 3 · Status Verified candle2024-02-05 00:18 UTC · Open 2,287.15 · High 2,287.66 · Low 2,285.17 · Close 2,285.29 · Base volume (ETH) 7.6100 · Trades 22 · Status Verified candle2024-02-05 00:19 UTC · Open 2,284.81 · High 2,284.94 · Low 2,283.78 · Close 2,283.78 · Base volume (ETH) 3.9760 · Trades 10 · Status Verified candle2024-02-05 00:20 UTC · Open — · High — · Low — · Close — · Base volume (ETH) — · Trades — · Status Active row removed?2024-02-05 00:21 UTC · Open 2,284.13 · High 2,284.88 · Low 2,284.13 · Close 2,284.88 · Base volume (ETH) 0.4435 · Trades 3 · Status Verified candle2024-02-05 00:22 UTC · Open 2,286.06 · High 2,286.06 · Low 2,286.06 · Close 2,286.06 · Base volume (ETH) 0.0888 · Trades 1 · Status Verified candle2024-02-05 00:23 UTC · Open 2,286.03 · High 2,287.13 · Low 2,286.03 · Close 2,286.58 · Base volume (ETH) 2.8271 · Trades 6 · Status Verified candle2024-02-05 00:24 UTC · Open 2,287.97 · High 2,291.42 · Low 2,287.97 · Close 2,291.42 · Base volume (ETH) 21.6017 · Trades 63 · Status Verified candle2024-02-05 00:25 UTC · Open 2,291.67 · High 2,293.67 · Low 2,291.20 · Close 2,291.20 · Base volume (ETH) 6.2292 · Trades 19 · Status Verified candle2024-02-05 00:26 UTC · Open 2,290.42 · High 2,290.42 · Low 2,290.20 · Close 2,290.21 · Base volume (ETH) 0.9184 · Trades 5 · Status Verified candle00:1400:2000:26
Open
—
High
—
Low
—
Close
—
Base volume (ETH)
—
Trades
—
Status
Active row removed
The blank slot is the injected gap. The UTC grid preserves its place. The missing row can be checked against the original tape.
05

Recover the candle from the same market

When the trade log has complete coverage of an active minute, take the first, highest, lowest and last trade price for OHLC. Sum the base quantities for volume and count the trades. When the trade history is itself incomplete, keep the gap unresolved and record what you were able to verify.

06

Fix the test rule first

For an active, completed minute, compare its close with the average close of the previous 3 UTC minutes. The flag is true only when the current close is strictly higher. After verification, carry the last close through a minute without trades for this indicator. Require all 3 time slots. Execution needs its own prices and timing.

07

See how a skipped row changes the flag

In the missing-row example the naive calculation takes the latest 3 available rows. It can pull an older price into the window. The strict clock-based calculation pauses while the gap is unresolved. After restoring the archived row, the reference average and flag can be reproduced. The comparison below shows exactly how the reference and naive averages differ.

The missing-row comparison

Verified reference

Minute start (UTC)
00:21
Previous minute starts (UTC)
00:18 · 00:19 · 00:20
Closes used (USDC)
2,285.29 · 2,283.78 · 2,282.50
Average of prior closes (USDC)
2,283.856667
Close being tested (USDC)
2,284.88
Flag
True

Naive calculation

Minute start (UTC)
00:21
Previous minute starts (UTC)
00:17 · 00:18 · 00:19
Closes used (USDC)
2,287.14 · 2,285.29 · 2,283.78
Average of prior closes (USDC)
2,285.403333
Close being tested (USDC)
2,284.88
Flag
False

Unresolved gap

Minute start (UTC)
00:21
Flag
Pending
The reference window uses 3 previous UTC slots. The naive calculation moves back until it finds 3 rows. A strict calculation waits for the missing slot to be restored.
08

Check the key before deduplicating

Use the venue, market, symbol, timeframe and opening time as the candle key. Keep one copy of identical final rows. If values disagree for the same key, look up the authoritative record and retain the mismatch for review. An update to a forming candle belongs to that candle until it is final.

09

See what an exact duplicate changes

We repeat the verified row at 00:25 UTC in a copy of the input. The naive latest-3-rows window gives the repeated close extra weight. Deduplication restores one row per minute and recovers the reference calculation. The chart keeps a single time slot for the repeated row.

One minute with an injected repeat

ETH/USDC · Binance Spot · 2024-02-05 UTC

One minute with an injected repeatUSDC · M12,2802,2852,2902,2952024-02-05 00:19 UTC · Open 2,284.81 · High 2,284.94 · Low 2,283.78 · Close 2,283.78 · Base volume (ETH) 3.9760 · Trades 10 · Status Verified candle2024-02-05 00:20 UTC · Open 2,283.17 · High 2,283.17 · Low 2,281.05 · Close 2,282.50 · Base volume (ETH) 10.0719 · Trades 23 · Status Verified candle2024-02-05 00:21 UTC · Open 2,284.13 · High 2,284.88 · Low 2,284.13 · Close 2,284.88 · Base volume (ETH) 0.4435 · Trades 3 · Status Verified candle2024-02-05 00:22 UTC · Open 2,286.06 · High 2,286.06 · Low 2,286.06 · Close 2,286.06 · Base volume (ETH) 0.0888 · Trades 1 · Status Verified candle2024-02-05 00:23 UTC · Open 2,286.03 · High 2,287.13 · Low 2,286.03 · Close 2,286.58 · Base volume (ETH) 2.8271 · Trades 6 · Status Verified candle2024-02-05 00:24 UTC · Open 2,287.97 · High 2,291.42 · Low 2,287.97 · Close 2,291.42 · Base volume (ETH) 21.6017 · Trades 63 · Status Verified candle2024-02-05 00:25 UTC · Open 2,291.67 · High 2,293.67 · Low 2,291.20 · Close 2,291.20 · Base volume (ETH) 6.2292 · Trades 19 · Status Repeated row2024-02-05 00:26 UTC · Open 2,290.42 · High 2,290.42 · Low 2,290.20 · Close 2,290.21 · Base volume (ETH) 0.9184 · Trades 5 · Status Verified candle2024-02-05 00:27 UTC · Open 2,290.20 · High 2,290.20 · Low 2,290.07 · Close 2,290.07 · Base volume (ETH) 0.0931 · Trades 2 · Status Verified candle2024-02-05 00:28 UTC · Open 2,291.47 · High 2,291.47 · Low 2,291.47 · Close 2,291.47 · Base volume (ETH) 0.0650 · Trades 1 · Status Verified candle2024-02-05 00:29 UTC · Open 2,290.63 · High 2,290.63 · Low 2,290.33 · Close 2,290.33 · Base volume (ETH) 0.3430 · Trades 2 · Status Verified candle2024-02-05 00:30 UTC · Open 2,290.31 · High 2,290.31 · Low 2,288.73 · Close 2,288.73 · Base volume (ETH) 0.6861 · Trades 6 · Status Verified candle2024-02-05 00:31 UTC · Open 2,288.41 · High 2,288.41 · Low 2,286.60 · Close 2,286.60 · Base volume (ETH) 2.6432 · Trades 12 · Status Verified candle00:1900:2500:31
Open
2,291.67
High
2,293.67
Low
2,291.20
Close
2,291.20
Base volume (ETH)
6.2292
Trades
19
Status
Repeated row

Naive calculation

Minute start (UTC)
00:26
Previous minute starts (UTC)
00:24 · 00:25 · 00:25
Closes used (USDC)
2,291.42 · 2,291.20 · 2,291.20
Average of prior closes (USDC)
2,291.273333
Close being tested (USDC)
2,290.21
Flag
False

After deduplication

Minute start (UTC)
00:26
Previous minute starts (UTC)
00:23 · 00:24 · 00:25
Closes used (USDC)
2,286.58 · 2,291.42 · 2,291.20
Average of prior closes (USDC)
2,289.733333
Close being tested (USDC)
2,290.21
Flag
True
The chart keeps a single place for the highlighted minute. Below it, the naive calculation uses the same close twice. Deduplication returns to the reference window.
10

Look at a candle while it is forming

For the minute starting at 00:04 UTC we reconstruct the state at 00:04:30 UTC using trades strictly before that cutoff. The provisional and final views show the same minute with different available information. The two candle panels share a price scale.

The same minute at two decision times

ETH/USDC · Binance Spot · 2024-02-05 UTC

At the provisional cutoff

Cutoff (UTC) · 00:04:30 UTC

At the provisional cutoffUSDC · M12,2872,2882,2892024-02-05 00:00 UTC · Open 2,288.66 · High 2,288.85 · Low 2,288.07 · Close 2,288.10 · Base volume (ETH) 0.6730 · Trades 7 · Status Verified candle2024-02-05 00:01 UTC · Open 2,287.52 · High 2,287.81 · Low 2,287.23 · Close 2,287.24 · Base volume (ETH) 0.8755 · Trades 5 · Status Verified candle2024-02-05 00:02 UTC · Open 2,287.26 · High 2,287.60 · Low 2,287.26 · Close 2,287.60 · Base volume (ETH) 1.1816 · Trades 2 · Status Verified candle2024-02-05 00:03 UTC · Open 2,287.53 · High 2,287.89 · Low 2,287.53 · Close 2,287.89 · Base volume (ETH) 0.9568 · Trades 4 · Status Verified candle2024-02-05 00:04 UTC · Open 2,287.70 · High 2,287.70 · Low 2,287.70 · Close 2,287.70 · Base volume (ETH) 1.0927 · Trades 1 · Status At the provisional cutoff00:0000:0200:04
Open
2,287.70
High
2,287.70
Low
2,287.70
Close
2,287.70
Base volume (ETH)
1.0927
Trades
1
Status
At the provisional cutoff

At the minute close

00:05:00 UTC

At the minute closeUSDC · M12,2872,2882,2892024-02-05 00:00 UTC · Open 2,288.66 · High 2,288.85 · Low 2,288.07 · Close 2,288.10 · Base volume (ETH) 0.6730 · Trades 7 · Status Verified candle2024-02-05 00:01 UTC · Open 2,287.52 · High 2,287.81 · Low 2,287.23 · Close 2,287.24 · Base volume (ETH) 0.8755 · Trades 5 · Status Verified candle2024-02-05 00:02 UTC · Open 2,287.26 · High 2,287.60 · Low 2,287.26 · Close 2,287.60 · Base volume (ETH) 1.1816 · Trades 2 · Status Verified candle2024-02-05 00:03 UTC · Open 2,287.53 · High 2,287.89 · Low 2,287.53 · Close 2,287.89 · Base volume (ETH) 0.9568 · Trades 4 · Status Verified candle2024-02-05 00:04 UTC · Open 2,287.70 · High 2,287.70 · Low 2,287.54 · Close 2,287.54 · Base volume (ETH) 1.1836 · Trades 3 · Status Verified candle00:0000:0200:04
Open
2,287.70
High
2,287.70
Low
2,287.54
Close
2,287.54
Base volume (ETH)
1.1836
Trades
3
Status
Verified candle
The highlighted candle is provisional on the first panel and final on the second. Both use the same scale and the same preceding closes.
11

Compare the provisional and final signal

Both calculations use the same 3 preceding closes. The forming candle's latest trade price can change before the minute ends. A close-based test can evaluate that minute only after its close is available. The provisional comparison illustrates what would happen if a live snapshot were treated as final.

At the provisional cutoff

Minute start (UTC)
00:04
Previous minute starts (UTC)
00:01 · 00:02 · 00:03
Closes used (USDC)
2,287.24 · 2,287.60 · 2,287.89
Average of prior closes (USDC)
2,287.576667
Close being tested (USDC)
2,287.70
Flag
True

At the minute close

Minute start (UTC)
00:04
Previous minute starts (UTC)
00:01 · 00:02 · 00:03
Closes used (USDC)
2,287.24 · 2,287.60 · 2,287.89
Average of prior closes (USDC)
2,287.576667
Close being tested (USDC)
2,287.54
Flag
False
12

Read closure according to the feed

Use the interval boundary and the source's finalisation rule. In Binance Spot WebSocket kline events, the x field indicates whether the bar is closed. Save the event time and opening time separately. Repeated updates to an open bar are normal. The closing version is the one used in a close-based test.

13

Check timestamp units and continuity

Convert timestamps according to the source format and check the interval spacing after conversion. Binance Spot archive timestamps use microseconds from 1 January 2025. The archived day here uses milliseconds. Check the trading pair and date boundaries along with the clock before classifying any gap.

14

Write down the recovery decision

Keep the original data and label any corrected copy. Record whether a slot is confirmed empty, restored from trades, unresolved, repeated or provisional. Use the same decision in the test and in the review. Indicator continuity and the ability to execute an order are separate questions.

15

Reproduce the comparisons

The JSON contains the archive URLs, checksums, the minute grid, and the original and modified inputs for each example. Rebuild the archived bars, then make each change independently. To avoid rounding at the threshold, test whether 3 times the current close exceeds the sum of the previous 3 closes.

16

What to check before a backtest

Confirm the expected clock grid, check unique keys, verify gaps against the trades and select only bars that were available at decision time. Preserve the source and the recovery rules. Review both the candles and the numeric inputs so a result can be traced back to the data.

Frequently asked questions

Does every missing timestamp mean there were no trades?

Use the underlying trade history and its coverage to classify the interval. If coverage is uncertain, keep it unresolved.

Is a flat candle an empty minute?

A candle can be flat even when every trade happened at the same price. Use verified trades and volume to distinguish it from a carried close.

Can I simply keep the last duplicate row?

Keep one copy of exact repeats. If the final values differ, reconcile the versions with the authoritative source before choosing a row.

Can I use a live candle as the final close?

Use the closing version when a rule depends on the final close. A live snapshot can be used for a separately defined intrabar rule.

Can I carry the previous close across a gap?

Use carry-forward as an explicitly documented feature for confirmed empty intervals. Mark those values separately from traded prices.

Do the examples show a trading return?

They show how data changes a comparison flag. A return calculation also needs entry, exit, sizing and execution costs.

Primary sources

Created by the MyProfitFactor editorial team.

Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.