AI Market Analysis: Turning 700 Market Signals into an AI Forecast

21 November 2026, 15:24
Andrey Kozak
0
6

AI Market Analysis reads 700 market signals across seven timeframes and turns them into a structured prompt that any AI assistant can analyse in seconds. This article explains how the indicator works, how to use it step by step, and how it fits into a trader's daily routine.

Purchase this indicator for market analysis: https://www.mql5.com/en/market/product/210229

Every trader knows the situation. M5 shows a strong push up, H1 is still in a downtrend, RSI is overbought, and a resistance level from yesterday sits just above the price. Each of these facts matters, and they often contradict each other. Checking trend, momentum, overbought/oversold conditions, volatility, volume and key levels on every timeframe by hand takes far longer than the market gives you.

At the same time, many traders already use AI assistants every day: ChatGPT, Claude, Gemini, Grok, DeepSeek. These models are good at weighing many factors at once, but they only see what you give them. A screenshot or a vague question gives a vague answer.

AI Market Analysis closes this gap. It collects the full technical picture from your MetaTrader 5 terminal and packs it into a precise, professionally structured brief. You give that brief to the AI you already trust, and get back a short, concrete analysis with targets and invalidation levels.

You can find the indicator on the MQL5 Market: AI Market Analysis.

What the indicator analyses

The indicator scans seven timeframes at once (M1, M5, M15, M30, H1, H4, D1) and calculates 100 signals on each, 700 readings in total. The signals are grouped into seven categories:

Category

Signals per TF

What it measures

Trend

24

EMA 20/50/200 and ribbon, SuperTrend, HalfTrend, Ichimoku, ADX/DI, regression, Aroon, Vortex, swing structure

Momentum

22

RSI, MACD, Stochastic, CCI, KAMA, Hull MA, TEMA, Parabolic SAR, AO, Fisher, Elder Impulse, divergences

Overbought / oversold

14

RSI(14), RSI(2), Stochastic, StochRSI, CCI, Williams %R, MFI, DeMarker, Bollinger %B, Z-score, Keltner

Volatility

10

ATR regime, Bollinger bandwidth, TTM squeeze, Choppiness, efficiency ratio, NR7 breakouts

Volume flow

8

OBV, Chaikin Money Flow, accumulation/distribution, relative volume, Force Index, VWMA

Price action

12

Engulfing, pin bars, stars, inside bars, liquidity sweeps, BOS / CHoCH, fair value gaps

Levels

10

Nearest support and resistance, pivots, VWAP, Fibonacci, previous period high/low, round numbers

Each signal gets a score from -1 (strongly bearish) to +1 (strongly bullish). Informational signals, such as volatility regime or choppiness, carry no direction and describe the market state.

Three design choices make the analysis reliable:

  • Closed bars only. All indicator values are calculated on the last closed bar of each timeframe, so the readings do not flicker with every tick. Distances to levels use the live price.
  • Regime awareness. For each timeframe the indicator measures "trendiness" from ADX, the Kaufman efficiency ratio, regression R² and the Choppiness Index. Overbought/oversold readings are then interpreted in context: an oversold RSI inside a strong uptrend is scored as a pullback zone, not as a reversal signal. In a range, the same reading is treated as a reversal risk.
  • Fast vs slow trend. A fast trend composite (HalfTrend(2), Hull, KAMA, SAR, MACD histogram slope) is compared with a slow one (EMA 50/200, slow SuperTrend, Ichimoku cloud, 100-bar regression). When the fast trend turns against the slow one, the indicator flags an early trend change.

Finally, support and resistance levels from all seven timeframes are merged into one unified level map, together with daily pivots, previous day and week highs and lows, today's and the week's open, VWAP and round numbers. Levels that coincide are clustered, and each cluster gets a strength score based on how many timeframes and sources confirm it.

The info panel, block by block

