Free Indicators

TRIN Indicator (Arms Index): Free TradeStation Download

image of Barry Taylor from Emini-Watch.com

Barry Taylor

Youtube video

The TRIN indicator is one of our free indicators for TradeStation. This page showcases the Better TRIN Indicator, the Better TRIN Oscillator and, new for the site’s 20th anniversary, the Better TRIN System: a swing trading system built in 2007, now with real-world results with 20 years of Emini data.

Use the links above to jump to the TRIN indicator topics that interest you.

How is the TRIN formula calculated?

TRIN = (Advancing Issues / Declining Issues) / (Advancing Volume / Declining Volume)

“Issues” is the number of stocks rising or falling on the day. “Volume” is the volume traded in those rising or falling stocks. Richard Arms published the index in 1967, and it was revolutionary: for the first time, a trader could see whether a rally was broad, with volume flowing into most stocks, or narrow, with a few names dragging the index up while the rest of the market sold off.

Here is how to read the TRIN ratio:

TRIN readingWhat it meansMarket condition
Below 0.5Volume heavily concentrated in advancing stocksEuphoria, often near a short-term top
0.5 to 1.0More volume in advancers than declinersHealthy buying
1.0Volume evenly splitNeutral
1.0 to 2.0More volume in declinersSelling pressure
Above 2.0Volume heavily concentrated in declining stocksPanic, often near a short-term low

Both the NYSE TRIN and the Nasdaq TRIN are available as data symbols in TradeStation ($TRIN and $TRINQ). The Better TRIN indicators below use both, because a market where NYSE and Nasdaq breadth agree is a stronger signal than either alone.

How do you read a TRIN chart?

Raw TRIN indicator daily chart on TradeStation showing unbalanced data where selling values are above 1 and buying values are below 1
Raw TRIN indicator on a daily chart: the sell spikes dominate

A raw TRIN chart is hard to read, and the chart above shows why. Buying days sit squashed between 0.5 and 1.0. Selling days spike to 2, 3, sometimes 5. Your eye is drawn to the sell spikes and misses the buying, so most traders only ever use TRIN for one thing: spotting a panic low when the reading goes above 2 or 3.

That is a legitimate use. A TRIN print above 3 on a down day is capitulation, and the market usually bounces within a few sessions. But it leaves most of the information on the table. The four fixes below turn TRIN into an indicator you can read every day, not just on crash days.

Why doesn’t the raw TRIN work as a trading indicator?

There are three problems with the TRIN index as published:

  1. The TRIN is not intuitive. Values above 1 indicate selling, and values below 1 indicate buying. Every other indicator you use goes up when the market is strong. TRIN goes down.
  2. TRIN values are unbalanced. If stocks are bought and sold at equal rates the TRIN is 1. After a day of heavy buying, the TRIN might be 0.4. After a day of equally heavy selling it could be 3. A 0.6 move one way and a 2.0 move the other, for the same amount of pressure.
  3. Averaging the TRIN doesn’t work. The traditional fix is a 10-day moving average of TRIN. Because the data is unbalanced, the average is dragged around by the big selling values and tells you little about buying pressure.

How to make a Better TRIN Indicator in 4 steps

The Better TRIN Indicator fixes all three problems with four lines of maths:

  1. Take the Log of the NYSE TRIN value. Log(2.0) is +0.69 and Log(0.5) is -0.69, so the data is now balanced around zero.
  2. Invert it, so buying is positive and selling is negative.
  3. Multiply by 100 so the numbers are readable.
  4. Repeat for the Nasdaq TRIN and add the two readings.
Better TRIN indicator on TradeStation daily chart showing balanced TRIN data with buying (values above 0) and selling (values below 0)
Better TRIN Indicator: balanced around zero, buying positive, selling negative

The result ranges roughly between -100 and +100, with zero as the neutral point. Positive readings indicate buying pressure and go with up moves. Negative readings are selling pressure and go with down moves. Now the indicator behaves like every other indicator on your chart, so you can average it, build an oscillator from it, and trade it systematically.

