Skip to main content

MIDPOINT

Type: midpoint • Category: indicators

Description

Calculates midpoint based on price list

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringprices datano
pricestringPrice field to use to calculate MIDPOINTno
timeperiodnumberNumber of periods to use for MIDPOINT calculationno14
indicatorstringno"MIDPOINT"

Help

MIDPOINT

Description

The MIDPOINT worker is an indicator used in financial analysis to calculate the midpoint of a given price list over a specified time period. This indicator helps in understanding the central tendency of price movements.

What does this worker do?

The MIDPOINT worker takes a set of price data and calculates the midpoint based on the specified price field and time period. The midpoint is essentially the average of the highest and lowest prices over the given time period, providing a smoothed representation of price movements.

How to Interpret the Results

The MIDPOINT indicator can be used to:

  • Identify trends: A rising MIDPOINT indicates an uptrend, while a falling MIDPOINT indicates a downtrend.
  • Determine support and resistance levels: The MIDPOINT can act as a support or resistance level, depending on the price action around it.

Usage

To use the MIDPOINT worker, follow these steps:

  1. Input your price data into the dataExp parameter.
  2. Specify the price field to use for the calculation in the price parameter.
  3. Set the number of periods for the calculation in the timeperiod parameter.

Indicator Details

The MIDPOINT indicator is often used in technical analysis to filter out noise from price data and focus on the overall direction of the market. It can be particularly useful in markets with high volatility.

Visualizing the Indicator

For a visual guide on how to use the MIDPOINT indicator, refer to the following images:

Full Usage Example

[![Full Usage Example](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)

Short Usage Example

[![Short Usage Example](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)

Parameters

  • dataExp: Prices data
  • price: Price field to use to calculate MIDPOINT
  • timeperiod: Number of periods to use for MIDPOINT calculation
  • indicator: No description provided.