OPEN-SOURCE SCRIPT
WMA cross with filtered Signals [Dr.K.C.Prakash]

WMA cross with filtered Signals [Dr.K.C.Prakash]
📌 Description
This indicator is designed to generate trend-filtered Buy and Sell signals based on the crossover of two Weighted Moving Averages (WMAs), with confirmation from a long-term EMA trend filter.
It helps traders avoid false signals in choppy markets by trading only in the direction of the broader trend.
✅ Features
Fast WMA (?) and Slow WMA (?)
Core crossover logic for detecting local trend shifts.
EMA Trend Filter (?)
Confirms overall trend direction.
Buy signals only occur when price is above the EMA ? (uptrend).
Sell signals only occur when price is below the EMA ? (downtrend).
Signal Markers on Chart
BUY label below bar for valid bullish crossovers.
SELL label above bar for valid bearish crossunders.
EMA 200 Line
Clearly plotted to visualize the trend filter level.
Customizable Length Inputs
Users can adjust Fast WMA, Slow WMA, and EMA filter length.
Lines for both WMAs and the EMA trend filter.
Signal labels on valid Buy/Sell events.
✅ Use Cases
Trend-following traders who want cleaner entries.
Avoiding counter-trend signals.
Works on any timeframe (but EMA 200 is best for larger trend context).
📌 Description
This indicator is designed to generate trend-filtered Buy and Sell signals based on the crossover of two Weighted Moving Averages (WMAs), with confirmation from a long-term EMA trend filter.
It helps traders avoid false signals in choppy markets by trading only in the direction of the broader trend.
✅ Features
Fast WMA (?) and Slow WMA (?)
Core crossover logic for detecting local trend shifts.
EMA Trend Filter (?)
Confirms overall trend direction.
Buy signals only occur when price is above the EMA ? (uptrend).
Sell signals only occur when price is below the EMA ? (downtrend).
Signal Markers on Chart
BUY label below bar for valid bullish crossovers.
SELL label above bar for valid bearish crossunders.
EMA 200 Line
Clearly plotted to visualize the trend filter level.
Customizable Length Inputs
Users can adjust Fast WMA, Slow WMA, and EMA filter length.
Lines for both WMAs and the EMA trend filter.
Signal labels on valid Buy/Sell events.
✅ Use Cases
Trend-following traders who want cleaner entries.
Avoiding counter-trend signals.
Works on any timeframe (but EMA 200 is best for larger trend context).
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。