OPEN-SOURCE SCRIPT
Updated TDMACD Divergence Multi Timeframe and Alert [5ema]

I reused some functions, made by (i believe that):
-----
What to do?
-----
How is it created?
-----
How to use?
Can be combined with many other indicators or candlestick patterns.
Customize the input indicators to suit your strategy
1. MACD reversed:
https://www.tradingview.com/x/SVlkcetU/
2. Signal line reversed:
https://www.tradingview.com/x/OqxCOgcu/
3. MACD Divergence:
https://www.tradingview.com/x/ei51Jbhx/
4. MACD crossing Signal line:
https://www.tradingview.com/x/q6fR7NrO/
5. Signal on Screener for multi time frame:
https://www.tradingview.com/x/bTIMkUH7/
-----
- 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:
https://www.tradingview.com/x/SVlkcetU/
2. Signal line reversed:
https://www.tradingview.com/x/OqxCOgcu/
3. MACD Divergence:
https://www.tradingview.com/x/ei51Jbhx/
4. MACD crossing Signal line:
https://www.tradingview.com/x/q6fR7NrO/
5. Signal on Screener for multi time frame:
- Green ⦿: Buy.
- Red ⦿: Sell.
- Green 〇: Review Buy.
- Red 〇: Review Sell.
https://www.tradingview.com/x/bTIMkUH7/
-----
- 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.
Release Notes
Update:- The Alert content.
- Position of some items.
Release Notes
Update: The Alert content.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.