PROTECTED SOURCE SCRIPT

Ultimate Strength Index (USI),Stoch Multi Time Frame(MTF)[cI8DH]

Updated
Ultimate Strength Index (USI) adds stochastic, multi time frame, signal line, histogram, and bar coloring options to RSI and Absolute Strength Index (ASI). It can also turn into an indicator similar to Awesome Oscillator/MACD line. This indicator can be used for analyzing momentum and trendiness/choppiness, as well as identifying swings (stoch). The fix applied in True RSI is also applied here. Chart below shows example multi-TF setup with bar coloring.

snapshot

For analyzing volume, I made a similar indicator based on money flow and accumulation/distribution, which you can find in the link below.
Ultimate Money Flow (UMF), Stoch, Multi Time Frame (MTF) [cI8DH]


Aggregation Method
aggregation method = MA Percent => True RSI: momentum and divergence, failure swings
aggregation method = MA => Absolute Strength Index: accurate momentum and divergence
aggregation method = Cumulative => Awesome Oscillator alternative: momentum and divergence, twin peaks, ... (set the smoothing to 5 and signal length to 29ish)

snapshot

Smoothing, signal line and histogram to detect trend and choppiness
You can apply additional smoothing to USI. Also, you can add a signal line and histogram (histogram is the difference between main line and signal line). To do so, set the signal length to a number greater than one. Signal line can help you detect changes in trend similar to the signal line on MACD. If signal line criss-crosses USI, it shows market is choppy. The worst case is when this criss-crossing coincides with USI flattening near neutral line and histogram height is relatively short; that means market is ded (until it is not; expansion following a contraction period is a common phenomena)! (Bear in mind that histogram will be hidden in stoch mode, and main and signal lines will be hidden in cumulative mode)

snapshot

Stochastic
To enable stoch, change the stoch length to a number greater than 1 (default stoch length for the built-in RSI stoch is 14). This length should be calibrated depending on TF and asset. If done correctly, it can be a powerful tool for identifying swings. Stoch can be combined with any aggregation method. I recommend using stoch with MA aggregation (i.e. ASI). For conventional uses of stochastic, please read tradingview.com/wiki/Stochastic_(STOCH) and tradingview.com/wiki/Stochastic_RSI_(STOCH_RSI).

Experimental Bar coloring Feature
There is an option to color bars depending on USI's position relative to the signal line. If both TFs are used in coloring and they are in disagreement, the TF with greater histogram height wins. There are two shades of green and red. The darker shade means both TFs agree. If you use the signal line, bar coloring can help with calibrating the indicator (play with parameters until you see a good looking chart i.e. a lot of green candles followed by a lot of red candles in a row). Please note that bar colors might change until candle(s) close(s). The bar coloring rules will most likely change in the future.

Notes
- Smooth MA length N = EMA length 2*N-1
- With correct settings, you can also create an alternative to normalized MACD line in the cumulative mode.

True RSI
True Relative Strength Index (True RSI / TRSI) [cI8DH]


Absolute Strength Index
Gain/Loss Moving Average [Cyrus c|:D]


Please give a like, and share the interesting configurations you find in the comments.
Release Notes
Here is a TL;DR list of my indicators to save you some time from looking at my obsolete indicators.

TLDR list of my latest indicators
Release Notes
- added dots when crossing signal line
- added safe signal cross similar to the feature in UMACD. This feature is useful to avoid trading during sideways. To use this feature, set the std deviation multiplier option to a number greater than 1.
- changed bar coloring mechanism when both TFs are enabled. Now colors change when both TFs agree, otherwise previous color remains.
- added some visual cues for grouping settings in the UI.
- added an inner band.
Release Notes
- fixed a typo
absolute-strength-indexasiRelative Strength Index (RSI)Stochastic OscillatorStochastic RSI (STOCH RSI)

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?


Also on:

Disclaimer