Key Changes:
ADX Filter Enhancement: Added a check to ensure that the plusDI is greater than minusDI for a long signal and vice versa for a short signal. This ensures that the trend is in the direction of the crossover.
Removed Fake Signals: By ensuring that the crossover is in the direction of the trend (using plusDI and minusDI), we reduce the likelihood of false signals.
Consolidated Logic: The script now ensures that signals are only generated when the price is in a clear trend and the crossover is sustained.
This should help in reducing fake signals and provide more reliable buy/sell signals based on the SMA crossover, VWAP filter, and ADX trend strength.
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在
使用條款閱讀更多資訊。