All indicators

TASC 2024.01 Gap Momentum System

Dec 15, 2023

Static chart image
SignalsMoving Averages

The TASC 2024.01 Gap Momentum System indicator is a cumulative momentum tool that tracks opening gap data to identify directional shifts in price action. By analyzing the relationship between positive and negative gaps over a specific lookback period, this system provides a smoothed signal line to help traders determine market momentum and potential entry or exit points.

Usage

The Gap Momentum System is primarily used to identify trend direction based on the cumulative strength of opening gaps. Traders can interpret the script's output through its two main visual components: the Gap Momentum line (the gap ratio) and the Signal line (a smoothed moving average of that ratio).

  • Long Entry: A long position is typically considered when the Signal line is moving upward (current value is greater than the previous value).
  • Exit/Short Entry: A position is typically closed (or a short entered) when the Signal line begins moving downward.
  • Long Only Mode: The script includes a toggle to restrict the strategy to long positions only, which is useful for equity markets or assets with a long-term upward bias.

The system is most effective when used to capture broad momentum shifts rather than scalp intraday price movements, as it relies on daily opening data.

Details

This implementation is based on the article "Gap Momentum" by Perry J. Kaufman in the January 2024 edition of Technical Analysis of Stocks & Commodities (TASC) magazine. The core concept draws a parallel to On-Balance Volume (OBV). While OBV uses price closes and volume, Gap Momentum uses the opening gap (Today's Open minus Yesterday's Close) to build a cumulative ratio.

The calculation follows these steps:

  1. Determine the daily gap value.
  2. Sum the positive gaps and the absolute values of negative gaps over a user-defined "Period."
  3. Calculate a ratio of these sums (Positive Gaps / Negative Gaps).
  4. Apply a Simple Moving Average (SMA) to this ratio to create the "Signal Period" line used for trend identification.

Settings

  • Period: Sets the lookback window used to calculate the sum of positive and negative gaps.
  • Signal Period: Determines the length of the Simple Moving Average applied to the gap ratio to create the smoothed signal line.
  • Long Only: A toggle that, when enabled, prevents the strategy from taking short positions, focusing solely on long entries and exits.

FAQ

How do I use this indicator for different timeframes? While designed for daily charts to capture overnight gaps, it can be applied to lower timeframes to track gaps between intraday sessions, though its effectiveness may vary.

What do the blue and white lines represent? The blue line represents the raw Gap Momentum ratio based on the "Period" setting, while the white line is the smoothed Signal line used for generating trade signals.

How can I access the TASC 2024.01 Gap Momentum System? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.