Free: indicator teardowns, a repaint checker and open-source scripts. No buy/sell signals, ever.

Taught to TradeSystems over signals.

Explainers / CM_Ultimate RSI Multi Time Frame by Chri

CM_Ultimate RSI Multi Time Frame by ChrisMoody, explained from the source

CM_Ultimate RSI Multi Time Frame is an open-source TradingView indicator by ChrisMoody, written in August 2014, with about 23,000 boosts. It draws an RSI, shades the pane when the RSI is past a level, prints "B" and "S" letters, and can take its values from another timeframe. This page walks through the published code in order, says what each part really does, and ends with where it fails. It does not say whether the indicator makes money, and it gives no trades.

The surprise: the letter prints when RSI leaves the zone, and live letters outnumber history

A "B" does not mark RSI dropping under 30. It marks the bar where RSI was under 30 on the previous bar and is above 30 now. "S" is the mirror at 70. So the letters come at the end of a visit to a zone, however long the visit was.

The timeframe option is a real one: the RSI is worked out on the timeframe you pick. But the letter test compares each chart bar with the one before. While a higher-timeframe bar is forming, its RSI moves with every chart bar and can cross 30 or 70 several times. In our Python port, with a higher timeframe of five chart bars, the live chart printed 2,309 letters. The same data loaded as history showed 985.

Step 1: the RSI

A standard 14-bar RSI of the close. The length can be changed; the price cannot. The pane shows the value rounded to a whole number, while the tests use the unrounded value. A reading shown as 30 can be either side of the line.

Step 2: the shading (on by default)

Red background while RSI is above 70, green while it is below 30. A brighter flash on the bar that gets a letter.

Step 3: the letters (on by default)

As above: "B" on the bar RSI comes back above 30, "S" on the bar it comes back below 70. If RSI lands exactly on the level, neither that bar nor the next gets a letter.

Step 4: the second RSI

A second RSI, daily by default, can be drawn in orange. It is for display only. No letter or shading uses it, and it is hidden on any bar where its value is exactly zero.

Step 5: there are no alerts in the code

Nothing in the code can raise a TradingView alert.

What we checked in Python

We ported the logic to Python and ran it on invented random-walk prices with a typical move of 1% a bar, each bar built from 10 smaller steps: 40 runs of 5,000 bars, the first 300 of each run left out.

On random prices. The background was shaded on 9.0% of bars. A median of 123 letters per 4,700 bars, about one bar in 38. These prices have nothing to find.

The live bar flickers. For every 10 letters that held at the close, about 6 more showed inside a bar and were gone by its close (3,122 against 5,030).

Live against reloaded, with another timeframe. The code has no version line, which makes it the oldest kind of Pine. TradingView's documentation says scripts from before version 3 show another timeframe's value on past bars as it stood at the end of that bar. If so, a reloaded chart keeps only the letters between finished higher bars, drawn on the first chart bar of the higher bar before it had closed. That is the 2,309 against 985 above. We read this from the documentation and the code; we did not watch it on a live chart.

These figures describe the code on invented data, not any market.

Where it fails

The same author's stochastic version works the same way: CM Stochastic Multi-TimeFrame.

Educational only. Not financial advice. Nothing here is a recommendation to buy or sell anything. CM_Ultimate RSI Multi Time Frame is by ChrisMoody on TradingView; this page describes its published open-source code in our own words and is not affiliated with the author. Simulation figures come from synthetic random-walk prices and say nothing about how the script behaves on any market.

Also explained: Repaint checker, VWAP, Supertrend, RSI, UT Bot Alerts, Nadaraya-Watson Envelope, Squeeze Momentum, What is repainting on TradingView?, Is TradingView backtesting accurate?, Chandelier Exit, WaveTrend Oscillator, QQE MOD, Pivot highs and lows, Hull Suite, Range Filter, Twin Range Filter, HalfTrend, ZigZag++, SSL Hybrid, CM MacD Ultimate MTF, Volume Profile / Fixed Range, ADX and DI, Support Resistance Channels, Market Structure Break & Order Block, Order Block Finder, Pivot Point SuperTrend, Trendlines with Breaks [LuxAlgo], Divergence for Many Indicators, TradingView script selling terms, Support and Resistance Levels with Break, Liquidity Swings [LuxAlgo], Pine Script errors, Breakout Probability (Expo), Did ChatGPT or Claude write your Pine Sc, Lorentzian Classification, SuperTrend AI (Clustering), Machine Learning Adaptive SuperTrend, Dynamic Swing Anchored VWAP, Support and Resistance Power Channel by , Support and Resistance (High Volume Boxe, Trendline Breakouts With Targets by Char, Breakout Finder by LonesomeTheBlue, Volume Flow Indicator by LazyBear, FVG Order Blocks by BigBeluga, CM_Williams_Vix_Fix by ChrisMoody, Bollinger + RSI Double Strategy by Chart, Ultimate Moving Average MTF by ChrisMood, Fibonacci Bollinger Bands by Rashad, Candlestick Patterns Identified by repo3, MACD + SMA 200 Strategy by ChartArt, Pine Script v5 to v6, Moving Average Cross Alert, Multi-Timefr, WaveTrend Oscillator [WT] by LazyBear, WaveTrend with Crosses [LazyBear], CM_Price-Action-Bars by ChrisMoody, RSI Candles by glaz, CM RSI-2 Strategy Lower Indicator by Chr, CM Stochastic Multi-TimeFrame by ChrisMo, TonyUX EMA Scalper - Buy / Sell by tux, MACD 4C by vkno422, My Pine Script is valid. What did the va

Next steps

  • Get a script fixed. Compiles but behaves differently live, or changes after a reload? In a Pine Script Audit, an AI model reads every line and writes a report on what to fix for $49, or also fixes those problems for $149. It cannot prove a script is safe.
  • Check your own script. Paste its source into the free repaint checker. It runs in your browser and flags known patterns.
Before you trust its backtest: the Integrity Checklist, $19 one-offBack to Taught to Trade

No TradingView account yet? This affiliate link gives you a $15 coupon toward a paid plan, and we earn a commission if you buy one. The free plan is enough to follow this page.