New N-Day High (Indicator)
Input Information
Name | Expression | Default | Description |
NumDays | Numeric | 7 | Number of preceding days used to determine the N-Day high. |
NewQualDays | Numeric | 0 | Number of days the new N-Day High is the highest high. |
OldQualDays | Numeric | 0 | Number of days the previous N-Day High was the highest high. |
AlertColor | Numeric | Yellow | Color used to display alert. |
ColorBars | Numeric | 5 | Number of bars for which the alert color will be displayed. |
ColorScheme | Numeric | 2 | 0 = no coloring; 1 = color text in cell; 2 = color cell |
Market Synopsis
This indicator will trigger an alert if and when a security makes the first new (N-Day) high or low for the day. The user can specify the value for N, which can be as large as 100. The user can also specify that the new high should be the first new high in several days, and that the previous benchmark high should have been a significant high as well.
This grid-based (RadarScreen) indicator. is designed for intraday data intervals.
Qualification example:
If NumDays = 21, NewQualDays = 5 and OldQualDays = 3, this means that you are looking for the first new 21-day high in at least 5 days, where the previous 21-day high was also the highest high in at least 3 days when it occurred. In other words, not only are you looking for a new extreme, you are also comparing it to a previous extreme.
Plot Information
Number | Name | Default Color | Description |
Plot1 | NDayHi | White | Continuous display of highest high of preceding N days. Will stay constant for the entire current day. |
Plot2 | QualHi | White | Continuous display of qualification status - true or false - of reported highest high. Will stay constant for the entire current day. |