Skip to main content

MEDPRICE

Type: medprice • Category: indicators

Description​

Median Price

Parameters​

NameTypeDescriptionRequiredDefault
dataExpstringprices datano
highstringselect the column with highest pricesno
lowstringselect the column with lowest pricesno

Help​

MEDPRICE

Median Price​

Description​

The MEDPRICE worker is an indicator used in financial analysis to calculate the median price of a given set of prices data. This indicator is useful in understanding the middle value of a dataset, providing a more accurate representation of the market price when compared to simple averages.

What does this worker do?​

The MEDPRICE worker takes in a dataset of prices (dataExp) and identifies the columns with the highest (high) and lowest (low) prices. It then calculates the median price from these values.

How to Interpret the Results​

The median price calculated by the MEDPRICE worker represents the middle value of the price range defined by the high and low prices. This indicator can be used to:

  • Gauge the market's sentiment: A rising median price may indicate a bullish market, while a falling median price may indicate a bearish market.
  • Evaluate price movements: By comparing the median price to the high and low prices, you can assess the volatility of the market.

Usage​

To use the MEDPRICE worker, simply provide the required parameters:

  • dataExp: The prices data
  • high: The column with the highest prices
  • low: The column with the lowest prices

Example Use Case​

For a better understanding of how to use the MEDPRICE worker, refer to the following GIFs:

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)

Additional Knowledge​

The median price indicator is a popular tool in technical analysis, as it provides a more robust measure of central tendency compared to simple moving averages. By using the MEDPRICE worker, traders and analysts can gain a better understanding of market trends and make more informed investment decisions.