Most Popular
1. THE INFLATION MONSTER is Forecasting RECESSION - Nadeem_Walayat
2.Why APPLE Could CRASH the Stock Market! - Nadeem_Walayat
3.The Stocks Stealth BEAR Market - Nadeem_Walayat
4.Inflation, Commodities and Interest Rates : Paradigm Shifts in Macrotrends - Rambus_Chartology
5.Stock Market in the Eye of the Storm, Visualising AI Tech Stocks Buying Levels - Nadeem_Walayat
6.AI Tech Stocks Earnings BloodBath Buying Opportunity - Nadeem_Walayat
7.PPT HALTS STOCK MARKET CRASH ahead of Fed May Interest Rate Hike Meeting - Nadeem_Walayat
8.50 Small Cap Growth Stocks Analysis to CAPITALISE on the Stock Market Inflation -Nadeem_Walayat
9.WE HAVE NO CHOICE BUT TO INVEST IN STOCKS AND HOUSING MARKET - Nadeem_Walayat
10.Apple and Microsoft Nuts Are About to CRACK and Send Stock Market Sharply Lower - Nadeem_Walayat
Last 7 days
Qualcom Stock Market Harbinger - 12th Aug 22
Apple Exec Gets World's 1st iPhone 14 for Daughters 14th Birthday Surprise Present Unboxing! - 12th Aug 22
Steps to remember while playing live roulette online - 12th Aug 22
China Bank Run Protests - Another Potential Tiananmen Square Massacre? - 11th Aug 22
Silver Coin Premiums – Another Collapse? - 11th Aug 22
Gold-to-Silver Ratio Heading Lower – Setup Like 1989-03 - 11th Aug 22
Severe Stocks Bear Market: Will You Be Among the Prepared 1.5%? - 11th Aug 22
There's a Hole in My Bucket Dear Liza, UK Summer Heatwave Plants Watering Problem Song - 11th Aug 22
Why PEAK INFLATION is a RED HERRING! Prepare for a Decade Long Cost of Living Crisis - 9th Aug 22
FREETRADE Want to LEND My Shares to Short Sellers! - 8th Aug 22
Stock Market Unclosed Gap - 8th Aug 22
The End Game for Silver Shenanigans... - 8th Aug 22er
WARNING Corsair MP600 NVME2 M2 SSD Are Prone to Failure Can Prevent Systems From Booting - 8th Aug 22
Elliott Waves: Your "Rhyme & Reason" to Mainstream Stock Market Opinions - 6th Aug 22
COST OF LIVING CRISIS NIGHTMARE - Expect High INFLATION for whole of this DECADE! - 6th Aug 22
WHY PEAK INFLATION RED HERRING - 5th Aug 22
Recession Is Good for Gold, but a Crisis Would Be Even Better - 5th Aug 22
Stock Market Rallying On Slowly Thinning Air - 5th Aug 22
SILVER’S BAD BREAK - 5th Aug 22
Stock Market Trend Pattren 2022 Forecast Current State - 4th Aug 22
Should We Be Prepared For An Aggressive U.S. Fed In The Future? - 4th Aug 22
Will the S&P 500 Stock Market Index Go the Way of Meme Stocks? - 4th Aug 22
Stock Market Another Upswing Attempt - 4th Aug 22
What is our Real Economic and Financial Prognosis? - 4th Aug 22
The REAL Stocks Bear Market of 2022 - 3rd Aug 22
The ‘Wishful Thinking’ Fed Is Anything But ‘Neutral’ - 3rd Aug 22
Don’t Be Misled by Gold’s Recent Upswing - 3rd Aug 22
Aluminum, Copper, Zinc: The 3 Horsemen of the Upcoming "Econocalypse" - 31st July 22
Gold Stocks’ Rally Autumn 2022 - 31st July 22
US Fed Is Battling Excess Global Capital – Which Is Creating Inflation - 31st July 22

Market Oracle FREE Newsletter

