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).
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.