Intraday Indicator Functions

Intraday Indicator Functions allow you to calculate common technical indicators at specific times or at the point when another data point reaches its maximum or minimum. These functions are designed for flexible intraday analysis, letting you choose the time interval, reference times, and number of periods to include in the calculation. By combining these indicators with other intraday data points, you can build precise filters and columns that capture market conditions within pre-market, regular, or after-hours sessions.

INTRADAY_SMA

Returns the intraday simple moving average (SMA) of a requested data point for a specific time.

[INTRADAY_SMA(requested_data, offset_days, requested_time, bar_minutes, periods)]

Parameters

  • requested_data - Data point to calculate the SMA for. Accepts any intraday price data point.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • requested_time - Time for which to return the SMA value. Accepts any daily time data point or a user-entered time.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

[INTRADAY_SMA(price_close_adj, 0, time_high, 1, 50)]

This example returns the 50-period SMA of the adjusted closing price for the time of the highest price during regular trading hours, calculated using 1-minute bars.


INTRADAY_EMA

Returns the intraday exponential moving average (EMA) of a requested data point for a specific time.

Parameters

  • requested_data - Data point to calculate the EMA for. Accepts any intraday price data point.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • requested_time - Time for which to return the EMA value. Accepts any daily time data point or a user-entered time.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example returns the 20-period EMA of the adjusted closing price for 10:30 AM, calculated using 1-minute bars.


INTRADAY_RSI

Returns the intraday relative strength index (RSI) for a specific time.

Parameters

  • requested_data - Data point to calculate the RSI for. Accepts any intraday price data point.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • requested_time - Time for which to return the RSI value. Accepts any daily time data point or a user-entered time.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example returns the 14-period RSI for the time of the lowest price during regular trading hours, calculated using 1-minute bars.


INTRADAY_ATR

Returns the intraday average true range (ATR) for a specific time.

Parameters

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • requested_time - Time for which to return the ATR value. Accepts any daily time data point or a user-entered time.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 50.

This example returns the 14-period ATR for 3:59 PM, calculated using 1-minute bars.


INTRADAY_VWAP_ADJ

Returns the adjusted volume weighted average price (VWAP) for a specific time.

Parameters

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • requested_time - Time for which to return the VWAP value. Accepts any daily time data point or a user-entered time.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • anchor_time - Start time for the VWAP calculation.

This example finds the time of the highest price during regular trading hours, then returns the adjusted VWAP for that time, calculated using 1-minute bars starting at 4:00 AM.


INTRADAY_VWAP_UNADJ

Returns the unadjusted volume weighted average price (VWAP) for a specific time.

Parameters

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • requested_time - Time for which to return the VWAP value. Accepts any daily time data point or a user-entered time.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • anchor_time - Start time for the VWAP calculation.

This example finds the time of the lowest price during regular trading hours, then returns the unadjusted VWAP for that time, calculated using 1-minute bars starting at 4:00 AM.


INTRADAY_SMA_AT_MAX

Returns the intraday simple moving average (SMA) of a requested data point for the time another data point reaches its maximum within a specified intraday time range.

Parameters

  • requested_data - Data point to calculate the SMA for. Accepts any intraday price data point.

  • max_data - Data point to evaluate for the maximum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example finds the time of the highest price during regular trading hours, then returns the 20-period SMA of the unadjusted closing price for that time, calculated using 1-minute bars.


INTRADAY_SMA_AT_MIN

Returns the intraday simple moving average (SMA) of a requested data point for the time another data point reaches its minimum within a specified intraday time range.

Parameters

  • requested_data - Data point to calculate the SMA for. Accepts any intraday price data point.

  • min_data - Data point to evaluate for the minimum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example finds the time of the lowest price during regular trading hours, then returns the 20-period SMA of the unadjusted closing price for that time, calculated using 1-minute bars.


INTRADAY_EMA_AT_MAX

Returns the intraday exponential moving average (EMA) of a requested data point for the time another data point reaches its maximum within a specified intraday time range.