How to Protect your Wealth by Investing in AI Tech Stocks

Dow Stock Market Trend Forecasting Neural Nets Pattern Recognition

Stock-Markets / AI Sep 15, 2021 - 10:33 PM GMT

By: Nadeem_Walayat

Stock-Markets

So far all attempts to predict the Dow via machine learning have failed, as mentioned above feeding nets with obvious data such as open, close, high, low and then a candle chart version does not work. In fact the neural net part is the easy part via the likes of Tensor Flow. The problem is with the data which as I explained earlier needs to be preprocessed i.e. feeding raw data into the networks as inputs ends up with noisy networks, if it did work then it would be easy to successfully train neural nets and they would be widespread instead as far as I am aware there aren't really any neural nets out there that can successfully trade stocks.

So what does preprocessing actually mean?

There are 2 ways to go about preprocessing data for stock market forecasts.

1. Pattern recognition

2. Trend Analysis preprocessing.


1. Pattern Recognition

One only needs to look at the deep fake videos out there of what actually needs to be done in terms of preprocessing of IMAGES, creating a dataset of hundreds of preprocessed Images of market price charts, say covering a fixed 60 data points (days) each with the goal of predict the next 20 or so days, and there is no guarantee it will work though appears to be the best route to go down, given the success rate of image recognition algorithms, though it would result in a huge neural nets for instance a chart image with a resolution of 256 by 256 pixels would require at least 65,636 input layers! i .e. as the images are broken up and fed to the network

So obviously most of the work, perhaps 95% is in generating the dataset of market chart images where 150 years of Dow data at 60 data points (days) per image stepped every 20 days translates into about 1500 images. Would that be enough? Maybe it could work for a trained / labeled neural net but likely not be enough data for deep learning, the holy grail of machine learning.

So the problem with forecasting markets using neural nets is not with the neural nets, that's the easy bit, but rather creating the dataset's, a lot of time consuming trial and error and I suspect I am going to have to model the neural nets on what I actually do when analysing markets i.e. looking it on varying time frames, zooming in and out.

Likely 60 day data set will not be enough, so require separate neural nets trained with 120 day, and 230 day (1 year) price chart images etc. That acts as preprocessed inputs to the next network, will that work?

Maybe I will need to add nuances by creating dataset's i.e instead of candle charts use swing charts, maybe point and figure etc. Maybe separate neural nets on each dataset that feeds its output as inputs into the next neural net.

2. Trend Analysis Preprocessing

Along with image recognition there is going down the EC route i.e. full spectrum trend analysis, which effectively would mean reinventing the wheel, writing thousands of lines of code in attempts to convert price data into trend analysis data points which basically means creating a whole host of of expert systems that pre-analyse the price data before it is fed into neural nets that along the lines with the EC indicator would each take a huge amount of fine turning, and likely end up with separate useful expert systems in their own right, I.e. trend analysis such as price patterns, support resistance, trend lines, MACD, seasonality, elliot waves. I say reinventing the wheel because I've already done all of this before and more from the Mid 1990's to the early 2000's when I created a multitude of market expert systems and automated technical trading tools, in fact I even had a primitive AI neural net attempting to LEARN from preprocessed data though of course one cannot compare then with now in terms of machine learning as we now have -

a. Infinitely greater compute power! There is no comparison between what one can do with a high end system today than one from 2000.

b. That using neural networks today's is a doddle! About a million times easier than in 2000! In 2000 one only had snippets of information i.e. layers of neurons all connected together by weights was about the extent of information available with much yet to be discovered / invented over the next 20 years.

So I have literally been there and DONE that over a period of about 7 years from around 1994 to 2001, creating what was probably at the time one of the worlds most sophisticated Trend Analysis development environments that I called "TA Dev", literally decades ahead of its time where I included everything I could think of during those 7 years such as Chart pattern recognition,, swing Trader, a primitive neural network, Elliott Waves generator,, seasonal analysis, trading systems galore, and the requisite full spectrum charting etc. But what it lacked at the time was PROCESSING POWER and probably also MEMORY to hold all of the data and variables so was very resources hungry.

