• Products
  • Community
  • Markets
  • Brokers
  • More
Get started
  • Community
  • /Indicators and strategies
  • /Tdmacd

Tdmacd

TDMACD Divergence Multi Timeframe and Alert [5ema]I reused some functions, made by (i believe that): @paaax: The table position function. @everget: The RSI divergence function. @QuantNomad: The function calculated value and array to show on table for input symbols. @ChaosTrader: The function calculated value TDMACD. ----- What to do? MACD divergence signal. The crossing of MACD and Signal line. The reversal of MACD. The reversal of Signal line. The screener follow 6 different timeframes. Set notification alert when signal appears. ----- How is it created? MACD line = fastMA - slowMA. Signal line = ta.ema(macd(), signalLength) Make function for pivot low & high point of MACD and price. Request.security that function for earch time frame. ----- How to use? Can be combined with many other indicators or candlestick patterns. Customize the input indicators to suit your strategy 1. MACD reversed: 2. Signal line reversed: 3. MACD Divergence : 4. MACD crossing Signal line: 5. Signal on Screener for multi time frame: Green ⦿: Buy. Red ⦿: Sell. Green 〇: Review Buy. Red 〇: Review Sell. ----- This indicator is for reference only, you need your own method and strategy. If you have any questions, please let me know in the comments.
Pine Script® indicator
by vn5ema
Updated
11

Select market data provided by ICE Data services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

More than a product
  • Supercharts
Screeners
  • Stocks
  • ETFs
  • Bonds
  • Crypto coins
  • CEX pairs
  • DEX pairs
  • Pine
Heatmaps
  • Stocks
  • ETFs
  • Crypto
Calendars
  • Economic
  • Earnings
  • Dividends
More products
  • Yield curves
  • Options
  • News Flow
  • Pine Script®
Apps
  • Mobile
  • Desktop
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Tools & subscriptions
  • Features
  • Pricing
  • Market data
Trading
  • Overview
  • Brokers
Special offers
  • CME Group futures
  • Eurex futures
  • US stocks bundle
About company
  • Who we are
  • Manifesto
  • Athletes
  • Blog
  • Careers
  • Media kit
Merch
  • TradingView store
  • Tarot cards for traders
  • The C63 TradeTime
Policies & security
  • Terms of Use
  • Disclaimer
  • Privacy Policy
  • Cookies Policy
  • Accessibility Statement
  • Security vulnerability
  • Status page
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Look FirstLook First