OPEN-SOURCE SCRIPT

Trend Filtered MACD Strategy

This trading strategy is designed to work on the 4-hour timeframe, using the MACD indicator to identify potential buy (long) or sell (short) signals by detecting overbought or oversold conditions, confirmed with a trend filter based on the EMA (Exponential Moving Average). If the price is above the EMA, it only considers buying opportunities; if below, it looks for selling opportunities. Stop-loss levels are calculated using market volatility (ATR) to minimise risk, while profit targets are based on predefined risk-reward ratios.
Average True Range (ATR)Exponential Moving Average (EMA)Trend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明