
TradingView Mobile App Guide: Alerts, Charts, and What It Can Actually Do
How to run TradingView on your phone without kidding yourself about what the mobile app can and cannot do versus desktop.
The code behind every custom indicator and strategy on TradingView, explained without the jargon and without turning you into a programmer.

If you have spent any time on TradingView, you have used Pine Script without knowing it. Every custom indicator, every buy/sell arrow, every colored band that is not built into the platform by default was written in it. So the honest answer to what is Pine Script is this: it is TradingView's own small programming language for building indicators, strategies, and alerts that run directly on your charts.
That is the whole thing. It is not a trading robot, not an AI, not a secret edge. It is a language, in the same way that a recipe is a language for cooking. It tells the chart what to calculate and what to draw. Whether the recipe is any good is a completely separate question, and one worth keeping in mind every time someone sells you a script.
This piece is a plain-English tour, not a coding class. By the end you will know what Pine Script is, what you can actually build with it, and why the tools worth paying attention to are coded rather than clicked together from a menu.
TradingView could have let people upload code in Python or JavaScript. Instead it built Pine on purpose, and the reason is worth understanding because it shapes what the language can and cannot do.
Charts are made of bars. Each bar has an open, a high, a low, a close, and a volume. Pine is designed around that structure. When you write a line of Pine, it runs once for every bar on the chart, left to right, as if it were walking through history one candle at a time. That model is called series-based computation, and it is the single most important idea in the language.
Because Pine only knows about bars and the values attached to them, it stays sandboxed and predictable. It cannot reach out to the internet, cannot read your files, cannot place an order at your broker. That is a limitation and a feature at the same time. It keeps the platform safe when you load a stranger's script, and it forces every tool into the same honest shape: it reads price data, it does math, it draws or alerts. Nothing more.
Pine covers a wide range, from a one-line moving average to a full trend system with its own exit logic. Broadly, the things people build fall into three buckets.
An indicator plots information. That is its entire job. A simple moving average is an indicator. So is RSI, MACD, Bollinger Bands, or a custom oscillator someone invented last week. Indicators can draw lines, fill regions, print labels, and color bars, but they do not keep a running tally of hypothetical trades.
Most of what you find in the TradingView public library is indicators. Some are classics with decades behind them. Many are noise. The code being clever does not make the idea sound.
A strategy is an indicator with a scorekeeper bolted on. In addition to plotting things, it declares entry and exit rules, and TradingView runs those rules across historical bars to produce a hypothetical track record. This is what powers the backtest report you see, and it is why you can backtest a strategy on TradingView and put its result next to buy-and-hold.
The distinction matters. An indicator says "here is a signal." A strategy says "here is what would have happened if you had followed these signals." The second is far more useful and far easier to fool yourself with, which is exactly why testing discipline is the hard part.
Pine can also fire alerts. When a condition you defined becomes true on a closed bar, the script can trigger a notification to your phone or email. This is how a chart tool reaches you when you are not staring at the screen. If you have ever wondered how to set up TradingView alerts, the trigger condition on the other end is usually a line of Pine deciding the moment has arrived.
If you learn one piece of Pine vocabulary, make it this one, because it is where most retail traders get burned.
A repainting script is one that changes its own history. A signal appears to have printed at a great price when you look at the past, but that arrow was only placed after the fact, or it moved while the bar was still forming. On a screenshot it looks flawless. In live trading it never gave you that entry, because the information it used did not exist yet at that moment.
Repainting is not always dishonest. Some of it comes from beginners misusing live-bar values without realizing it. But it is the number one reason a backtest looks like a money printer and the live version does not. This is one reason to treat published win-rate screenshots with suspicion. A non-repainting script commits to its signals on the closed bar and never quietly rewrites them later. When you evaluate any coded tool, the first question is not "how good does the backtest look," it is "does it repaint." A pretty curve that repaints is worth nothing.
TradingView gives you plenty you can set up from menus. You can drop a built-in indicator on a chart, tune its inputs, and draw trendlines by hand. For a lot of people that is enough, and there is nothing wrong with it. If you are still finding your footing, our guides on using TradingView for beginners and adding an indicator to a chart cover the click-and-go path.
But menus have a ceiling. You cannot click your way to a rule like "go long only when the trend has flipped up and hold the position with a stop that trails behind price, and show me the result against buy-and-hold, and never repaint." That is logic. Logic has to be written down, and on TradingView, written down means Pine.
This is the quiet reason the tools worth trusting tend to be coded. Not because code is magic, but because a coded tool has to state its rules explicitly. Every decision lives in text you could in principle read. A discretionary approach lives only in someone's head and changes with their mood. Neither guarantees results, but only one can be tested the same way twice.
Here is the trade-off laid out plainly.
| Approach | Flexibility | Repeatable | Testable |
|---|---|---|---|
| Menu settings only | Low | Yes | Somewhat |
| Hand-drawn / discretionary | High | No | No |
| Coded in Pine | High | Yes | Yes |
Being testable does not mean a script works. It means you can check. That is the entire value of code in this context: it turns a vague claim into something you can put through a proper backtest and either confirm or throw out.
Vektor is built in Pine, and that is deliberate rather than incidental. It reads the trend on gold and Bitcoin and tells you long, short, or flat, and it waits most of the time rather than firing a signal on every wiggle. Its exit is plotted as a trailing stop that follows the trend. It does not repaint, it can show its result next to buy-and-hold on your chart, and it sends alerts to your phone.
None of that requires you to write a line of Pine yourself. The point of mentioning the language is transparency: because it is coded, the rules are fixed and the behavior on your chart is the behavior, not a story. It is information to inform your own decisions, not financial advice, and it does not place trades. Trading gold and Bitcoin carries real risk of loss, and no tool changes that.
Probably not. The vast majority of TradingView users never open the Pine editor, and they get along fine. You can run any script someone else built, adjust its inputs, and set alerts without knowing what a ta.crossover is.
Learning it makes sense in two cases. First, if you genuinely want to build your own tools and enjoy the tinkering, Pine is a friendly place to start, and plotting your first moving average takes minutes. Second, and more usefully for most people, a little familiarity helps you read what a tool actually does before you trust money to it. You do not need to write Pine to smell a repainting script, but knowing the language exists and what it can and cannot do makes you a harder mark.
That second reason is the real takeaway. Pine Script is not a shortcut to profits and nobody honest will tell you it is. It is the medium in which trading logic gets written down on TradingView. Its value is that it makes rules explicit and testable. Your job is to make sure the rules being sold to you survive that test.
No. Most people never write a line of it. You can add any published or purchased indicator to your chart, change its inputs from a settings menu, and set alerts without touching code. Pine Script only matters if you want to build or heavily modify a tool yourself, or if you want to understand exactly how a tool you rely on makes its decisions.
An indicator plots information on your chart, like a moving average, a band, or a buy/sell label, but it does not track hypothetical trades. A strategy adds an engine that simulates entries and exits so you can backtest and see results next to buy-and-hold. Both are written in Pine. A strategy is essentially an indicator with a scorekeeper attached.
Basic scripts are approachable if you have written any code before. You can plot a moving average in a few lines. The hard part is not the syntax. It is writing logic that behaves correctly on live bars, does not repaint, and holds up across different markets and timeframes. That takes real testing, not just clever code.
Not on its own. Pine runs inside TradingView charts and can plot signals and fire alerts, but it does not connect to a broker by itself. People route those alerts to third-party services to automate orders, but that is a separate setup with its own risks. A Pine tool by itself is information, not execution.

How to run TradingView on your phone without kidding yourself about what the mobile app can and cannot do versus desktop.

One sells a broad signal toolkit on a subscription. The other sells a single focused trend call for a one-time price. Here is the honest breakdown.

Bar replay lets you step through a chart candle by candle, so you can test a strategy the way it actually happens: one bar at a time, no future in view.