Indicators · Momentum meter · explained simply
Tetrad 1.3
Copy the full Pine script and paste it into TradingView’s Pine Editor. Or copy this explanation, open Grok, and paste it with your question.
Tetrad combines four familiar momentum readings into one meter. A cyan triangle marks a possible buy when that meter turns up from an unusually low level. A magenta triangle marks a possible sell when it turns down from an unusually high level.

Six questions this page answers
Use the guide below the same way you would judge any tool on a chart:
- What state is the market in?
- What should I do, and at exactly what price?
- How sure is it?
- What proves it wrong?
- Has it worked before on this chart?
- What can’t it tell me?
What it tells you
What state is the market in? The meter answers a simple version of that question: is buying or selling stretched unusually far right now? It sits on a scale from about −5 to +5. Below zero means the four readings are leaning oversold (selling has gone far). Above zero means they are leaning overbought (buying has gone far). Between about −1 and +1, the pane and the price-chart tint stay fairly quiet. That is a state reading, not a forecast.
The meter is built from four votes. Each vote is scored from −1 to +1, then the four are added and smoothed:
- RSI (14): how far the 14-bar RSI sits from its middle (50).
- Stochastic RSI (14, smoothed over 3): where RSI sits in its own recent range.
- MACD histogram (12 / 26 / 9): the histogram compared with twice its usual size over the last 100 bars.
- Bollinger position (20, 2 standard deviations): where the close sits inside the Bollinger bands.
The meter itself is 1.25 times a 3-bar EMA of that sum, and it is kept on the −5 to +5 scale. A buy or sell only counts when the meter turns at a far edge. The default edge is 4: a buy needs a turn up after a bar at or below −4, and a sell needs a turn down after a bar at or above +4. You can change that level in the settings. The lines and signals only start after the meter has enough history (about 135 bars at the default settings), so a short chart can show no triangles.
Tetrad is long or cash only. It never bets on a drop. It works on any chart and timeframe. No orders are sent to a broker.
The triangles and dots
What should I do, and at exactly what price? A triangle is decided when a bar closes. The pretend account, if it acts, acts at the next bar’s open. The triangles do not repaint.
- Cyan triangle (buy): the meter turned up, and the bar before that turn was at or below the buy level (default −4). In plain words: the four readings had become unusually washed out and have just started to turn up.
- Magenta triangle (sell): the meter turned down, and the bar before that turn was at or above the sell level (default +4). A sell only shows up after at least one buy has appeared earlier on the chart, because the indicator only sells what it holds.
- White dot (bullish divergence): price made a lower low, but the meter made a higher low. That can mean selling is losing force.
- Yellow dot (bearish divergence): price made a higher high, but the meter made a lower high. That can mean buying is losing force.
Dots are slower and are only for information and alerts; they do not cause buys or sells. A turn in the meter has to be followed by 3 more bars before the dot appears, and then it is drawn back on the turn bar. That means a dot shows up on your screen about 3 bars late. The two turns being compared must be within 24 bars of each other. The price low or high is the extreme of the 9 bars ending at the confirmation bar. By default the triangles and dots show in both places: on the price bars and on the Tetrad pane (setting “Marks on”).
Reading the pane
- The thick line is the meter. It is green when the reading is low (oversold) and turns red when the reading is high (overbought).
- Green line at the bottom: the buy level (default −4). Red line near the top: the sell level (default +4).
- Dashed line: zero. Dotted lines at +5 and −5 mark the edges of the scale.
- Color bar on the right: a gauge of the current reading, from green at the bottom to red at the top.
- Heat tint on the price chart: the background goes green when the meter is oversold and red when it is overbought. The tint is clear between −1 and +1, and gets stronger as the meter moves toward ±5.
- Thin white or yellow lines between two meter turns connect the points of a divergence.
The table, row by row
Has it worked before on this chart? The table is Tetrad’s own pretend account on this chart’s past prices. It is not anyone’s real account. The numbers in the example screenshot are from that one ZEC daily chart only. Other charts, timeframes, dates and settings will look different.
By default the table sits in the bottom-right corner of the price chart (setting “Table on the price chart”; turn it off to put the table back in Tetrad’s pane). It has two side-by-side halves. In each half, the first column is the row name, the second column is the indicator’s pretend account, and the third column (B&H, buy and hold) is what would have happened if you put all the money in at the same first day and never sold. A dash means that row has no buy-and-hold version or there is no number yet. Hover a cell to see extra detail.
About the pretend account: it starts with $10,000 on Jan 1, 2018 (or the first bar after that once the meter is ready). Each buy spends 50% of the cash that is left, so buys get smaller as cash runs down. Each sell sells 20% of the shares held. Every decision is made when a bar closes and filled at the next bar’s open, with 0.05% fees and 0.05% slippage each way. It only buys or sells; it never bets on a drop. No orders are ever sent to a broker. You can change all of these in the settings.
A cycle is one round of selling that ends when the next buy fills. Several rows below are counted per cycle.
- Top row: the name and chart timeframe (for example “Tetrad 1.3 · 1D”), and a status: BUY next or SELL next when a signal just fired, otherwise HOLDING (the account owns shares) or CASH (it owns none).
- Real: the profit or loss already locked in by sales, after costs. Buy-and-hold has no sale, so this is $0 there. Hover to see the most money that was ever tied up in shares (Peak$).
- Unrl: the paper gain or loss on shares still held, at the last closed bar.
- PnL: the total gain or loss in dollars (account value minus the $10,000 start).
- ROI: the same thing as a percent of the start.
- MaxDD: the biggest drop in account value from a high point, in dollars (hover for the percent and for AvgDD, the average drop on the days the account was below its high).
- Pain$: a single number for how deep and how long the account sat below its high; deeper and longer drops make it bigger. Hover to see R/P (locked-in profit divided by Pain$) and UW% (the share of closes when the account was below its high).
- PF: (profit factor) dollars won in winning cycles divided by dollars lost in losing ones; above 1 means more was won than lost.
- Win%: the share of finished cycles that made money (break-even cycles count as not winning).
- W/L: how many finished cycles won and lost.
- $/Cyc: the average dollars made or lost per finished cycle.
- AvgW / AvgL: the average dollar size of a winning cycle and of a losing cycle.
Hover the status cell for cash, average entry, how much of the account is in shares, filled buys and sells, and how many buy signals were skipped for lack of cash. Hover the title for the current meter, each of the four votes, and the settings in use.
Alerts
For buys and sells, set one alert per chart. In TradingView open the alert dialog, set Condition to Tetrad 1.3, choose Any alert() function call, and pick Once per bar close if offered. That single alert covers both events below. Events fire on the confirmed close and describe an action for the next open.
- Buy: a cyan-triangle buy was decided at the close.
- Sell: a magenta-triangle sell was decided at the close.
- Each message is a small JSON line (engine, action, symbol, timeframe, closing price, the meter, the buy or sell percent, and the time), so it can feed a webhook. Buy and sell messages can each be turned off in the settings.
- If you prefer a plain text message, the condition list also has Tetrad BUY and Tetrad SELL.
- For the dots, you can also set a separate alert on Tetrad Bullish Divergence or Tetrad Bearish Divergence. Remember they arrive about 3 bars after the turn.
What it can’t tell you
How sure is it? Tetrad does not give a confidence number. A triangle only means the meter turned at a far edge, not that the turn will last. What proves it wrong? There is no stop line. A buy can be followed by a lower one; a sell can be followed by a higher one. Price can keep going the other way.
- It does not predict prices. A cyan triangle means the meter was unusually low and started to turn, not that the bottom is in.
- The default edge of 4 is strict. Readings near 2 are common on some charts, so many turns never become a triangle.
- The four votes only look at price. They ignore news, earnings dates, the wider market and your own risk.
- The table is a pretend account on past prices. It does not include taxes, and real fills can be worse than the next open, especially after gaps. The numbers change with the chart, timeframe, start date and settings. Do not read them as anyone’s real results, and do not treat the example screenshot as a typical outcome.
- Dots show up late and do not make trades. Divergence can fail like any other hint.
- Tetrad is a TradingView indicator. It is not part of the nightly site refresh, so MystTrades does not show live Tetrad readings.
Version
Tetrad 1.3 by TheurgyLabs (build of Nov 15, 2026). Version 1.3 moved the table onto the price chart by default; the signals and the pretend account did not change. Version 1.2 set sells to 20% of units held (buys stay 50% of cash). Version 1.1 had set buys to 50% of cash. Version 1.0 first shipped the four-vote meter, the triangles, and the divergence dots. Charts that already carry an older copy keep their old settings until you use Settings > Defaults > Reset settings.
For learning and research, not personal investment advice. This page explains the indicator; it does not show live readings or change your TradingView script. The table numbers are a hypothetical test on past prices, not real trades. Past results do not promise future results.