MovingAvgCrossover

Description

Moving Average Crossover is a study which helps you find crossovers of moving averages of different types and lengths. The following moving averages can be used: simple, exponential, weighted, Wilder's, or Hull.

The general idea of moving average-based analysis is combining two moving averages with different lengths: short and long. It is considered a Buy signal when the short average crosses above the long one; Sell signal, if the long average surpasses the short one.

 

Input Parameters

Parameter Description
price The price used in calculation.
length1 The number of bars used in calculation of the first moving average.
length2 The number of bars used in calculation of the second moving average.
average type1 The type of the first moving average: simple, exponential, weighted, Wilder's, or Hull.
average type2 The type of the second moving average: simple, exponential, weighted, Wilder's, or Hull.
crossing type Defines whether to display a signal when the first moving average crosses above or below the second one.

Plots

Plot Description
signal The Moving Average Crossover signals.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.

  Past performance is no guarantee of future performance.

You may also like
MomentumPercentDiff
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
WilliamsAD
The Williams Accumulation/Distribution study is used to determine either the marketplace is ...
GoldenCrossBreakouts
The Golden Cross Breakouts strategy is a moving average-based technical indicator proposed by ...