Parameters

  • requested_data - Data point to calculate the EMA for. Accepts any intraday price data point.

  • max_data - Data point to evaluate for the maximum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example finds the time of the highest price during regular trading hours, then returns the 20-period EMA of the unadjusted closing price for that time, calculated using 1-minute bars.


INTRADAY_EMA_AT_MIN

Returns the intraday exponential moving average (EMA) of a requested data point for the time another data point reaches its minimum within a specified intraday time range.

Parameters

  • requested_data - Data point to calculate the EMA for. Accepts any intraday price data point.

  • min_data - Data point to evaluate for the minimum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example finds the time of the lowest price during regular trading hours, then returns the 20-period EMA of the unadjusted closing price for that time, calculated using 1-minute bars.


INTRADAY_RSI_AT_MAX

Returns the intraday relative strength index (RSI) for the time another data point reaches its maximum within a specified intraday time range.

Parameters

  • requested_data - Data point to calculate the RSI for. Accepts any intraday price data point.

  • max_data - Data point to evaluate for the maximum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example finds the time of the highest price during regular trading hours, then returns the 14-period RSI for that time, calculated using 1-minute bars.


INTRADAY_RSI_AT_MIN

Returns the intraday relative strength index (RSI) for the time another data point reaches its minimum within a specified intraday time range.

Parameters

  • requested_data - Data point to calculate the RSI for. Accepts any intraday price data point.

  • min_data - Data point to evaluate for the minimum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example finds the time of the lowest price during regular trading hours, then returns the 14-period RSI for that time, calculated using 1-minute bars.


INTRADAY_ATR_AT_MAX

Returns the intraday average true range (ATR) for the time another data point reaches its maximum within a specified intraday time range.

Parameters

  • max_data - Data point to evaluate for the maximum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • periods - Number of periods to include in the calculation. Must be a whole number between 2 and 250.

This example finds the time of the highest price during regular trading hours, then returns the 14-period ATR for that time, calculated using 1-minute bars.


INTRADAY_VWAP_ADJ_AT_MAX

Returns the adjusted volume weighted average price (VWAP) for the time another data point reaches its maximum within a specified intraday time range.

Parameters

  • max_data - Data point to evaluate for the maximum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • anchor_time - Start time for the VWAP calculation.

This example finds the time of the highest price during regular trading hours, then returns the adjusted VWAP for that time, calculated using 1-minute bars starting at 4:00 AM.


INTRADAY_VWAP_ADJ_AT_MIN

Returns the adjusted volume weighted average price (VWAP) for the time another data point reaches its minimum within a specified intraday time range.

Parameters

  • min_data - Data point to evaluate for the minimum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • anchor_time - Start time for the VWAP calculation.

This example finds the time of the lowest price during regular trading hours, then returns the adjusted VWAP for that time, calculated using 1-minute bars starting at 4:00 AM.


INTRADAY_VWAP_UNADJ_AT_MAX

Returns the unadjusted volume weighted average price (VWAP) for the time another data point reaches its maximum within a specified intraday time range.

Parameters

  • max_data - Data point to evaluate for the maximum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • anchor_time - Start time for the VWAP calculation.

This example finds the time of the highest price during regular trading hours, then returns the unadjusted VWAP for that time, calculated using 1-minute bars starting at 4:00 AM.


INTRADAY_VWAP_UNADJ_AT_MIN

Returns the unadjusted volume weighted average price (VWAP) for the time another data point reaches its minimum within a specified intraday time range.

Parameters

  • min_data - Data point to evaluate for the minimum value. Accepts intraday price and volume data points.

  • offset_days - Number of trading days to offset from the scan date. Must be a whole number between -2,520 and 2,520.

  • start_time - Start of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • end_time - End of the intraday time range to evaluate. Must be a time between 4:00 AM and 7:59 PM.

  • bar_minutes - Time interval, in minutes, of each intraday bar used in the calculation. Accepts 1, 5, 15, 30, 60.

  • anchor_time - Start time for the VWAP calculation.

This example finds the time of the lowest price during regular trading hours, then returns the unadjusted VWAP for that time, calculated using 1-minute bars starting at 4:00 AM.

Last updated

Was this helpful?