Public Function HighMinusLow(chart_ID As Long) As String
The High-Low Index is a breadth indicator based onRecord High Percent, which is based on new 52-week highs and new 52-week lows.
The Record High Index equals new highs divided by new highs plus new lows. The High-Low Index is simply a 10-day SMA of the Record High Percent, which makes it a smoothed version of the Record High Percent.
|chart_ID||Chart identifier, 0 is the current chart ,value of type Long
Returns the handles of a technical indicator, in case of failure returns an empty string.
Public Sub main()AlertMessage (HighMinusLow(0)) 'Draws the indicator on chart and shows a message box with the indicator name.End Sub