A short 3 min video of running the program 20 years later. https://youtu.be/b68yZGc7AmA

The program was good for testing strategies and observations, conducting studies and pattern recognition but was overkill for what was needed to actually trade. During that time period I basically did TA to death! The program was written in Borland Delphi (pascal), which died a slow death during the early 2000's with the last iteration being Delphi 7 (2002) though the last version I actually used was Delphi 5. After Delphi 7 it all become a bit of a mish mash mess, a series of incompatible stop start nonsense that I will now need to sort through to see what could actually work as I attempt to resurrect 'Ta Dev" to use towards generating data for inputs to neural nets.

The last compiled executable of the trading development environment is dated 2nd October 2001 which I managed to get to run under Windows 10 under Window XP service pack 3 compatibility mode, but as has been the case for well over a decade the program fails to load any data into memory probably due to deprecated DLL's that the program is attempting to call.

So the first step is to get an Delphi IDE up and running and then get the code working so that it loads data. If this turns out to be impossible under Windows 10 then an XP system will need to be built.

The twin goals of the software will be to convert the various automated generators to provide preprocessed data for the neural net, and write new code to generate standardised charts for image pattern recognition, that should be straight forward to generate many hundreds of images of charts at the click of a button.

This article is an excerpt form my recent in-depth analysis that contains AI stock 3 year valuation forecasts and 3 high risk reward chinese stocks for the next 5 years. So for immediate first access to ALL of my analysis and trend forecasts then do consider becoming a Patron by supporting my work for just $3 per month that is soon set to increase to $4 per month for new Patrons, so a short window of opportunity exists to lock in at $3 per month. https://www.patreon.com/Nadeem_Walayat.

AI Predicts AI Tech Stock Price Valuations into 2024, Time to Buy Chinese Tech Stocks?

Contents:

  • AI Stocks Value Forecaster (ASVF).
  • How I Use ASVF6 - Percent Upwards Pressure (PUP)
  • AI Stocks Buying Levels Plus ASVF & PUP 
  • AI Stocks Portfolio Buying Levels
  • Dow Stock Market Trend Forecasting Neural Nets
  • Pattern Recognition 
  • Trend Analysis Preprocessing
  • Crossing the Rubicon With These Three High Risk Tech Stocks
  • Cheap Chinese Tech Stock 1
  • Cheap Chinese Tech Stock 2
  • Cheap Chinese Tech Stock 3
  • CME Black Swan

The rest of this extensive analysis has first made available to Patrons who support my work. So for immediate first access to ALL of my analysis and trend forecasts then do consider becoming a Patron by supporting my work for just $3 per month that is soon set to increase to $4 per month for new Patrons, so a short window of opportunity exists to lock in at $3 per month now before the price hike. https://www.patreon.com/Nadeem_Walayat.

Including access to my recent extensive analysis updating AI stocks buying levels as we head towards the window for a significant correction even a possible stock market crash.

AI Stocks Portfolio Buying and Selling Levels, Bubble Valuations 2000 vs 2021

  • Stock Market Bubble Valuations 2000 vs 2021
  • Microsoft to the Moon - OUCH!
  • CISCO to the Moon - OUCH!
  • INTEL to the Moon - OUCH!
  • Tech Stocks in a Bubble today?
  • China / US Stock Markets Divergence
  • AI Stocks Portfolio Buying and SELLING Levels
  • AI Stocks Portfolio Buy / Sell Table Update
  • High Risk Stocks
  • Market Oracle AI Coin Mothballed
  • Global Warming Code RED

Also access to my recent extensive analysis -

Chasing Value with Five More Biotech Stocks for the Long-run