TRIN indicator divergence patterns

TRIN indicator divergence signal on TradeStation chart showing bullish divergence setup
Bullish TRIN divergence: lower low in price, less selling pressure

A divergence occurs when the market makes a new low, but the Better TRIN reading is less negative than at the previous low: price is still falling, but the selling pressure behind it is drying up. The reverse at tops. The Better TRIN Indicator has a built-in divergence warning (the Diverg input) that colors the bar when one of these patterns sets up. These are daily chart patterns and do not apply intraday.

What is the Better TRIN Oscillator?

TRIN oscillator indicator on TradeStation chart showing overbought and oversold levels
Better TRIN Oscillator on a daily Emini chart

The Better TRIN Indicator measures buying and selling pressure at a point in time. The Better TRIN Oscillator shows the waves of buying and selling. It is built by cumulating the daily Better TRIN readings into a running total, like on-balance volume but built from breadth, then measuring how far that total has moved from its own 10-day average. A stochastic and a Fisher transform sharpen the turning points. The oscillator swings between -100 and +100, and zero means buying and selling pressure are at their recent norm.

TRIN indicator turn signal on TradeStation chart marking a potential market reversal
Oscillator divergence at a market turn

Divergence patterns on the oscillator are stronger than on the indicator. A bullish divergence is the oscillator making a higher low while price makes a lower low. A bearish divergence is the oscillator making a lower high while price makes a higher high.

TRIN oscillator on an intraday TradeStation chart for day trading market breadth signals
Better TRIN Oscillator on 5-minute Emini bars

The oscillator also works on intraday charts. The chart above is the Better TRIN Oscillator on 5-minute Emini bars. The waves of buying and selling pressure during the day line up with the swings in the Emini, and the turns in the oscillator lead the turns in price more often than not.

Does a TRIN trading system work? 20 years of Better TRIN System signals

I first coded a trading system on the Better TRIN Oscillator in December 2007. It had five entry variations, long and short, and it tested really well. So well, in fact, that I sold it on the website for some years. Then I moved on and forgot all about it!

For the site’s 20th anniversary, I went back to it with 20 years of daily Emini data (December 2006 to October 2026) and asked a simpler question: did the system still work? The answer is yes, but only long (shorts were break-even).

The Better TRIN System buys when selling pressure resumes after a failed bounce. In plain English: the oscillator is below zero; it rallies but peaks before it gets back to neutral, then falls for one to three days running. That’s when amateurs hoping for a rally give up and sell. The system buys the close of that down day. It sells when the oscillator peaks above zero and rolls over, marking the first day buying pressure fades.

Price never enters the calculation. The system is built entirely on who is being forced to sell, which is why it works on the long side and not on the short side: capitulation lows are sharp and V-shaped, euphoric tops are slow and rounded.

Better TRIN indicator trading system buy and exit signals on a daily Emini chart
TradeStation daily ES chart with the Better TRIN Oscillator in a subgraph and Buy and Exit arrows marked

The backtest: 1 contract of ES, four signals, no Martingale double-up or compounding, no optimisation of the oscillator settings since 2007:

MetricLong trades only
Trades318
Percent profitable72%
Profit factor3.31
Average trade$1,750 (ES) $175 (MES)
Max drawdown$56,000 (ES) $5,600 (MES)
Time in market22%
Better TRIN System 20 year performance report on Emini futures
TradeStation Performance Summary screenshot from the long-only trades, 2006-2026
Better TRIN System 20 year equity curve on Emini futures
TradeStation Performance Equity Curve long-only trades, 2006-2026

The code is included in the download with every line commented, so you can see exactly what the system does and change it. Two inputs are worth knowing about. DoubleUp doubles the trade size after a losing trade (Martingale money management). Compound grows the number of contracts with closed equity, one contract per $50,000 ($5,000 MES). Both default to off. Run it plain first.

