An indicator called "AI" on TradingView is a Pine script, and it runs inside the same limits as every other Pine script. So whether it's really AI is the wrong thing to ask. Ask instead whether its signals change after the fact, how many of its inputs were tuned to past data, and whether it still works on a chart it wasn't built on.

This post explains what an AI indicator on TradingView can and can't be doing, then gives you four checks to run before you trust one. They take an evening and they work on closed-source scripts too.

What an "AI" indicator can be on TradingView

Every indicator in TradingView's library is written in Pine Script. TradingView calculates the script on the chart's data, one bar at a time, and its documentation sets limits on how long a script may run, how far back it can look, and how much other data it can request. In general a script can't send your chart to a model on someone else's server and wait for the answer. It works with the market data TradingView gives it and the maths its author wrote in Pine.

That still leaves room for real machine learning. A script can compare the current bars with similar stretches in the chart's history and see what followed, which is a nearest-neighbour method. It can fit a regression or group bars into clusters. These are small models, calculated fresh on whatever chart you load.

It also leaves room for a moving average crossover with a confidence percentage and a futuristic colour scheme. From the name alone you can't tell which one you have, and you don't need to. A real nearest-neighbour model can repaint and be overfitted. A plain average can be honest and useful, and the moving averages guide covers why its lag is a feature. What matters for your account is how the signals behave, and you can test that directly.

What the label says, and what to test

On the labelWhat it can meanWhat to test
AI or machine learningAnything from a nearest-neighbour model to an average with thresholdsIgnore the name. Run the four checks below on the signals
Non-repaintingTrue on closed bars only, while the live bar still flickersScreenshot live signals, reload the chart, compare
Catches tops and bottomsArrows placed back on the turning bar once later bars confirmed itBar Replay: note the bar on which each arrow first appears
A high win rateMeasured on the chart in the screenshot, with settings tuned to itDefault settings on a symbol and timeframe not shown
Adaptive or self-learningRecalculates over a rolling window as new bars arriveCheck whether older signals change when the chart reloads
The middle column is what the claim can mean without anyone lying. Each row has a test you can run from the chart, with no access to the code.

Check 1: does it repaint?

Repainting means a script shows something different on past bars from what it showed while those bars were forming. TradingView's own documentation uses the term and describes several causes. Two of them matter most for signals.

The live bar isn't finished. On historical bars a script runs once, on the closed bar. On the live bar it runs again on every price update. If a buy condition is true at one moment and false by the close, the arrow appears, your alert may fire, and then the arrow goes away. History keeps only the closed-bar result, so every losing flicker is erased from the record you look back on.

One live 5-minute bar, as the indicator saw it

  1. 1

    10:31 · Price pushes above the trigger

    The buy arrow prints on the live bar. An alert set to fire on any update goes off, and you buy.

  2. 2

    10:33 · Price falls back under it

    The condition is false again. The arrow disappears from the bar while you're in the trade.

  3. 3

    10:35 · The bar closes below the trigger

    The script's final result for this bar is no signal. That's the only version history keeps.

  4. 4

    An hour later · You review the chart

    No arrow at 10:30. The loss is in your account and nowhere on the indicator.

A worked example of the mechanism, not a recorded trade. Scroll back an hour later and this bar shows no signal at all, so the indicator's history contains none of the entries it prompted mid-bar and then withdrew.

The signal is drawn on a bar earlier than the one that produced it. Nobody can know a bar was the high until later bars fail to beat it. An indicator that waits for that confirmation and then draws its arrow back on the high looks perfect in a screenshot. You could only have acted on the bar where the arrow first appeared, at whatever price that bar was trading.

Worked example · 5-minute: illustrative candlestick chart showing a double top pattern.Worked example · 5-minuteWhere the arrow sits, and where you could have actedIllustrativeSell arrow, as history shows itFirst bar the arrow could appearVolumeBullish candleBearish candle
Illustrative, not market data. The distance between the two markers is the part of the move the screenshot credits to the indicator and no trader could have had. An honest signal has to sit at the second marker.

To test for both, watch the indicator on a live 1-minute chart for one session. Screenshot each signal as it prints, with the time visible. Then reload the page and compare. For the second kind, Bar Replay is quicker: step forward one bar at a time and watch for arrows that show up on bars already behind you. Replay doesn't rebuild every tick of a live bar, so it won't catch every flicker. Do the live session as well.