Contents

  • RISK RATINGS
  • HIGH RISK STOCK BUYING LEVELS\
  • Bxxxxxxxxx - Bxxxx -- Risk 3
  • Cxxxxxxxxxxxx- Cxxx - - Risk 5
  • Txxxxxxxxxx - Txx - - Risk 1
  • Bxxxxxxxxxxxxx- Bxxx - Risk 8
  • Axxxxxxxxxxx - Axxx -- Risk 10
  • High Risk Stocks Portfolio Buying Levels
  • Netflix - FAANG a Buy, Sell or Hold?
  • Trending towards Hyperinflation!
  • Delta Variant!
  • Solar CME MULTIPLE Black Swans

And Investing in a Bubble Mania Stock Market Trending Towards Financial Crisis 2.0 CRASH!

  • You Don't Know How Big of a Bubble Your in until AFTER it BURSTS
  • Stock Market Summer Correction
  • REPO Market Brewing Financial Crisis Black Swan Danger
  • Margin Debt Bubble
  • US Bond Market Long-term Trend
  • Michael "Big Short" Burry CRASH and HYPERINFLATION WARNING!
  • Michael Burry's Track Record
  • Michael Burry's Portfolio
  • Investing During Uncertainty
  • AI Stocks Portfolio Buying July Levels Update
  • HEDGING AI Stocks Portfolio
  • Crypto Bear Market Accumulation State
  • Bitcoin Bull / Bear Indicator
  • Market Oracle AI Coin Thoughts
  • Biotech Brief

My analysis schedule includes:

  • Stock Market Trend Forecast September to December 2021
  • Silver Price Trend Analysis, AI Stocks Portfolio Update - 50% Done
  • How to Get Rich! - 90% done - This is a good 6 month work in progress nearing completion.

  • UK House Prices Trend Analysis, including an update for the US and a quick look at Canada - 15% done
  • US Dollar and British Pound analysis
  • Gold Price Trend Analysis - 10%

Again for immediate access to all my work do consider becoming a Patron by supporting my work for just $3 per month that is soon set to increase to $4 per month for new Patrons, so a short window of opportunity exists to lock in at $3 per month. https://www.patreon.com/Nadeem_Walayat.

And ensure you are subscribed to my ALWAYS FREE newsletter for my next in-depth analysis.

Your AI data preprocessing analyst.

Nadeem Walayat

http://www.marketoracle.co.uk

Copyright © 2005-2021 Marketoracle.co.uk (Market Oracle Ltd). All rights reserved.

Nadeem Walayat has over 30 years experience of trading derivatives, portfolio management and analysing the financial markets, including one of few who both anticipated and Beat the 1987 Crash. Nadeem's forward looking analysis focuses on UK inflation, economy, interest rates and housing market. He is the author of five ebook's in the The Inflation Mega-Trend and Stocks Stealth Bull Market series that can be downloaded for Free.

Housing Markets Forecast 2014-2018The Stocks Stealth Bull Market 2013 and Beyond EbookThe Stocks Stealth Bull Market Update 2011 EbookThe Interest Rate Mega-Trend EbookThe Inflation Mega-trend Ebook

Nadeem is the Editor of The Market Oracle, a FREE Daily Financial Markets Analysis & Forecasting online publication that presents in-depth analysis from over 1000 experienced analysts on a range of views of the probable direction of the financial markets, thus enabling our readers to arrive at an informed opinion on future market direction. http://www.marketoracle.co.uk

Disclaimer: The above is a matter of opinion provided for general information purposes only and is not intended as investment advice. Information and analysis above are derived from sources and utilising methods believed to be reliable, but we cannot accept responsibility for any trading losses you may incur as a result of this analysis. Individuals should consult with their personal financial advisors before engaging in any trading activities.

Nadeem Walayat Archive

© 2005-2019 http://www.MarketOracle.co.uk - The Market Oracle is a FREE Daily Financial Markets Analysis & Forecasting online publication.


Post Comment

Only logged in users are allowed to post comments. Register/ Log in