Skip to main content

MAVP

Type: mavp • Category: indicators

Description

Calculates MAVP Variable Moving Average based on price list

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringprices datano
pricestringPrice field to use to calculate MAVPno
periodsstringPeriods for MAVPno
minperiodnumberMinimum period for MAVPno2
maxperiodnumberMaximum period for MAVPno30
matypenumberMoving average typeno0

Help

MAVP

Variable Moving Average

Description

The MAVP worker is an indicator used in financial analysis to calculate the Variable Moving Average based on a price list. This indicator adjusts its period dynamically, providing a more responsive average that can adapt to changing market conditions.

What does this worker do?

The MAVP worker calculates the Variable Moving Average based on the provided price data and parameters. It uses a dynamic period that can range from a minimum to a maximum period, allowing it to adapt to changing market conditions. This indicator is useful for smoothing out price data and identifying trends.

How to interpret the results

The MAVP indicator can be used to:

  • Identify trends: When the price is above the MAVP, it indicates an uptrend, and when the price is below the MAVP, it indicates a downtrend.
  • Determine buy and sell signals: When the MAVP crosses above the price, it can be a buy signal, and when it crosses below, it can be a sell signal.

Parameters

The MAVP worker takes the following parameters:

  • dataExp: prices data
  • price: Price field to use to calculate MAVP
  • periods: Periods for MAVP
  • minperiod: Minimum period for MAVP
  • maxperiod: Maximum period for MAVP
  • matype: Moving average type

Usage

To use the MAVP worker, simply provide the required parameters and run the worker. The output will be the calculated MAVP values.

Indicator Usage Example

For a visual example of how to use the MAVP indicator, see the following GIFs:

Full GIF

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

Short GIF

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

Additional Information

The Variable Moving Average (MAVP) is a type of moving average that adjusts its period based on market conditions. It was developed to provide a more responsive average that can adapt to changing market conditions. The MAVP indicator can be used in various financial analysis applications, including technical analysis and trading strategies.