For Developers


FREE Neural Networks with Full Source Code for
Financial Indicators for Use In Stock Tranactions

Below I will be publishing the source code for our ML.NET Neural Networks for the following stock indicators. Each will include a Rules Engines that dramatically speeds up the training of these networks. In the code below that I will be publishing on our GitHub site for the Indicators below we add a very different kind of Rules Engine for making money that dramatically shortens the time to train the neworks below as well as dramatically reducing teh amount of data need to train the network.

Pull Ratio (Gross divided by Media Cost):

This is an indicaator you raely see in stock trading but I have written many C++ Black Boxes for stock traaders who were always amazed when I demonstrated what this indicator can do. It is used to analize how much to BID, that's right BID, on acquiring media of any type. Only uneducated fools would ever pay the rate for any advertsing. In terms of television and radio time it is defined in federal law as a"negotiated price product" and "Rate cards" are only suggested prices. The same is true for all newspaaper and magazine advertising. The neural netwrk for Pull Ratio allows us to calulate how much to bid to guarantee a net rofit on any media buy. This is how I made my fortune in television marketing as well as newspaper and magazine advertising.

Earnings Per Share (EPS):

Adding a neural network to the analysis of EPS can enhance the indicator by identifying hidden patterns in a company’s historical earnings and its correlations with external factors like industry trends, macroeconomic data, and competitor performance. The neural network can predict future EPS with high accuracy, enabling more informed investment decisions by forecasting growth potential beyond traditional linear methods.

Price-to-Earnings (P/E) Ratio:

A neural network can improve the P/E ratio's utility by incorporating dynamic market conditions, such as sector-specific trends, interest rates, and geopolitical events, to contextualize whether a stock is undervalued or overvalued. This predictive capacity enables real-time adjustments to valuation benchmarks, making the P/E ratio a more adaptive and reliable metric.

Price-to-Book (P/B) Ratio:

By integrating neural networks, the P/B ratio can evolve into a predictive tool that factors in changes in a company’s asset valuation, depreciation schedules, and industry-specific risks. Neural networks can analyze historical book values alongside market behavior to detect mispricings and potential reversals, enhancing the ratio's predictive accuracy.

Return on Equity (ROE):

Neural networks can enhance ROE by modeling non-linear relationships between profitability, leverage, and market conditions. This allows for forecasting future ROE trends under various scenarios, offering insights into how management decisions and external factors will likely affect shareholder returns.

Dividend Yield:

Incorporating a neural network into dividend yield analysis can refine the indicator by predicting dividend payout stability and growth based on cash flow trends, sector-specific data, and historical performance. It can also assess the sustainability of dividend yields in different economic environments, offering deeper insights into long-term returns.

Debt-to-Equity Ratio:

A neural network can transform the debt-to-equity ratio by modeling its impact on stock volatility and risk profiles. By analyzing historical data, credit market trends, and economic indicators, the network can provide probabilistic scenarios of financial distress or growth, enabling more nuanced interpretations of a company’s financial leverage.

Current Ratio:

Neural networks can enhance the current ratio’s predictive power by analyzing seasonal patterns in working capital, supply chain dynamics, and market trends. This allows investors to anticipate potential liquidity issues before they appear in traditional financial statements.

Moving Averages (MA):

Neural networks can optimize moving averages by dynamically adjusting the smoothing period based on market volatility and asset-specific patterns. This approach reduces lag and enhances trend detection, providing more accurate signals for buy and sell decisions.

Relative Strength Index (RSI):

A neural network can refine the RSI by learning complex patterns in market behavior and adapting thresholds for overbought and oversold conditions based on real-time data. This increases the accuracy of market entry and exit signals, reducing false positives in volatile markets.

Moving Average Convergence Divergence (MACD):

Integrating a neural network into MACD analysis allows for predictive insights into price momentum by learning historical crossovers and divergences under different market conditions. This predictive modeling improves the timing of trades and increases profitability.

Bollinger Bands:

Neural networks can enhance Bollinger Bands by dynamically adjusting the width of the bands based on volatility and predictive modeling of price fluctuations. This allows for better detection of breakouts or reversals, reducing the likelihood of being misled by false signals.

On-Balance Volume (OBV):

