OPEN-SOURCE SCRIPT

MACD Crossover Trend Indicator

This is a very simple "the trend is your friend" indicator - if you are consistent!

How this indicator works:
This indicator detects MACD Crossovers based on the current trend. It checks wether the current close price is above or below the 200 EMA and therefore decides whether we are in an up- or down trend.

UP-TREND: If the price is above the EMA200, the MACD is below 0 and crosses up the signal line, then this is a BUY signal!

DOWN-TREND: If the price is below the EMA200, MACD is above 0 and crosses down the signal line, then this is a SELL signal!

You can also add an alert, that keeps you informed, once one of these scenario happens for a certain pair!

With this indicator you will never enter against the trend.

Have fun! :)
crossovercrossovertradingExponential Moving Average (EMA)Moving Average Convergence / Divergence (MACD)macdcrossoverthetrendisyourfriend

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明