Moving Average Difference

Moving Average Difference calculates the difference between two simple moving averages with different periods.


It is calculated by the following formula:

ΔSMA = SMA1(x(t)) - SMA2(x(t))

The indicator view in the chart.

Image 29434


The indicator has the following parameters:

Image 29435


Settings

Simple Moving Average 1 - set the first period for the SMA indicator.

Simple Moving Average 2 - set the second period for the SMA indicator.

Common

Source - setting of the indicator calculation parameters:

  • Open
  • High
  • Low
  • Close
  • Volume

Drawing

Panel/Moving average period - selection of the indicator location in the chart:

  • New panel
  • Chart

Up, Down

Show value - display of the indicator value on the price scale on the left.

Scale/Auto-scaling - if this option is on, the scale will be automatically calculated, based on the minimum and maximum indicator values, so that the indicator would fit in the chart.

Colour - colour setting of the indicator.

Visual type - visual setting of the indicator display in the chart:

  • Line
  • Histogram
  • Hash
  • Block
  • Cross
  • Square
  • Dots
  • Up arrow
  • Down arrow
  • Axis label
  • Hide

Line style - setting of the line display style:

  • Solid
  • Dash
  • Dash - dot
  • Dash - dot - dot

Width - setting of the indicator line width.

This article was helpful for 2 people. Is this article helpful for you?