Showing posts with label indicator. Show all posts
Showing posts with label indicator. Show all posts

Saturday, January 3, 2026

Mastering Multi-Timeframe RSI Divergence indicator, scan, watchlist(custom quotes) for Thinkorswim TOS: A Powerful Tool for Technical Analysis

Introduction to RSI and Divergence

The Relative Strength Index (RSI) is one of the most widely used momentum oscillators in technical analysis, developed by J. Welles Wilder in 1978. It measures the speed and change of price movements on a scale from 0 to 100, typically using a 14-period setting. Readings above 70 indicate overbought conditions, while those below 30 suggest oversold territories. However, RSI's true power lies beyond simple overbought/oversold levels—it's in identifying divergences, which signal potential shifts in market momentum.

The Multi-Timeframe RSI Divergence Indicator for Thinkorswim TOS: A Comprehensive Guide for Technical Analysis 

Divergence occurs when the price action and the RSI oscillator move in opposite directions, highlighting a weakening trend. There are two main types:

  • Regular (Classic) Divergence: Often signals trend reversals.
    • Bearish: Price makes a higher high, but RSI forms a lower high (momentum fading in an uptrend).
    • Bullish: Price makes a lower low, but RSI forms a higher low (momentum building in a downtrend).
  • Hidden Divergence: Typically indicates trend continuations.
    • Bearish: Price makes a lower high, but RSI forms a higher high (continuation of downtrend).
    • Bullish: Price makes a higher low, but RSI forms a lower low (continuation of uptrend).

While standard RSI divergence is effective, it can produce false signals in volatile markets or when confined to a single timeframe. This is where the Multi-Timeframe (MTF) RSI Divergence indicator shines, allowing traders to overlay divergence signals from higher timeframes onto their current chart for enhanced confirmation.

Overview of the MTF RSI Divergence Indicator

The MTF RSI Divergence indicator, available from PatternSmart, is designed for platforms like Thinkorswim (TOS), with adaptations for other systems such as NinjaTrader 8 in similar variants. It builds on the standard RSI divergence by incorporating multi-timeframe analysis, enabling traders to detect divergences from longer periods (e.g., hourly or daily) directly on shorter-term charts (e.g., 5-minute). Key highlights from its description include:

  • No Lag or Repaint: Signals are generated in real-time at the current bar, ensuring reliability without hindsight bias.
  • Detection of Both Regular and Hidden Divergences: It automatically identifies all four signal types (bullish/bearish regular and hidden) between price trends and RSI values.
  • Customizable Plots: Features separate plots for each divergence type (e.g., Bullish Regular Signal, Bearish Regular Signal), which can integrate with scanners, watchlists, market analyzers, or automated strategies.
  • Alert Functionality: Includes customizable alerts for new signals, helping traders stay informed without constant chart monitoring.
  • Scan and Watchlist Integration: Compatible with platform tools for screening multiple assets or building divergence-based watchlists.

Parameters typically include:

  • RSI Length: Default 14, adjustable for sensitivity (shorter for more signals, longer for fewer but stronger ones).
  • Timeframe Selection: Choose the higher timeframe (e.g., 15-min, 30-min, 60-min, daily) to overlay on the base chart.
  • Lookback Period: Defines how many bars back to check for swing highs/lows (e.g., 3-10 bars for accurate swing detection).
  • Overbought/Oversold Thresholds: Custom levels (e.g., 70/30) to filter signals

This indicator is particularly suited for intraday and swing traders using futures, stocks, forex, or cryptocurrencies, as it leverages MTF to provide a broader market context.

How to Set Up and Use the MTF RSI Divergence Indicator