By using neural networks, OBV can integrate market sentiment data, such as social media trends or news sentiment, alongside volume and price trends. This creates a more nuanced understanding of the relationship between volume and price movements, improving predictions of future trends.

Stochastic Oscillator:

A neural network can improve the stochastic oscillator by analyzing historical oscillator movements and integrating additional variables like macroeconomic data or market sentiment. This helps in predicting more accurate turning points, enhancing the timing of trades.

Fibonacci Retracement Levels:

Neural networks can enhance Fibonacci retracements by identifying patterns in historical retracement levels and predicting future support and resistance levels more accurately. This makes the indicator more robust in dynamic and volatile markets, offering precise entry and exit points.

Bill SerGio, William SerGio, William (Bill) SerGio. Hawking makeup, memory tapes and a host of other products, brand-name stars are cashing in with show-length commercials disguised as entertainment ON FIRST VIEWING, AN INFOMERCIAL may seem as strange a beast as, say, a game-show miniseries. But these half hour-long hybrids of advertising and programming, already familiar to late-night insomniacs, are popping up more frequently in daytime hours on cable and broadcast channels, usually as ersatz talk shows or newsmagazines. Stars are singing hosannas to finance plans, car wax, crazy kitchen gadgets, and weight-loss systems. Why? Mostly, it's not to bolster sagging careers but, as an infomercial might put it, "to maximize hidden earning potential." Infomercials were born in 1984, when the government ended its 12-minute-per-hour limit on TV ads. Six years later, the "shows"(for which the infomercialist buys the airtime) were raking in over $500 million a year in sales for one infomercialist, William Sergio, a major producer of celebrity infomercials. William Sergio is the multi-millionaire marketing genius who is the leading writer, producer and director of celebrity infomercials airing on national television that are raking in the big bucks. Sergio's super successful celebrity infomercials have been featured everywhere from PrimeTime with Diane Sawyer to the Johnny Carson Show.

Very Big Business By Harvey S. Gold Bill SerGio gets celebrities to sell an amazing variety of products on TV Infomercials are now a part of main- stream television. And Bill SerGio is the Infomercial King, a handsome, multi-millionaire, marketing wizard who made a large fortune in television mail order. Instead of practicing medicine after finishing medical school, SerGio began selling products that he invented on television. In the last few years his shows grossed over $1 billion in sales. (That’s billion with a letter “B”). SerGio Leads Industry On any day you can see SerGio’s work on TV from infomercials to big sports specials. SerGio is the leading writer, producer and director of successful celebrity infomercials. SerGio put Bill Bixby on TV selling computers and that turned out to be the most successful infomercial ever produced. SerGio has produced many extremely successful infomercials with celebrities including Linda Gray, Mickey Rooney, James Brolin, Margaux Hemingway et al. SerGio put Chad Everett as host of his super successful impotency infomercial selling a sexual stimulant called Oncor. SerGio created the very successful show selling a tooth whitener called OxyWhite that SerGio invented. SerGio was the actual inventor who created the tooth whitener craze in America. SerGio put game show host, Pat Finn, on TV selling SerGio’s Memory course, and another super successful infomercial for Speed Math that SerGio invented that taught kids to do math faster in their heads than using a calculator. SerGio created an infomercial called I Can't Believe It's Not Hair selling a hair spray SerGio formulated for covering bald spots. SerGio put the Founder and CEO of Quicken, Scott Cook, on an infomercial to promote Quicken Software. SerGio did a sports show with actor Gary Busey for speed boat racing. SerGio has invented and marketed hundreds of products such as Grapefruit Diet, Mood Ring, Weed Whacker (spinning wire that cuts grass), Starch Blockers, Fat Blocker, Shrink Away (rubber waist band to sweat away fat), Sleep Away (pill to lose weight while you sleep), The Kitty Toilet Trainer (it teaches your cat to use the toilet), The Cellulite Eliminator, Belly Buster, Ulu Knife, Pheromone Perfumes, Tan-Thru Bathing Suits, Tan In A Tablet, Dick Gregory’s Bahamian Diet, OxyWhite Tooth Whitener, I Can't Believe It's Not Hair and hundreds of other products. SerGio has put over 100 Famous celebrities in over 100 well-known infomercials to sell billions of dollars worth of dazzling variety of household products on national television.