Category Archives: expert system

AI Market Timing system – saw the fall coming, so now what

What is the AI in AIQ?

The AI in TradingExpert Pro is programmed with the knowledge and insight of many stock market professionals, and is capable of making market recommendations based on this knowledge and insight; recommendations are made on a scientific basis free of bias, emotion, or hidden motives. 

The AI or expert systems are programmed with rules that combine sound principles of technical analysis with the knowledge and experience of market professionals.  Technical analysis, as used by AIQ, is based on the logic that price is the result of supply and demand.  An AIQ timing signal, therefore, reflects all available knowledge and opinions such as news of the day, earnings, product reports, and company forecasts.

Technical analysis recognizes price and volume movement as the voice of the market itself and hence the only data necessary to determine what the market is likely to do next.

The AIQ Expert System


As an expert system, TradingExpert Pro is comprised of two knowledge bases – one for market timing and a second for stock selection – and an inference engine. Knowledge, in the form of rules, is stored in the knowledge bases. The inference engine is the thinking component of an expert system.

Each of the two knowledge bases within TradingExpert Pro has its own unique rules. The rules operate on facts which are values of the technical indicators. The indicators are computed from daily price, volume, and breadth data.

The rules employed in ATQ TradingExpert Pro are derived from the knowledge of many experts of market action and market timing. The reliability of these rules is maximized by combining them into a higher level of Expert Rules. Market analysts have found that no single rule or indicator works all the time. In AIQ, the Expert Rules and technical indicators work together to generate upside and downside signals.

Different knowledge bases for different market cycles


Continuing research at AIQ has shown that a single knowledge base can be improved if it is split into several knowledge bases, one for each phase of the market cycle. This advancement has been incorporated in the market timing knowledge base. The crest, trough, up slope, and down slope are each addressed by a specific set of rules specialized and weighted for that specific phase of the market cycle.

Each market day, then, the system determines the strength and  direction of the phase, or trend.  If there is no trend, it is first determined if the cycle is at a crest prior to a downtrend, or in a trough before the next uptrend.  A more specialized knowledge base is used for each of these conditions, increasing the overall market timing effectiveness.


The inference engine

The knowledge base fuels the second part of the AIQ expert system, the inference engine.  The inference engine is the thinking component of an expert system, and mimics the way humans think.

To understand how the AIQ inference engine works, picture a decision tree. The procedure starts from the tree’s trunk, where the major rules are located. Each rule is represented as a node, or fork, where the tree splits into three branches-representing a yes, a no, or a maybe.  If the expert system determines that the premise of a rule is true, then the rule is considered to have fired, giving one of those three answers.

As each rule is evaluated, the process moves on to the next node and subsequent branches and continues to move on through the tree. Each rule node has an assigned value.  That value is added to a node total that is accumulated as the inference engine passes through the tree. When all the rules have been evaluated, the resulting node total is normalized and becomes an AIQ Expert Rating.  


Finally


The Expert Ratings are based on a scale of 0 to l00. The higher the Expert Rating, the stronger the signal.  An Expert Rating of 95 or higher is considered a strong signal, meaning that there is a strong possibility that the price trend is about to change direction.


Confirmation of Expert Ratings


Research has shown that a change in direction of the Phase indicator (changing up for up ER, changing down for down ER) at or close to the high Expert Rating date provides a higher degree of confidence in the rating. Phase is not part of the Expert System.


So let us examine the last 7 weeks market action.



2-98 down signal 9/18/2018, 9/18/18 and 9/20/18 all with these primary riles firing confirmed by phase


Intraday high prices of the market have increased to a 21 day high.  Never the less, the advance/decline oscillator is negative. This unusual event is read as a very strong bearish signal that is often  followed by an downward price movement. 


Closing prices on the market have increased to a 21 day high but market breadth as measured by advances and declines is declining. This non-confirmation in a trading market is a weak bearish signal indicating a possible downward price movement.  

DJIA with the 3 successive down signals

Confirmed down signal 4-96 on 10/05/18 these primary rules fires

Trend Status has changed to a strong down trend.  This indicates that a downward trend has started that may continue in this direction. This is a  moderate bearish signal

The 21 day stochastic has declined below the 80% line and the price phase indicator is decreasing. In this strongly downtrending market this is an indication that the downtrend will continue.  

Confirmed down signal 5-95 on 10/18/2018 these primary rules fires

The market closing average has dropped below the 21 day exponentially smoothed average price.  At the  same time, accumulation is decreasing. In this down trending market, this is taken as a very bearish signal that could be followed by further decreases in price.  

The price phase indicator is positive but volume distribution has started to advance. This is a nonconformation that, regardless of the type of market, is a bearish signal which usually results in an downward movement of the market. 

