Updated: 2017-05-22

getSignal

By Barchart

    The getSignal API provides the Barchart Technical Opinion / Signal (buy, sell or hold) based on a variety of technical indicators for a symbol.

    Query Parameters

    Parameter Description Data Type
    fields The fields requested.
    maxRecords The maximum number of records to show in the return.
    symbols A symbol or code that identifies a financial instrument. Multiple symbols separated by a comma may be used. For futures, notation such as <root_symbol0> for the active contract or <root_symbol1> for the first nearby is supported, as is <root_symbol^F> for all futures contracts for a given root symbol, as is <root_symbol^O> for all options contracts for a given underlying futures symbol.

    Response Fields

    Field Description Data Type
    adx7DayDirection 7 Day Average Directional Indicator Direction string
    adx7DayOpinion 7-day Average Directional Indicator (short-term indicator) buy, sell or hold signal. string
    adx7DayStrength 7-Day Average Strengthal Indicator Strength string
    bbands20DayDirection 20-Day Bollinger Bands Direction string
    bbands20DaySignal 20-Day Bollinger Bands (short-term indicator) buy, sell or hold signal. string
    bbands20DayStrength 20-Day Bollinger Bands Strength string
    cci40DayDirection 40-Day Commodity Channel Index Direction string
    cci40DaySignal 40-Day Commodity Channel Index (medium-term indicator) buy, sell or hold signal. string
    cci40DayStrength 40-Day Commodity Channel Index Strength string
    cci60DayDirection 60-Day Commodity Channel Index Direction string
    cci60DaySignal 60-Day Commodity Channel Index (long-term indicator) buy, sell or hold signal. string
    cci60DayStrength 60-Day Commodity Channel Index Strength string
    longTermAveragePercent The percentage / weight of the average signal. int
    longTermAverageSignal Average signal based on all long-term indicators. string
    ma100DayDirection 100-Day Moving Average vs Price Direction string
    ma100DaySignal 100-Day Moving Average vs Price (long-term indicator) buy, sell or hold signal. string
    ma100DayStrength 100-Day Moving Average vs Price Strength string
    ma20DayDirection 20-Day Moving Average vs Price Direction string
    ma20DaySignal 20-Day Moving Average vs Price Indicator (short-term indicator) buy, sell or hold signal. string
    ma20DayStrength 20-Day Moving Average vs Price Strength string
    ma50DayDirection 50-Day Moving Average vs Price Direction string
    ma50DaySignal 50-Day Moving Average vs Price (medium-term indicator) buy, sell or hold signal. string
    ma50DayStrength 50-Day Moving Average vs Price Strength string
    maHiLo10_8DayDirection 10 - 8 Day Moving Average Hilo Channel Direction string
    maHiLo10_8DayOpinion 10 - 8 Day Moving Average Hilo Channel (short-term indicator) buy, sell or hold signal. string
    maHiLo10_8DayStrength 10 - 8 Day Moving Average Hilo Channel Strength string
    macd20_100DayDirection 20 - 100 Day MACD Oscillator Direction string
    macd20_100DaySignal 20 - 100 Day MACD Oscillator (medium-term indicator) buy, sell or hold signal. string
    macd20_100DayStrength 20 - 100 Day MACD Oscillator Strength string
    macd20_50DayDirection 20-50 Day MACD Oscillator Direction string
    macd20_50DaySignal 20-50 Day MACD Oscillator (short-term indicator) buy, sell or hold signal. string
    macd20_50DayStrength 20-50 Day MACD Oscillator Strength string
    macd50_100DayDirection 50 - 100 Day MACD Oscillator Direction string
    macd50_100DaySignal 50 - 100 Day MACD Oscillator (long-term indicator) buy, sell or hold signal. string
    macd50_100DayStrength 50 - 100 Day MACD Oscillator Strength string
    mediumTermAveragePercent The percentage / weight of the average signal. int
    mediumTermAverageSignal Average signal based on all medium-term indicators. string
    name The full name of the instrument. string
    overallAveragePercent The percentage / weight of the average signal. int
    overallAverageSignal Average signal based on all indicators. string
    parabolic50DayDirection 50-Day Parabolic Time/Price Direction string
    parabolic50DaySignal 50-Day Parabolic Time/Price (medium-term indicator) buy, sell or hold signal. string
    parabolic50DayStrength 50-Day Parabolic Time/Price Strength string
    shortTermAveragePercent The percentage / weight of the average signal. int
    shortTermAverageSignal Average signal based on all short-term indicators. string
    symbol A symbol or code that identifies a financial instrument. string
    trendspotterDirection The Trendspotter Direction string
    trendspotterOpinion The Trendspotter (composite indicator) buy, sell or hold opinion. string
    trendspotterStrength The Trendspotter Strength string

    About the Vendor

    From market data feeds to website content solutions and trading software to our flagship financial portal, Barchart.com, and individual subscription services, Barchart is the definitive source for comprehensive financial data and information.