Death Cross(Indicator)
Input Information
Name | Expression | Default | Description |
Price | Numeric | Close | Value used in calculating the moving averages. |
FastLength | Numeric | 5 | Bars used for the fast (shorter) moving average. |
SlowLength | Numeric | 25 | Bars used for the slow (longer) moving average. |
AlertIfRecent | Numeric | 1 | When 1, trigger an alert if a death cross occurs over the specified number of bars (see next input). |
AlertIfBarsSinceCrossLessThan | Numeric | 1 | Bars used to determine is a death cross occurred less than N bars ago. |
AlertIfImminent | Numeric | 1 | When 1, trigger an alert if the fast moving average is above the slow moving average by a specified percentage (see next input). |
ImminentPercentageMax | Numeric | 3 | Percent used to determine if the difference between the two moving averages indicates an imminent cross. |
PlotPrice | Numeric | MedianPrice | The price location on a bar at which the marker (dot) is plotted when a death cross occurs. |
ColorCellBGOnAlert | TrueFalse | True | True to change the background color of a RS cell when an alert occurs. False to leave the cell background color unchanged. |
BackgroundColorAlertCell | Numeric | DarkGray | The color of the RS cell background to use with the above input. |
Market Synopsis
The Death Cross indicator marks each bar where the short (fast) moving average crosses below the long (slow) moving average. This is typically used to identify the beginning of a bearish trend. May also be combined with a high trade volume to confirm the strength of the trend. It is available for Chart Analysis and RadarScreen.
Plot Information
Number | Name | Default Color | Description |
Plot1 | D-Crs | Cyan | Plots a marker on a bar when the fast moving average crosses under the slow moving average. In RadarScreen, this plot is the number of bars ago that the cross occurred |
Plot2 | D-CrsTime | Magenta | Plots the bar time stamp (as a string) when an alert occurs for the bar where the last cross occurred. |
When applied to a chart, this indicator plots a dot on the specified price point on each bar where a Death Cross occurs.