OPEN-SOURCE SCRIPT
MACD M4CD

This script show:
1. Signal line base on sma blue color
2. Signal line base on ema orange color
3. Green bar mean current bar is high than signal line
4. Red bar mean current bar is low than signal line
if bar upper zero line, it show uptrend
if bar below zero line, it show downtrend
If orange line cross up blue line, it show signal buy.
If blue line cross down orange line, it show signal sell.
Combined it with other indicator you preferred such as support and resistant to avoid more noise.
The default setting is 5,20,5. (for short to midterm strategy)
my idea:
5 for five days in a week.
20 for twenty day in a month.
Thats all, hope benefit tou you all.
Thank you.
1. Signal line base on sma blue color
2. Signal line base on ema orange color
3. Green bar mean current bar is high than signal line
4. Red bar mean current bar is low than signal line
if bar upper zero line, it show uptrend
if bar below zero line, it show downtrend
If orange line cross up blue line, it show signal buy.
If blue line cross down orange line, it show signal sell.
Combined it with other indicator you preferred such as support and resistant to avoid more noise.
The default setting is 5,20,5. (for short to midterm strategy)
my idea:
5 for five days in a week.
20 for twenty day in a month.
Thats all, hope benefit tou you all.
Thank you.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。