Hypothetical performance results have inherent limitations. Simulated trades were not executed; results may not reflect the impact of market factors such as liquidity, and systems designed with hindsight may not perform the same in the future. Past performance is not indicative of future results.

TRIN vs TICK: which market breadth indicator should you use?

TICK and TRIN are the two market breadth indicators most Emini day traders have on their screens, and they answer different questions. TICK counts how many NYSE stocks last traded on an uptick minus how many last traded on a downtick. It is instant and noisy, and it is a day trading tool. TRIN compares the volume flowing into advancing stocks against declining stocks, so it tells you whether the money agrees with the price. It is slower and better for swing trading.

Use TICK for intraday extremes (readings beyond +1000 or -1000). Use the Better TRIN Oscillator for the swings that last days to weeks, and for intraday turns on a 5-minute chart if you want a breadth confirmation that is less twitchy than TICK. Neither replaces volume analysis on the Emini itself, where professionals show their hand first.

Download the free Better TRIN Indicator, Oscillator and System

The Better TRIN indicators and system are free to download and use. TradeStation only, because the code needs the $TRIN and $TRINQ data streams on the same chart, and TradeStation supplies them.

What’s included in the download:

  • _Better TRIN Indicator - balanced TRIN reading with divergence warning
  • _Better TRIN Oscillator - swing oscillator, daily/intraday, with divergence warning
  • _Better TRIN System (20 year anniversary version) - the long-only swing trading system with DoubleUp and Compound inputs
  • PDF EasyLanguage source code for all indicators and system, fully commented

Installation note: Build a daily chart with three data streams: your Emini contract as Data1, $TRIN as Data2 and $TRINQ as Data3. In TradeStation, you need both NYSE and Nasdaq Level 1 data for the TRIN symbols. Apply the indicators to that chart. To run the system, set Initial Capital in Strategy Properties to match the StartingCapital input (default $50,000).

Get the Free Better TRIN Indicators and System

This field is for validation purposes and should be left unchanged.

You’ll also receive trading tips and indicator updates. Unsubscribe anytime.

Frequently Asked Questions

What does a TRIN reading of 1 mean?

A TRIN of 1 means buying and selling volume are evenly split between advancing and declining stocks. It is the neutral reading. Above 1 is selling pressure; below 1 is buying pressure.

Is the TRIN a leading indicator?

Yes, in the sense that it reads the volume behind a move rather than the price. When price makes a new low on a less extreme TRIN reading than the previous low, the selling is drying up before price shows it. That is why TRIN divergences lead turning points.

What’s the difference between the Better TRIN Indicator and the Better TRIN Oscillator?

The Better TRIN Indicator measures buying and selling pressure at a particular point in time. The Better TRIN Oscillator shows the waves or cycles of buying and selling, built by cumulating the indicator readings.

Does the indicator use NYSE or Nasdaq TRIN data?

Both. In TradeStation, subscribe to both NYSE and Nasdaq Level 1 data and plot $TRIN and $TRINQ as the second and third data streams on your chart.

Do the Better TRIN indicators use TradeStation’s newer TRIN data symbols?

No. They use the original NYSE and Nasdaq TRIN symbols, $TRIN and $TRINQ. The new TRIN data symbols cover the Dow ($TRINI), S&P500 ($TRINSP), Russell 2000 ($TRINRL) and all US indices ($TRINUS). They are a good idea, but you can only plot them alone, not with ES daily data.

Do the TRIN indicators work for day trading?

Yes. The Better TRIN Oscillator works on intraday charts. The only exception is the divergence warning on the Better TRIN Indicator, which is a daily chart pattern.

Does the Better TRIN System work for day trading?

No. The Better TRIN System is a swing trading system on daily bars. Trades last about 10 trading days on average.

Do the indicators and system work with NQ, YM, SPY or options?

Yes and no. The indicators and system work on the mini-Nasdaq (NQ), mini-Russell and mini-S&P Midcap because TradeStation allows the TRIN symbols on those charts. TradeStation does not allow the TRIN data to be plotted with YM, SPY or OEX options.

Do the TRIN indicators work on tick charts?