The panel on the left side of the chart is a complete dashboard, useful even before any AI is involved. From top to bottom:

  1. Market outlook. Three cards for 5 MIN, 1 HOUR and 1 DAY, each with a direction (UP / DOWN / FLAT), a confidence percentage and a target price. Each horizon uses its own timeframe weights: the 5-minute view relies on M1, M5 and M15, the 1-hour view on M15 to H4, the daily view on H1, H4 and D1. This keeps short-term noise out of the longer forecasts.
  2. Timeframe matrix. One row per timeframe: a bar showing the total score from bearish to bullish, the regime (TREND, RANGE or MIXED), and a marker that turns amber when the fast trend has turned against the slow one.
  3. Signal matrix. A 100 x 7 heat map: each cell is one signal on one timeframe, green for bullish, red for bearish. Columns of one colour show at a glance where the timeframes agree.
  4. Category radar. A seven-axis radar for the selected timeframe (trend, momentum, OB/OS, volatility, volume, price action, levels) with bars and exact scores beside it. Click the timeframe tabs to switch.
  5. Overbought / oversold meters. RSI and Stochastic for every timeframe, with the extreme zones shaded.
  6. Key levels. The two nearest resistance and support levels from the unified map, their distance in points and their strength.
  7. GENERATE AI PROMPT button and the prompt file location box, which always shows where the last file was saved.

The three nearest support and resistance levels are also drawn on the chart. Line thickness reflects level strength.

From 700 signals to an AI answer

One click on GENERATE AI PROMPT turns the whole scan into an English text file that works with any large language model. The prompt is not a raw data dump. It is written the way a senior analyst would brief a colleague:

  • Role and task. The AI is told to act as a professional trader and quantitative analyst, and to forecast the next 5 minutes, 1 hour and 1 day using only the supplied data.
  • Data key. A short explanation of the scores, the regime-adjusted overbought/oversold logic, trendiness, the fast/slow shift and level strength, so the AI reads the numbers correctly.
  • Analysis protocol. Nine steps the AI follows internally: identify the regime, read top-down per horizon, check momentum and early trend changes, interpret overbought/oversold in context, map levels, read the price path, fit targets to the expected move, build scenarios with calibrated probabilities, and set targets and invalidation.
  • Strict answer format. The AI must reply in a fixed short block, without introductions or disclaimers.
  • Market data. Snapshot and spread, expected move per horizon, the indicator's own outlook as a prior to verify, a regime and trend table, an oscillator table, key trend lines, the unified level map, daily and weekly context, recent bars from D1, H1, M5 and M1, the 100 x 7 score matrix, fresh events, and the value of every signal.

The answer you get back looks like this:

NOW: UP - moderate - H1 trend, M5 pullback ending NEXT 5 MIN: UP | 58% | target 2652.40 | invalidation 2647.90 NEXT 1 HOUR: UP | 64% | target 2658.00 | invalidation 2644.50 NEXT 1 DAY: UP | 61% | target 2671.30 | invalidation 2636.20 KEY LEVELS: resistance 2658.00, 2671.30 | support 2647.90, 2636.20 TRADE IDEA: BUY at 2648-2650 | SL 2644.20 | TP 2658.00 WHY: H1/H4 SuperTrend and HalfTrend up, oversold M5 inside the trend... WATCH: H1 close below 2644.50 flips the scenario.

The prices above only illustrate the format. Every answer includes a target and an invalidation level, so you can see at once what the AI expects and where it would be wrong.

How to use it, step by step

  1. Install and attach. Get AI Market Analysis from the Market and drag it onto any chart: forex, gold, indices, crypto or stocks. The timeframe of the chart does not matter, because all seven timeframes are analysed at once.
  2. Let the history load. On the first start the terminal downloads history for all timeframes. Within a few seconds the panel fills in and the outlook cards show values instead of dots.
  3. Press GENERATE AI PROMPT. The prompt is saved as a .txt file and a window appears that shows exactly where it is.
  4. Find the file. In MetaTrader 5 open the menu File > Open Data Folder, then go to MQL5 > Files > AI_Market_Analysis. The newest file carries the symbol, date and time in its name, for example AI_Market_Analysis_XAUUSD_20261121_154200.txt . The full path is also shown in the window and in the panel.
  5. Give it to your AI. Open ChatGPT, Claude, Gemini, Grok, DeepSeek or any other assistant. Either attach the .txt file to the chat, or open the file, select all (Ctrl+A), copy (Ctrl+C) and paste it into the chat (Ctrl+V). Send it without adding anything: the prompt already contains the full instructions.
  6. Read the answer. Within seconds you get the short verdict block: where price is going now, the next 5 minutes, the next hour, the next day, key levels and a trade idea with stop and target.