DJIA with 2 more down signals confirmed by phase

Unconfirmed up signal on 10/16/18 – phase did not change direction


Volume accumulation percentage is increasing and the 21 day stochastic has moved above the 20% line. In this downtrending market, this is taken as a   strong bullish signal that could be followed by an upward price movement. 


The price phase indicator is negative but volume accumulation has started to advance.  This is a  non-conformation that, regardless of the type of market, is a bullish signal which usually results in an upward movement of the market. 

The new high/new low indicator has reversed to the upside. This is a reliable bullish signal that is often followed by an upward movement in prices. In this weak downtrending market an uptrend could  start shortly. 



DJIA on 10/16/18 97-3 up no phase confirmation


Confirmed up signal 10/31/18 98-2


The 21 day stochastic has advanced and crossed the 20% line and the price phase indicator is also in- creasing.  In this weakly downtrending market this is taken as a strong bullish signal suggesting an increase in prices. 


Volume accumulation percentage is increasing and the 21 day stochastic has moved above the 20% line. In this downtrending market, this is taken as a strong bullish signal that could be followed by an upward price movement. 


The new high/new low indicator has reversed to the upside. This is a reliable bullish signal that is often followed by an upward movement in prices. In this weak downtrending market an uptrend could  start shortly. 

DJIA on 10/31/18 with confirmed up signal 98-2

While never perfect, the Expert rating provides a formidable advantage to the trader looking for signs of direction changes in the market. As of 11/7/18 close the DJIA was at 26180

DJIA as of 11/7/18

AIQ Market Timing signals a sell

The AIQ TradingExpert Pro Market Timing Expert System uses over 400 rules based on numerous technical indicator conditions to determine if a change in the current trend is imminent. The signals can be quite early and confirmation from other indicators not used in the AI system, like Phase are recommended. Quick disclaimer, we are not advisors and do not give recommendations.

Here’s the signal from last week. The number of stocks with new highs vs new lows is clearly showing a persistent down trend, while the market has been flat.

By clicking the ER button in Charts we can see some of the major rules that have fired to generate the signal

The AIQ market Log in Reports  provides additional information that gives us some broader information on the market. here we can see how a broad range of indicators on the market are fairing and also the percentage of buy vs sell signals on stocks in the S & P 500 (Unconfirmed signals 43-57, confirmed signals 33-67) .
The market action from Tuesday generated a second down signal of 2-98, following the 200 point fall in the Dow. The major rules that fired this time are below.
While never perfect, we always take heed when this many rules are firing

AIQ Market AI signals a 100 rating to the downside

Artificial Intelligence Market Signal issues a 0-100 to the downside on June 10, 2016
AIQ TradingExpert AI signals are designed to anticipate changes in the direction of price movement.  Some are accurate and some are not.  However, more often than not, the Expert Rating signals are accurate.  The strongest level of confirmation for market timing signals like this 0-100 down on June 10, 2016 can be found by examining one of TradingExpert’s other market indication components. 

One possible confirmation of market timing signals (Expert Ratings of 95 or greater) is the the Up/Down Signal Ratio, on the Weighted Action List (WAL), an AIQ report.  A Signal Ratio of 85 or greater in the direction of the signal could be viewed as significant, as the AI system used for stocks is completely separate in terms of expert system knowledge base and data, and share no information or expert rules with the market timing system. 

The image below is taken from the AIQ Reports Daily Market Log. This report pulls elements from various parts of TradingExpert. You’ll notice the 0-100 down signal  on DJIA on 6/10/2016. Just below that is WAL 5-95. This is the Up/Down Signal Ratio from the Weighted Action List (WAL) in this case using SP500 stocks. This 5-95 confirms that 95% of the SP500 stocks have down signals according to the stock expert system.

The Access Plot area on the right gives a bullish/bearish consensus for the SP 500 stocks using 16 technical indicators.

The two independent components of TradingExpert are in agreement calling for the market to move in the same direction. This is a very powerful type of validation, both the equity and market timing systems have signaled a change in market direction at the same time.

While no system is perfect, it is interesting to note the previous 0-100 market timing signal occurred December 8, 2015 prior to the correction at the start of 2016.

The TradingExpert Pro Market Log – remember this?

The TradingExpert Pro Market Log

Trading and investing becomes clearer when you’re armed with this snapshot of the market and SP 500 stocks every day.
– AI rating on the market and how long it has been in place
– AI rating on all Sp 500 stocks percentage showing up ratings vs down ratings
– Bullish vs bearish levels on the market on multiple techncial indicators
– Bullish vs bearish percentage of SP 500 groups trending up vs down and the change from prior day
– Bullish vs bearish levels summary for all the SP 500 stocks on multiple indicators