Qstick Indicator

The Qstick indicator was developed by Tushar Chande. Qstick provides a way to quantify candlesticks. The distance between the open and close prices lies at the heart of candlestick charting. For those unfamiliar with candlestick charting, the body of a candlestick is black if today’s close is less than the open; it is white if today’s close is greater than the open. A majority of white candlesticks over a specified range is considered bullish. Whereas a majority of black candlesticks over a specified range is considered bearish.

The Qstick indicator is simply a moving average of the difference between open and close prices.

Syntax:

Public Function QstickIndicator(ByVal HLOCV()() As Double, ByVal Lag As Long, ByVal Method As axltaMovingAverageType) As Double

Parameters:

  • ByVal HLOCV()() As Double
  • ByVal Lag As Long
  • ByVal Method As axltaMovingAverageType

Back to list

 

Example:

 

    Dim TA4Net As New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE")

    Dim Result() As Double

    Dim HLOCV(,) As Double

 

    ' loading values to array

    HLOCV = GetHLOCVValues()

    ' calculating Technical Analysis function

    Result = TA4Net.QstickIndicator(HLOCV, 14, TA4Net.axltaMovingAverageType.axltaMovExponential)

 


TA4.NET® Franz AG 2004©
Web site: http://www.ta4.net
e-mail: support@ta4.net

Browser Based Help. Published by chm2web software.