OPEN-SOURCE SCRIPT

WMA cross with filtered Signals [Dr.K.C.Prakash]

45
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).


Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.