Setting up the indicator is straightforward on supported platforms like Thinkorswim:

  1. Installation:
    • Download and import the indicator file into your platform (e.g., via Thinkorswim's "Studies" menu).
    • Add it to your chart by selecting "MTF RSI Divergence" from the studies list.
  2. Configuration:
    • Set the base RSI parameters (length, price source like close).
    • Choose the MTF timeframe—e.g., apply a 60-minute divergence to a 5-minute chart for intraday trading.
    • Enable alerts: Configure sound, email, or popup notifications for new divergences.
    • Customize visuals: Adjust arrow sizes, colors, and whether to draw connecting lines between price and RSI peaks/troughs.
  3. Interpreting Signals:
    • Bullish Regular Divergence: Look for a green upward arrow or 'B' label under a price low where RSI shows a higher low. This suggests a potential reversal from downtrend to uptrend—enter long positions after confirmation (e.g., price breaking above a recent high).
    • Bearish Regular Divergence: Red downward arrow or 'S' above a price high with RSI lower high. Ideal for short entries in fading uptrends.
    • Hidden Divergence: Use for trend continuation—e.g., bullish hidden (higher price low, lower RSI low) during pullbacks in uptrends to add to longs.
    • MTF Overlay: On a 5-minute chart, a 30-minute divergence signal appears as a thicker line or distinct marker, indicating alignment with the larger trend. Only trade in the direction of the higher timeframe for higher probability.
  4. Practical Usage Strategies:
    • Reversal Trading: Combine with support/resistance levels. For instance, a bullish regular divergence at a key support zone on the daily MTF could signal a strong buy.
    • Trend Confirmation: In a strong uptrend, ignore bearish divergences unless confirmed by multiple timeframes; focus on bullish hidden for entries on dips.
    • Scanning and Watchlists: Use the indicator's plots in a market scanner to filter stocks showing divergences across assets. For example, scan for bullish divergences on a watchlist of S&P 500 components.
    • Risk Management: Always use stop-losses below recent lows for longs (or above highs for shorts). Target profits at prior resistance or using risk-reward ratios (e.g., 1:2).
    • Confirmation with Other Tools: Pair with volume (increasing on reversal confirms signal), moving averages, or other oscillators like MACD for confluence.

Example: In a volatile stock like Tesla (TSLA) on a 15-minute chart, overlay a 1-hour MTF RSI Divergence. If price hits a new low but the 1-hour RSI shows a higher low (bullish regular), wait for a candle close above the divergence bar to enter long, targeting the next resistance.

Why the MTF RSI Divergence Indicator is Useful for Technical Analysis

In technical analysis, success hinges on identifying high-probability setups amid market noise. The MTF RSI Divergence indicator excels here for several reasons:

  1. Enhanced Signal Reliability Through MTF Confluence:
    • Single-timeframe analysis often leads to whipsaws. By incorporating higher timeframes, the indicator filters out minor divergences, focusing on those with broader market agreement. This "top-down" approach aligns short-term trades with long-term trends, improving win rates.
  2. Early Warning of Momentum Shifts:
    • Divergences often precede price reversals by several bars, giving traders an edge. The real-time, non-repainting nature ensures signals are actionable without delay, crucial in fast-moving markets like forex or futures.
  3. Versatility Across Market Conditions:
    • Works in trending or ranging markets: Regular divergences for reversals in ranges, hidden for continuations in trends. Its integration with scans and strategies makes it ideal for algorithmic trading or high-volume screening.
  4. Reduces Emotional Bias:
    • Objective signals based on mathematical discrepancies eliminate guesswork. Alerts prevent missed opportunities, while customizable parameters allow adaptation to personal trading styles.
  5. Backtesting and Strategy Building:
    • Plots compatible with backtesters (e.g.,  Strategy Builder) enable quantitative validation. Studies show divergence strategies can yield positive expectancy when combined with MTF, especially in equities and indices.

Empirical evidence from trading communities (e.g., forums ) highlights its utility: Users report fewer false signals compared to standard RSI, with MTF adding a layer of confirmation that boosts confidence.

Potential Limitations and Best Practices

While powerful, no indicator is infallible. Divergences can fail in strong trends (e.g., "divergence traps" where momentum rebuilds), so always confirm with price action. Over-optimization of parameters can lead to curve-fitting—test on out-of-sample data. In low-volatility markets, signals may be sparse.

Best practices: Use on liquid assets, combine with fundamental analysis for context, and maintain a trading journal to refine usage.

Conclusion

The MTF RSI Divergence indicator from PatternSmart is a must-have for technical analysts seeking to elevate their game. By merging the proven RSI divergence concept with multi-timeframe insights, it provides a comprehensive view of momentum dynamics, helping traders spot reversals, continuations, and high-probability entries. Whether you're a day trader scanning for intraday setups or a swing trader aligning with daily trends, this tool's real-time accuracy, customization, and integration capabilities make it invaluable. Incorporate it into your arsenal, and watch how it transforms your analysis from reactive to proactive in the ever-evolving markets of 2026 and beyond.


Get it now: MTF(Multi Time Frame) RSI Divergence indicator, scan, watchlist(custom quotes) for Thinkorswim TOS 

 

 

Monday, September 28, 2020

Free Multi Time Frame MTF Open High Low Close Volume OHLC indicator for Ninjatrader 8 NT8.

This free Ninjatrader 8 NT8 indicator will display the Open High Low Close (OHLC) and Volume info as label on chart, you will be able to choose the location where the label to show up.

The input MTF is the number of minute you want to use for the OHLCV data, for example, if you want to display Open High Low Close and Volume of 5 minutes chart on a 100 Tick chart, then enter 5 for input MTF. The label will be shown on chart as the pic below:

 

You can use it on any chart type.

The free version only support minute as additional Multi Time Frame MTF data.

Please download it from:

https://drive.google.com/file/d/1P9fNaMnLo_99c1nNByRSyt_slf8__Wwl/view?usp=sharing

Please contact us if you want to customize this indicator or need to create any customized indicator on any platform.






 

You can also use more than one of it on chart to display Open High Low Close Volume OHLC from different minute data, as shown in the chart below, it used 2 instances of this indicator to display both 30 Minute and 1 Minute OHLC info on a 5 Minute chart.

 


Thursday, August 23, 2018

Double top chart pattern indicator with alert for Ninjatrader 8

This is a Permanent access license. Please follow these “3rd Party Licensing” steps within NinjaTrader, to properly enable your license for any of the NinjaScript.

A Google drive download link will be sent to you after your ID is activated.

 

Double top is a very common chart pattern, as its name indicates, it consists of two tops, and these two tops need to be in a relative flat price level. One of the top can't be much higher or lower than another one.

This indicator will detect and highlight double top pattern automatically on chart and alert you.

Features and inputs:
  • Range(input): check if the first top was the highest High in given Range of bars.
  • Strength(input): minimum number of bars used to form each top.
  • Choose the alert sound file you want to use from a drop down menu.
  • Switch ON/OFF of alert.
 
It works on all timeframes and any symbol. It will draw a line right after the pattern is formed.
You can also load more than one with different inputs to get more results on chart.


There is a plot (a cyan dot) which is used check if a double top chart pattern has been formed.

You can use this plot in Market Analyzer and Strategy.





































Saturday, September 9, 2017

M shape bullish XABCD 5-point chart pattern indicator for Ninjatrader NT8


XABCD 5-point chart patterns are very common and popular in technical analysis, some of them have already been named, such as Gartley, Butterfly, Bat, Crab, Shark and Cypher.

As the name suggests, XABCD pattern has 5 points and 4 legs formed by those 5 points. The concept of XABCD 5-point pattern is to compare the retracement level between legs. For example, when you see AB makes a 0.382 or 38.2% Fibonacci retracement of the X-A leg or XA, it means that the price difference from point A to B is equal to 38.2% of the price difference from point X to A.
If we use a formular to represent the relation, it will be: (B-A)=0.382*(X-A);



This indicator is able to detect and highlight any Bullish M shape XABCD 5-point chart pattern based on your pre-defined settings, and plots the fibonacci retracement automatically.
 






The following video shows how it plots in realtime.






How it works:

It uses Zigzag to track the price trend and detect all four legs based on your settings. If there are four adjacent legs that meet the retracement levels you set, it will highlight the XABCD 5 points, plot two triangles and draw the Fibonacci retracemen lines. The image below is an example of what this indicator plots on chart.







Features:

  1. Automatically highlight the M shape XABCD 5 points pattern and shade the triangle XAB and BCD.
  2. You will be able to change the outline color for those 4 legs, XA, AB, BC and CD.
  3. You will be able to change the shade color and transparent level of the two triangles XAB and BCD.
  4. Automatically draw Fibonacci retracement levels with ON/OFF switch,
    • adjust how many bars used for the extension of fibo levels.
    • select Right or Left side to show the fibo values.
  5. Plot a projection (not prediction) of the D point when XABC is confirmed.
    • Enable to turn this feature ON/OFF.
    • If the actual D point is detected, the projection will be removed.
  6. Show XABCD patterns on history data, if turn this feature OFF, it will only plot the last one XABCD pattern.
  7. Sound alert whenever a XABCD pattern is detected.
  8. Select different alert sound files with drop down menu.
  9. Adjust the Zigzag parameters:
    • Zigzag deviation type:  percentage or point
    • Zigzag deviation value.
    • Switch ON/OFF to show Zigzag line.





The retracement levels in some of the XABCD patterns definition are theoretical values, it's not realistic to set the retracement as a fixed value such as 0.618, since you may not be able to find any pattern in a short time.

It's better to set the value as a range. For example, if you want to detect 0.618 retracement from AB to XA, then set a range from 0.6 to 0.64 will be more practical.
Set the inputs as:  ratio AB:XA <=0.6 and ratio AB:XA >=0.64.

Define the retracement between legs as shown in the picture below.
  • If you want to compare BC and XA instead of BC and AB then enalbe BC:XA, it will disable BC:AB automatically. Same for CD:XC.


Show XABCD patterns on history data, if turn this feature OFF, it will only plot the latest XABCD pattern.



Otherwise, it will keep all qualified patterns on chart.
But only the last one will show Fibonacci retracement levels.




The following chart is a pattern on history data.
It will not plot retracement levels on historical patterns.



 The following chart is an example of how projection mode works.




The following chart is an example of how customized XABCD ratio works.
You can set the ratios to any value you want.

I set the ratios of AB:XA and CD:BC to a range around 1, then the shape will be a M top or double top pattern as shown in below.




Please make sure you have enough bars loaded on chart.



You can also use this indicator to capture any XABCD pattern as well as the ones that already been named.

The following example shows how to use this indicator to detect Cypher Pattern.

Cypher Pattern Rules: 
  • The Cypher pattern starts with the X and A points.
  • Point B is confirmed when AB retraces to 0.382 – 0.618 Fibonacci level of the leg XA
  • Point C is confirmed when BC extend the XA leg by at least 1.272 or within 1.130 – 1.414 Fibonacci extension level
  • Point D is confirmed when CD retraces 0.782 Fibonacci level of XC

The image below is the parameters for bullish Cypher Pattern, since it uses BC:XA and CD:XC, you need to enable those settings.






The following example shows how to use this indicator to detect bullish Gartley pattern.

Gartley pattern rules:
  1. Leg AB should be the .618 retracement of leg XA.
  2. Point C is confirmed when BC retraces either .382 or .886 of AB.
  3. If the retracement of BC is .382 of AB, then CD should be 1.272 of BC. If BC is .886 of AB, then CD should extend 1.618 of BC.
  4. CD should be .786 retracement of XA.





The following example shows how to use this indicator to detect bullish Butterfly  pattern.

Butterfly pattern rules:
  1. Move AB should be the .786 retracement of move XA.
  2. Move BC can be either .382 or .886 retracement of move AB.
  3. If the retracement of move BC is .382 of move AB, then CD should be 1.618 extension of move BC. Consquently, if move BC is .886 of move AB, then CD should extend 2.618 of move BC.
  4. CD should be 1.27 or 1.618 extension of move XA.





Since the legs are based on Zigzag line, please make sure you set the proper input for zigzag first, otherwise you may not be able to detect the desired patterns.
This is a life time license, no subscription or renew fee.


Tuesday, March 7, 2017

Flow of fund (FOF) indicator for NinjaTrader 8 NT8


This is the NT8 version of Flow of fund (FOF) indicator

Get it from: http://www.patternsmart.com/cart/index.php?route=product/product&product_id=364

Flow of fund (FOF) simply refers to the direction of money in the market. FOF indicator shows how the flow of funds impacts market price.

The idea of this indicator is very intuitive, prices raise when cash flowing into the market and drop when cash flowing out of market.

The calculation of FOF involves three basic but the most important elements of the financial market: TIME, PRICE and VOLUME.

Flow of fund indicator consists of two parts:

  1. HISTOGRAM shows the total amount of money get in or out of the market within 1 bar.
    • If selling pressure is stronger than buying pressure, it will be a red bar,
    • otherwise, it will be a green bar.

    •  
  2. Two Flow of fund trend lines, indicating the short and long term movement of money flow.
    • Fast trend line uses a shorter period of time.
    • Slow trend line uses a longer period of time.
    • The length of period of both trend line is adjustable by user.
The orange line in the images is slow FOF, the blue line is fast FOF.

It works within all time period (Tick, Minutes, Daily, Weekly, Monthly) with VOLUME.








 

Related articles:

Prices always follow the Flow of fund, how to use the flow of fund indicator.

The role of flow of funds indicator in day trading.

Sunday, December 25, 2016

Super Scalper indicator for NinjaTrader NT8

Just converted this Super Scalper indicator to ninjatrader NT8

Super Scalping is the essence of the forex indicator to transform the accumulated history data.
Super Scalping provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.
Based on this information, traders can assume further price movement and adjust their strategy accordingly.








Thursday, December 15, 2016

macd predictor indicator for cTrader cAlgo

MACD predictor is a trending indicator that give you not only what direction a forex pair is moving but also how volatile the price is. When the Forex market starts giving new max or minimum level values, the Dinapoli macd predictor follows the price trend direction and pullsup the level of quit from the currency market . Stops should be applied where they are for a purpose, and in that case, should not be changed.

The whole idea behind a practical trading plan is to keep it as simple as possible.

There are two main advantages to its use.

1. You are able to determine, one period ahead of time, what price will cause the MACD to turn from a buy to a sell or visa versa. It is a cousin to the Oscillator predictor. If you take a position you know right then and there, the exact price, the current and next (future) bar will need to achieve for the MACD to cross. You can also literally see the distance the market has to go, before your current position is either helped or hindered by the force of the next MACD cross. You can do this in all time frames, as the predictor updates in real time.

2. You are able to determine the "Dynamic Pressure" on the market by clearly observing price action with the MACD Predictor history, superimposed directly on the bar chart. Dynamic pressure refers to how the market reacts to buy and sell signals. If you get a 30 minute sell on the MACD and the market goes flat for example, you know right then and there that the next buy signal is apt to be a big winner! This was something I would regularly do with the standard DiNapoli MACD but now it is so much easier to see!










Wednesday, November 30, 2016

Trend Pullback Reversal TPR indicator for NinjaTrader NT8 with new features

The TPR(Trend Pullback Reversal) indicator forms a possible price trend with Pullback and Reversal signals.
The NT8 version comes with a unqiue band and center line as additional features.
TPR works on all timeframes and all symbols and all type of bar chart.
TPR never repaints.
There are 4 Parameters:
  1. Period: umber of bars used for calculations
  2. Factor: Multiplier factor, small number for short trend, large number for long trend
  3. ShowSignal: enable to show the signal dots
  4. ShowBand: enable to show band and center line



  




















You may think it looks like supertrend or braintrend, right?
Actually, most trend indicators have similar plot, the differences are where and when they give signals.
Unlike other trend indicators, TPR will focus on main trend and filter out most minor price movements. The green cross-line represents an uptrend, the red cross-line represents a downtrend and the blue dots are signals for possible reversals.
The additional band and center line may look like bollinger band, but the TPR band algorithm is completely different from bollingerband. There is no standard deviation in TPR band calculation.
The following image is a comparision of TPR and BOLL.
 
































The TPR band gives a possible range of the TPR movement, if TPR is outside of the band for many bars or far away from the band, it could be a sign of trend reversal.

The chart below is an example of TPR outside of band.





You can see how TPR reacts to price movement from the following images.
The orange and cyan dots give possible reversal signals.

































The following image shows where you can find the TPR column in Market Analyzer.



It will display "Up trend start" if current bar is the first bar that turns into up trend.
It will display "Down trend start" if current bar is the first bar that turns into down trend.
Otherwise, it will display "Up trend" or "down trend" in corresponding indicator status.





For more screenshots please visit:  https://t.co/JQacXoMsNG

VIP price is $79. This is 1 year license, you will get both NT7 and NT8 version with the purchase. 
Trend Pullback Reversal TPR indicator for NinjaTrader NT8
Trend Pullback Reversal TPR indicator for NinjaTrader NT7