A new prompt reflects the market at the moment you press the button. For a fresh view, generate a new file instead of reusing an old one.

The indicator works completely offline. It uses no DLLs, sends nothing to the internet and does not open trades. The prompt file stays on your computer, and you decide which AI it goes to.

Practical ways to use it in trading

The indicator fits several trading styles. Four common workflows:

  • Pre-trade check (scalping and intraday). You see a setup on M5. Before entering, look at the 5 MIN and 1 HOUR cards and the timeframe matrix. If they agree with your idea, generate a prompt and ask the AI for a second opinion. If the AI places the invalidation level close to your entry, you know the risk is tight.
  • Session plan (day trading). At the start of the London or New York session, generate one prompt and save the AI's answer. It gives you a daily bias, the key levels and the scenario that would cancel it. During the session you trade only in the direction of that plan, and stop when the WATCH condition is triggered.
  • Reversal filter. When price reaches a strong level from the map and the panel shows an amber shift marker, the fast trend is turning against the slow one. This is the moment to check for divergences, liquidity sweeps or CHoCH in the prompt data, and to ask the AI whether the reversal is confirmed.
  • Learning tool. Compare your own reading of the chart with the AI's reasoning in the WHY line. Over time you learn which combinations of signals really matter on your instrument.

Example of reading the result. Suppose the panel shows 1 HOUR UP 64%, the H1 row is marked TREND, the M5 and M1 rows are RANGE, and RSI on M5 is near 30. This is the classic "pullback inside a trend" case: the higher timeframes give the direction, the lower ones show a temporary dip. The AI answer will usually suggest a BUY near the nearest support, with the invalidation just below it. If instead the H1 shift marker turns amber and the level map shows strong resistance just above the price, the AI will often answer SIDEWAYS or WAIT, which is just as valuable: it keeps you out of a weak trade.

Why it makes your analysis stronger

  • Use the AI you already know. No new platform, account or subscription is required by the indicator. It connects MetaTrader 5 with the assistant you already talk to every day, in the way you are used to.
  • Real data instead of a screenshot. The AI receives 700 exact readings, prices and levels taken directly from your terminal. Its analysis is based on what is actually happening, not on a guess from a picture.
  • Hours of work in one click. Collecting this picture by hand on seven timeframes is practically impossible during live trading. The indicator does it continuously in the background.
  • Context, not isolated signals. Overbought/oversold is read in the light of the regime, short-term noise is kept out of the longer horizons, and early trend changes are flagged separately. This prevents the most common mistakes of single-indicator trading.
  • Levels at the centre. The unified level map shows which prices are confirmed by several timeframes and sources, so targets and stops are placed where the market has actually reacted before.
  • Discipline built in. Every answer must state a target and an invalidation level. Trading against a clear plan reduces impulsive entries and late exits.
  • Works for any instrument and broker. Forex, metals, indices, crypto and stocks, on any account type, with no external services.

The indicator does not replace your decisions. It gives you and your AI assistant a complete, structured view of the market, so every decision is based on the full picture.

Input parameters and tuning

Parameter

Default

What it changes

Tuning tip

HistoryDepth

500

Bars loaded per timeframe for the calculations

300 for a lighter terminal, up to 1000 for longer-term levels and smoother regression

ScanSeconds

2

How often the analysis is refreshed

5 to 10 on slower computers or with many charts open

ShowPanel

true

Shows or hides the info panel

Turn off if you only need the levels on the chart

PanelScale

1.0

Size of the panel

0.8 for small screens, 1.2 for large monitors; the panel also adapts to the chart height

ShowLevels

true

Draws the 3 nearest support and resistance levels on the chart

Turn off for a cleaner chart

ResColor

red

Colour of resistance lines

Match your chart theme

SupColor

green

Colour of support lines

Match your chart theme

The default settings suit most symbols and timeframes. The analysis itself (timeframe weights, regime logic, level clustering) is fixed and calibrated, so there is nothing to optimise before you start.

Purchase this indicator for market analysis: https://www.mql5.com/en/market/product/210229