'********************************************************************* '* NASDAQ High/Highs Plus Lows Indicator '* by Jeremy Williams '* '* Adapted from Technical Analysis of Stocks and Commodities '* October 2011 '* '* Summary: '* This indicator uses the percentage of new highs or lows '* to predict overbought and oversold conditions. For more information '* see "The JK HiLo Index" in the October 2011 Issue of Technical '* Analysis of Stocks and Commodities. '* '********************************************************************** #Indicator Dim NewHighs As Single Dim NewLows As Single Dim Indicator As Single ' Get Market Breadth Indicators NewHighs = GetClose("$NQ52WH.N") NewLows = GetClose("$NQ52WL.N") ' Calculate Value of Indicator Indicator = 100*NewHighs/(NewHighs+NewLows) 'Plot Indicator SetScales(0,100) Plot("HoverHL",Indicator) ' Return the value calculated by the indicator Return Indicator