An indicator that never repaints has to lag, because it can only react to bars that have closed. If one appears to have no lag at all, that's a reason to test it harder.

Check 2: how many inputs were tuned?

Open the indicator's settings and count the inputs: lengths, thresholds, multipliers, sensitivity sliders. Each one is a dial the author could turn until the past looked good, and the combinations multiply quickly.

How many versions of one indicator exist

6
Tunable inputs
A modest count. Some scripts have twenty or more.
5
Settings tried for each
For example a length of 10, 14, 20, 30 or 50.
15,625
Possible combinations
5 × 5 × 5 × 5 × 5 × 5. Each one draws different signals on the same chart.
1
Shown in the screenshot
The one that looked best on that symbol, timeframe and period.
Arithmetic, not a statistic. With thousands of versions to choose from, one of them will fit almost any stretch of past price by chance, and that's the one you'd naturally publish a screenshot of.

More inputs don't make an indicator bad. They do mean the screenshot proves less. Be most wary when the description tells you to "optimise the settings for each ticker", because that's an instruction to fit the past yourself. Backtesting without fooling yourself goes through why a tuned result rarely survives contact with new data.

Check 3: does it work on a chart it wasn't built on?

This is the cheapest test and the one most people skip. Leave every setting on its default. Load the indicator on a symbol that isn't in any of its screenshots, on a different timeframe, and scroll to a period with different conditions: a choppy month if the examples all trend, a falling market if they all rise.

Then go through the signals one at a time and mark each as worked, failed or unclear, using a rule you set beforehand, such as "price moved one average bar range in the signal's direction before it moved one against". It's tedious, and thirty signals is enough to see whether the unseen chart looks anything like the advertised one.

If the script is published as a strategy, TradingView's Strategy Tester will count the trades for you. Open the properties first and check the commission and slippage settings. If both are zero, the report describes trading that costs nothing, which no account gets.

Check 4: does the alert match the arrow?

You won't be staring at the chart for every signal, so in practice you trade the alerts. Create one and look at when it fires. TradingView's alert dialog includes an option to trigger once per bar close. Use it. An alert that fires on any update inside the bar is the 10:31 entry from the timeline above.

Then run the alerts for a week without trading them. Each alert goes in a list with its time. At the end of the week, compare the list with the arrows on the chart. They should match one for one. An alert with no arrow, or an arrow with no alert, tells you the chart and the alerts aren't the same system.

Four checks before you trust any indicator

  • Live session, then reload — Screenshot each signal as it prints. After a reload, every one should be on the same bar.
  • Count the inputs — Fewer dials means the published screenshot is stronger evidence. Note the defaults and keep them.
  • Unseen symbol, timeframe and period — Default settings, a chart outside the examples, signals scored by a rule you wrote down first.
  • Alerts on bar close, matched to arrows — A week of alerts in a list, compared with the chart one for one.
  • Judging it by the screenshot on its page — That's the best chart out of every chart and every setting the author tried.
  • Trusting the word AI, or distrusting it — The label says nothing in either direction. A plain average that passes beats a model that fails.
All four work on invite-only and closed-source scripts, because they test what the signals do and never ask what the code is. An indicator that fails the first one doesn't need the other three.

Where a chart-reading AI fits, and where it doesn't

There's a second kind of "AI for TradingView" that isn't an indicator. DayTrade AI's TradingView AI analysis doesn't run as a Pine script. It reads the chart on your screen from outside, including whatever indicators you've put on it, and returns levels, an entry, a stop and a target. The TradingView AI analysis guide walks through the setup.

That's a different job from an indicator's. An indicator applies one fixed rule to every bar, so it can be replayed and counted. A chart read is a single written analysis of one chart at one moment, with its reasoning attached, which you can check against the candles. It can be wrong too. It can misjudge a level or lean on an indicator line that has itself repainted. So it gets the same treatment: log each read with its entry, stop and target before you know the outcome, and judge it on what your own log shows.

None of these checks will find you an indicator that wins every time, because there isn't one. They remove the ones whose track record was never real, which is most of what the checks are for. Whatever passes still needs a stop, a fixed risk per trade, and a size small enough that a run of losses doesn't end the experiment. Day trading can lose you money with a good indicator as easily as with a bad one.