Trend & Momentum V2

1. Alerts for Long and Short Signals
2. Visual cues for Long and Short Signals
For folks who asked me how I use it. Once I get the signal I take a starter position at open of next session.
2. Added a special mode for active traders who want to reduce price action noise which causes them anxiety and uncertainty. Price action in bars is given a bar color based on bias. Green for bullish bias, red for bearish bias, and white for neutral.
You can use any time interval you want eg. 1 minute, 1 hour, 1 day, 1 week, 1 month.
Note on lookback period settings.
The default configuration for the look-back period of 9 for trend and 5 for the momentum is an aggressive setting. You can try 20 for trend and 14 for momentum to reduce noise.
In this update:
Introducing Bull Vs Bear visual signals.
Introducing refactored alerts system.
The algorithm in the script is programmed to detect long or short bias during the time interval set in the alert.
1. Long signals are triggered when a long bias is detected and the price crosses above the previous session high.
1. Short signals are triggered when a short bias is detected in a bar and the price crosses below the previous bar low.
Key Features:
Customizable Moving Average: Choose five types of MAs (DEMA, EMA, SMA, RMA, WMA) to suit your trading strategy. The length of the MA is also adjustable.
Momentum via RSI: The indicator calculates the RSI with an optional smoothing effect using an additional Simple Moving Average (SMA) of RSI values, providing refined momentum signals.
Dynamic Bias Detection: It identifies bullish and bearish market conditions based on both trend and momentum, giving clear long and short signals when the conditions align.
Signal Alerts: The indicator provides optional alerts for long (buy) and short (sell) trade signals, allowing you to stay ahead of market movements.
Color-Coded Candles: Candles are automatically colored based on market bias—green for bullish, red for bearish, and gray for neutral conditions—making trend recognition intuitive.
Customizable Display Options: You can choose to display or hide the Moving Average on the chart, and you can toggle the coloring of candles based on market bias on or off.
This indicator is ideal for traders looking to blend trend-following strategies with momentum analysis. It provides clear visual cues and alerts to improve decision-making in various market conditions.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.