{"id":120,"date":"2016-02-20T19:10:44","date_gmt":"2016-02-20T19:10:44","guid":{"rendered":"http:\/\/intelligentonlinetools.com\/blog\/?p=120"},"modified":"2016-03-11T02:08:36","modified_gmt":"2016-03-11T02:08:36","slug":"input-for-stock-data-prediction-algorithms","status":"publish","type":"post","link":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/","title":{"rendered":"Input for Stock Data Prediction Algorithms"},"content":{"rendered":"<p>What can be used for input to stock data prediction system? In this post we will consider some indicator that often are used for stock data forecasting. The links to information about indicators and how to calculate will be also provided. <\/p>\n<p>Moving averages are often used in technical analysis. A few examples: Simple Moving Average (SMA) &#8211; to calculate SMA for period of n days we take sum of prices for the n days going back and divide by n. Then move to next day and do it again. <\/p>\n<p>Exponential Moving Average (EMA) &#8211; with this moving average the recent data are getting more weight than other. With SMA all data points are getting the same weight. <\/p>\n<p>Here is the indicator that uses prices and volume: Force Index. In two words it is showing how strong is the current trend, how likely it will continue or change.[1] Force index for 1 period can be calculated as<\/p>\n<p> Force Index(1) = (Close_Price (current) &#8211; Close_Price (prev)) x Volume<\/p>\n<p>The list of indicators with the information how they are calculated can be found at [2]. They are divided in 3 groups, price based, volume based and breadth indicators. Breadth indicators are based on statistics derived from the broad market. Some papers on stock data forecasting also describe very well the list of variables that were chosen for input. <\/p>\n<p>If we look we can find that there are many different choices but it can improve the quality of forecast accuracy.[3],[4] Not only price , volume or other market statistics can be used for stock market forecasting. Textual web data can be also used but it requires web\/text mining processing. You can find some example at [5] <\/p>\n<h2>References<\/h2>\n<p> 1.<a href=\"http:\/\/www.tradingtips.com\/how-to-use-the-force-index\/\" target=\"_blank\">How to Use Force Index<\/a><br \/>\n2.<a href=\"http:\/\/en.wikipedia.org\/wiki\/Technical_indicator#Charting_terms_and_indicators\" target=\"_blank\">Technical analysis<\/a> From Wikipedia, the free encyclopedia<br \/>\n3. The Comparison of Methods Artificial Neural Network with Linear Regression Using Specific Variables for Prediction Stock Price in Tehran Stock Exchange Reza Gharoie Ahangar,Mahmood Yahyazadehfar,Hassan Pournaghshband (IJCSIS) International Journal of Computer Science and Information Security, Vol. 7, No. 2, February 2010<br \/>\n4.Financial Stock Market Forecast using Data Mining Techniques K. Senthamarai Kannan, P. Sailapathi Sekar, M.Mohamed Sathik and P. Arumugam, IMECS 2010, hong Kong<br \/>\n5.Daily Stock Market Forecast from Textual Web Data B. Wuthrich, V. Cho, S. Leung, D. Permunetilleke, K. Sankaran, J. Zhang, W. Lam, The Hong Kong University of Science and Technology<br \/>\n6. <a href=http:\/\/stockcharts.com\/school\/doku.php?id=chart_school:technical_indicators\" target=\"_blank\">Technical Indicators and Overlays <\/a> From StockCharts.com &#8211; ChartSchool 7.Financial Stock Market Forecast using Data Mining Techniques K. Senthamarai Kannan, P. Sailapathi Sekar, M.Mohamed Sathik and P. Arumugam<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What can be used for input to stock data prediction system? In this post we will consider some indicator that often are used for stock data forecasting. The links to information about indicators and how to calculate will be also provided. Moving averages are often used in technical analysis. A few examples: Simple Moving Average &#8230; <a title=\"Input for Stock Data Prediction Algorithms\" class=\"read-more\" href=\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[3],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Input for Stock Data Prediction Algorithms - Machine Learning Applications<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Input for Stock Data Prediction Algorithms - Machine Learning Applications\" \/>\n<meta property=\"og:description\" content=\"What can be used for input to stock data prediction system? In this post we will consider some indicator that often are used for stock data forecasting. The links to information about indicators and how to calculate will be also provided. Moving averages are often used in technical analysis. A few examples: Simple Moving Average ... Read more\" \/>\n<meta property=\"og:url\" content=\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/\" \/>\n<meta property=\"og:site_name\" content=\"Machine Learning Applications\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-20T19:10:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-11T02:08:36+00:00\" \/>\n<meta name=\"author\" content=\"owygs156\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"owygs156\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/\",\"url\":\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/\",\"name\":\"Input for Stock Data Prediction Algorithms - Machine Learning Applications\",\"isPartOf\":{\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#website\"},\"datePublished\":\"2016-02-20T19:10:44+00:00\",\"dateModified\":\"2016-03-11T02:08:36+00:00\",\"author\":{\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/7a886dc5eb9758369af2f6d2cb342478\"},\"breadcrumb\":{\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/intelligentonlinetools.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Input for Stock Data Prediction Algorithms\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#website\",\"url\":\"http:\/\/intelligentonlinetools.com\/blog\/\",\"name\":\"Machine Learning Applications\",\"description\":\"Artificial intelligence, data mining and machine learning for building web based tools and services.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/intelligentonlinetools.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/7a886dc5eb9758369af2f6d2cb342478\",\"name\":\"owygs156\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/2.gravatar.com\/avatar\/b351def598609cb4c0b5bca26497c7e5?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/2.gravatar.com\/avatar\/b351def598609cb4c0b5bca26497c7e5?s=96&d=mm&r=g\",\"caption\":\"owygs156\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Input for Stock Data Prediction Algorithms - Machine Learning Applications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/","og_locale":"en_US","og_type":"article","og_title":"Input for Stock Data Prediction Algorithms - Machine Learning Applications","og_description":"What can be used for input to stock data prediction system? In this post we will consider some indicator that often are used for stock data forecasting. The links to information about indicators and how to calculate will be also provided. Moving averages are often used in technical analysis. A few examples: Simple Moving Average ... Read more","og_url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/","og_site_name":"Machine Learning Applications","article_published_time":"2016-02-20T19:10:44+00:00","article_modified_time":"2016-03-11T02:08:36+00:00","author":"owygs156","twitter_card":"summary_large_image","twitter_misc":{"Written by":"owygs156","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/","url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/","name":"Input for Stock Data Prediction Algorithms - Machine Learning Applications","isPartOf":{"@id":"http:\/\/intelligentonlinetools.com\/blog\/#website"},"datePublished":"2016-02-20T19:10:44+00:00","dateModified":"2016-03-11T02:08:36+00:00","author":{"@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/7a886dc5eb9758369af2f6d2cb342478"},"breadcrumb":{"@id":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/input-for-stock-data-prediction-algorithms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/intelligentonlinetools.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Input for Stock Data Prediction Algorithms"}]},{"@type":"WebSite","@id":"http:\/\/intelligentonlinetools.com\/blog\/#website","url":"http:\/\/intelligentonlinetools.com\/blog\/","name":"Machine Learning Applications","description":"Artificial intelligence, data mining and machine learning for building web based tools and services.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/intelligentonlinetools.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/7a886dc5eb9758369af2f6d2cb342478","name":"owygs156","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/image\/","url":"http:\/\/2.gravatar.com\/avatar\/b351def598609cb4c0b5bca26497c7e5?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/b351def598609cb4c0b5bca26497c7e5?s=96&d=mm&r=g","caption":"owygs156"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7h1IJ-1W","jetpack-related-posts":[{"id":123,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/calculating-indicators-for-stock-data-forecasting\/","url_meta":{"origin":120,"position":0},"title":"Calculating Indicators for Stock Data Forecasting","date":"February 20, 2016","format":false,"excerpt":"In the previous posts was shown how to download stock data into Google spreadsheet using perl script. Here we will look how to add other data indicators based on downloaded stock data prices and volume. The use for stock data prediction of such indicators based on stock data that is\u2026","rel":"","context":"In &quot;Stock data analysis&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":125,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/calculating-indicators-for-stock-data-forecasting-2\/","url_meta":{"origin":120,"position":1},"title":"Calculating Indicators for Stock Data Forecasting","date":"February 20, 2016","format":false,"excerpt":"In the previous posts was shown how to download stock data into Google spreadsheet using perl script. Here we will look how to add other data indicators based on downloaded stock data prices and volume. The use for stock data prediction of such indicators based on stock data that is\u2026","rel":"","context":"In &quot;Stock data analysis&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":57,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/07\/bollinger-bands\/","url_meta":{"origin":120,"position":2},"title":"Bollinger Bands","date":"February 7, 2016","format":false,"excerpt":"Bollinger Bands - are advanced technical indicators that consist of three curves: [1] 1. an N-period moving average (MA). Usually simple moving average (SMA) 2. an upper band at K times an N-period standard deviation above the moving average (MA + K\u03c3), K is usually 2 and N is usually\u2026","rel":"","context":"In &quot;Stock data analysis&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1628,"url":"http:\/\/intelligentonlinetools.com\/blog\/2017\/12\/17\/time-series-analysis-python-prophet\/","url_meta":{"origin":120,"position":3},"title":"Time Series Analysis with Python and Prophet","date":"December 17, 2017","format":false,"excerpt":"Recently Facebook released Prophet - open source software tool for forecasting time series data. Facebook team have implemented in Prophet two trend models that can cover many applications: a saturating growth model, and a piecewise linear model. [4] With growth model Prophet can be used for prediction growth\/decay - for\u2026","rel":"","context":"In &quot;Machine Learning&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2017\/12\/time-series-analysis-python-300x180.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1974,"url":"http:\/\/intelligentonlinetools.com\/blog\/2018\/04\/03\/machine-learning-stock-market-prediction-lstm-keras\/","url_meta":{"origin":120,"position":4},"title":"Machine Learning Stock Market Prediction with LSTM Keras","date":"April 3, 2018","format":false,"excerpt":"In the previous posts [1,2] I created script for machine learning stock market price on next day prediction. But it was pointed by readers that in stock market prediction, it is more important to know the trend: will the stock go up or down. So I updated the script to\u2026","rel":"","context":"In &quot;Machine Learning&quot;","img":{"alt_text":"Stock Data Prices Prediction with LSTM","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2018\/04\/timeseries_differenced_and_inverted_back.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1682,"url":"http:\/\/intelligentonlinetools.com\/blog\/2017\/12\/26\/prediction-data-stock-price-prophet-report\/","url_meta":{"origin":120,"position":5},"title":"Prediction Data Stock Prices with Prophet","date":"December 26, 2017","format":false,"excerpt":"In the previous post I showed how to use the Prophet for time series analysis with python. I used Prophet for data stock price prediction. But it was used only for one stock and only for next 10 days. In this post we will select more data and will test\u2026","rel":"","context":"In &quot;Data Mining&quot;","img":{"alt_text":"prediction data stock prices with Prophet - accuracy vs used data range","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2017\/12\/prediction-data-stock-prices-with-Prophet-accuracy-vs-used-data-range-1-e1514396944169.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/120"}],"collection":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":2,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":122,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/120\/revisions\/122"}],"wp:attachment":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}