OPEN-SOURCE SCRIPT

Trend-Filtered Blue Diamond

71
To make sure the Blue Diamond only appears during a confirmed uptrend and stays hidden during a downtrend, we need to add a "Trend Filter."

The best way to do this is by using a long-term Moving Average (like the 200 EMA). This ensures that even if you get a small bullish crossover, the diamond won't show up unless the overall market direction is positive.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。