TickSig
Candlestick pattern

Price gap

The formula detects a price gap relative to the preceding trading range.

Purpose and construction

The formula detects a price gap relative to the preceding trading range.

Price gap is applied to the chart series using the local definition below. Each period counts one bar on the active chart. The same period therefore covers a different amount of time on daily and intraday charts.

How to read it

Read the preceding trend and later confirmation. Exact body, shadow and gap thresholds follow the local calculation below.

A highlight or true output records a match to the local pattern conditions. Platforms can use different body ratios, gap rules and trend filters, so compare definitions before comparing markers.

Parameters

This definition exposes no configurable parameters.

Parameter names match the variables in the calculation. After changing a lookback or smoothing period, recalculate on the same data to compare response speed. Defaults from another platform may not match this definition.

Actual application chart

This screenshot shows Price gap running on the application's TSLA daily chart. Price and indicator share the same market history, preserving the curves, bars and markers drawn by the application.

Actual application screenshot of Price gap on the TSLA daily chart
Captured 2026-10-19; market data through 2026-10-16. Only surrounding interface elements were cropped; the indicator was not redrawn.

The loaded history contains 112 matches. The chart is positioned around an actual match near 2026-10-15.

Read the preceding trend and later confirmation. Exact body, shadow and gap thresholds follow the local calculation below.

  1. Check the displayed indicator name and parameters against the version currently loaded.
  2. Align price and indicator by time, then compare direction, turning points and marker locations.
  3. After changing settings or timeframe, wait for calculation to finish before saving the same interval for comparison.

The screenshot records a historical chart display, not executed orders, returns or a win rate.

Local calculation

The local definition is shown below. Display labels can be translated; the case calculation uses original source identifiers. A shared indicator name does not guarantee identical calculations across platforms.

VAR1:BACKSET( HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),2);

Limitations

  • Read the preceding trend and later confirmation. Exact body, shadow and gap thresholds follow the local calculation below.
  • Timeframe, adjustments, warm-up length and data units affect results. Align these before comparing charts.
  • This formula uses historical backfilling or future references. Later bars can change earlier markers; a backfilled timestamp must not be treated as a signal available in real time.

Questions

Why can Price gap differ across platforms?

Compare inputs, default periods, smoothing, offsets and data units before comparing the final value. This guide uses the local source definition rather than assuming that an external example has the same settings.

Does the example show a real trade?

No. Figures show the indicator running on historical market data in the application. They contain no executed orders and make no return or win-rate claim.

References

The calculation comes from the project’s indicator registry. Primary references below provide related conceptual reading. Figures are captured from the running application.