Most Popular
1. It’s a New Macro, the Gold Market Knows It, But Dead Men Walking Do Not (yet)- Gary_Tanashian
2.Stock Market Presidential Election Cycle Seasonal Trend Analysis - Nadeem_Walayat
3. Bitcoin S&P Pattern - Nadeem_Walayat
4.Nvidia Blow Off Top - Flying High like the Phoenix too Close to the Sun - Nadeem_Walayat
4.U.S. financial market’s “Weimar phase” impact to your fiat and digital assets - Raymond_Matison
5. How to Profit from the Global Warming ClImate Change Mega Death Trend - Part1 - Nadeem_Walayat
7.Bitcoin Gravy Train Trend Forecast 2024 - - Nadeem_Walayat
8.The Bond Trade and Interest Rates - Nadeem_Walayat
9.It’s Easy to Scream Stocks Bubble! - Stephen_McBride
10.Fed’s Next Intertest Rate Move might not align with popular consensus - Richard_Mills
Last 7 days
Nvidia Numero Uno in Count Down to President Donald Pump Election Victory - 5th Nov 24
Trump or Harris - Who Wins US Presidential Election 2024 Forecast Prediction - 5th Nov 24
Stock Market Brief in Count Down to US Election Result 2024 - 3rd Nov 24
Gold Stocks’ Winter Rally 2024 - 3rd Nov 24
Why Countdown to U.S. Recession is Underway - 3rd Nov 24
Stock Market Trend Forecast to Jan 2025 - 2nd Nov 24
President Donald PUMP Forecast to Win US Presidential Election 2024 - 1st Nov 24
At These Levels, Buying Silver Is Like Getting It At $5 In 2003 - 28th Oct 24
Nvidia Numero Uno Selling Shovels in the AI Gold Rush - 28th Oct 24
The Future of Online Casinos - 28th Oct 24
Panic in the Air As Stock Market Correction Delivers Deep Opps in AI Tech Stocks - 27th Oct 24
Stocks, Bitcoin, Crypto's Counting Down to President Donald Pump! - 27th Oct 24
UK Budget 2024 - What to do Before 30th Oct - Pensions and ISA's - 27th Oct 24
7 Days of Crypto Opportunities Starts NOW - 27th Oct 24
The Power Law in Venture Capital: How Visionary Investors Like Yuri Milner Have Shaped the Future - 27th Oct 24
This Points To Significantly Higher Silver Prices - 27th Oct 24
US House Prices Trend Forecast 2024 to 2026 - 11th Oct 24
US Housing Market Analysis - Immigration Drives House Prices Higher - 30th Sep 24
Stock Market October Correction - 30th Sep 24
The Folly of Tariffs and Trade Wars - 30th Sep 24
Gold: 5 principles to help you stay ahead of price turns - 30th Sep 24
The Everything Rally will Spark multi year Bull Market - 30th Sep 24
US FIXED MORTGAGES LIMITING SUPPLY - 23rd Sep 24
US Housing Market Free Equity - 23rd Sep 24
US Rate Cut FOMO In Stock Market Correction Window - 22nd Sep 24
US State Demographics - 22nd Sep 24
Gold and Silver Shine as the Fed Cuts Rates: What’s Next? - 22nd Sep 24
Stock Market Sentiment Speaks:Nothing Can Topple This Market - 22nd Sep 24
US Population Growth Rate - 17th Sep 24
Are Stocks Overheating? - 17th Sep 24
Sentiment Speaks: Silver Is At A Major Turning Point - 17th Sep 24
If The Stock Market Turn Quickly, How Bad Can Things Get? - 17th Sep 24
IMMIGRATION DRIVES HOUSE PRICES HIGHER - 12th Sep 24
Global Debt Bubble - 12th Sep 24
Gold’s Outlook CPI Data - 12th Sep 24

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-2022 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