No. TradeStation does not allow multiple data streams to be plotted on the same tick chart or share chart, and the indicators need three data streams.

More Free TradeStation Indicators

Professional-Grade Trading Indicators

The free indicators above are useful tools. But if you’re serious about trading futures, these are the indicators I actually trade with:

  • Better Momentum - Identifies momentum shifts before they show up on price
  • Better Sine Wave - Pinpoints cycle turning points
  • Better Pro Am - Separates professional activity from amateur activity

Click here to see the full ‘Better’ Indicator suite.

What people are saying about the Better TRIN Indicators

Better TRIN is one of the best indicators I’ve ever seen.

Thomas K.

I am amazed by the accuracy of the Better TRIN and Better Put Call Ratio Oscillators.

George F.

I’m really enjoying the Better TRIN indicator and it has already helped me several times in a few swing trades. Thank you!!!!!!!!!!!!!!!!

Brad M.

I have yet to see Barry Taylor put out something that isn’t superior. His Better TRIN swing-trading system makes steady money, is far better than many highly expensive systems and costs about $50.

CCLSYS, moderator Big Mike Trading Forum

Firstly, let me tell you that your indicators have helped me turn my mediocre index futures trading results to consistently profitable levels. I find the Better TRIN Oscillator indispensable for my Emini trading.

Kishen C.

I have added stops and targets and limit my number of contracts to two, even so the equity curve is still pretty awesome. I laughed today when I heard your description of the TRIN system - ‘just such a machine!’ Couldn’t agree more, this is a great addition to discretionary trading.

Steve M.

The Better TRIN system - outstanding, excellent.

Gordon R.

I use Better TRIN all the time and I love it.

Ara V.

Not only has the Better TRIN been one of the best indicators I’ve looked at, but for only $70 with a nice follow up email, it seems too good to be true! I’ve found it extremely useful when applied to some of my trend following systems, its addition increased my profit factor and avg $ per trade substantially! So, a personal thanks for building it.

Brent McC.

Having written many complicated strategies of my own, I have to say, the profit factors of the Better TRIN systems are quite amazing, considering the strategy is basically using just one indicator for it’s decision making.

George C.

I simply can’t thank you enough for the Better TRIN, which should be called ‘The Taylor Oscillator’. It is wonderful and it is transforming my trading. There aren’t enough good things that I can tell you about the Taylor Oscillator. I am making money consistently for the first time. I can’t say ‘thank you Barry’ enough. Two related free indicators: the Better Volume indicator covers the volume side of this same market breadth picture, and the Stock Market Crash indicator flags when signals reach extremes.

Robert A.

About the Author

Full-time futures trader Barry Taylor is the founder of Emini-Watch.com and developer of the ‘Better’ Trading Indicators - a unique set of 3 non-correlated indicators that will give you an edge, whether you’re a day trader, swing trader or investor. With over 17 years of full-time trading and traveling, Barry splits his time between Byron Bay, Biarritz and Kauai.

session indicator for tradestation

Session Indicator for TradeStation [Free Code]

Better Sessions is a free session indicator for TradeStation. It plots session breaks at the times that matter: market open, close, 11 am reversal window and the weekly close. Part of Emini-Watch’s free indicators for TradeStation. Most session indicators plot every line on every chart, leaving you to clean up ...

image of global macro rotation indicator

Better Rotation Indicator: Free Code for Asset Rotation

The Better Rotation Indicator is part of the free indicator collection - a set of tools built to help you track institutional money flow and get an edge over the market herd. The Better Rotation Indicator uses 8 major ETFs to track Global Macro trends. This indicator helps visualize the ...

stock market seasonality indicator

Stock Market Seasonality Indicator: Free Download

This stock market seasonality indicator is part of my free indicators for TradeStation, NinjaTrader and MultiCharts. Quick Answer: What Is a Stock Market Seasonality Indicator? A stock market seasonality indicator plots recurring annual patterns in price - the times of year when the market has a statistically consistent tendency to ...