MACDTwoLines

Description

The MACD (2-lines) study shows the relationship between the fast and the slow moving averages (MACD) with a moving average line of MACD itself (the "signal" or "trigger") plotted on top to show buy/sell opportunities.

Input Parameters

Parameter Description
fast length The number of bars used to calculate the fast moving average.
slow length The number of bars used to calculate the slow moving average.
macd length The number of bars used to calculate the moving average of MACD.
average type The type of moving average to be used in calculations: simple, exponential, weighted, Wilder's, or Hull.

Plots

Plot Description
Value The value of MACD.
Avg The moving average of MACD.
ZeroLine Zero level.

Example*

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

You may also like
MomentumPercentDiff
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
SlowRSI
The Slow Relative Strength Index is a version of the classic Relative Strength Index (RSI), ...
FourDayBreakoutLE
The Four-Day Breakout LE strategy is designed by Ken Calhoun. The strategy adds a buy to ...