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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。