INVITE-ONLY SCRIPT

TMA Indicator v2.2

This indicator is designed to show support and resistance at local extremes. Configurable SMA crossover events can be used to impart a bullish or bearish bias. This helps to reduce noise on the chart and increase profit factor. In other words, the indicator will only look for bullish breakouts if the fast moving average is above the slow moving average and vice-versa.


  • SMA Crossover events can be used to filter bullish or bearish resistance levels.
  • SMA Crossover events can be used to filter bullish or bearish breakout alerts.
  • Supports alerts for entries and exits based on breakouts of local extrema.
  • Alerts can be generated at every breakout or with SMA crossover filtering active.
  • Backtests would suggest that filtering with SMA crossovers often yields slightly lower profit but with a considerable improvement to profit factor.


Green/Red indicates long/short entry
Yellow/Orange indicates long/short exit

See here for an example backtest and visualization of active SMA signal filtering:
TMA Indicator v2.1


For paper trading only. Do not use on real markets. Never make investment decisions based on this indicator alone.
alertsbreakoutcrossoverSimple Moving Average (SMA)Support and ResistanceTrend Analysistrendfollowingturtle

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact ta-ky for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

Want to use this script on a chart?

Warning: please read before requesting access.

Also on:

Disclaimer