OPEN-SOURCE SCRIPT
已更新 Trend & Momentum V2

Declutter your charts. Simple indicator combining trend and momentum using Moving Average (currently default to 9-day EMA) and RSI (default length of 8). A long signal is generated when the price closes above the moving average and the moving average color turns red to green which indicated that the momentum measured using RSI is greater than 50. A short signal is generated when the price closes below the moving average and the moving average color turns green to red indicating RSI is below 50. Confirmation is done if there is no reversal on the next candle. For best results use multiple timeframe charts to trade on the right side of trend and momentum.
版本注释
Added the following1. 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.
版本注释
Added options for moving averages. SMA, EMA, RMA, WMA版本注释
1. Improved long/short signal logic to accommodate for edge cases.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.
版本注释
Faq: What time frame is best for this signal indicator?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.
版本注释
Title Change版本注释
Trend & Momentum Pro V3 is a powerful indicator that combines trend analysis and momentum in one unified tool. This indicator utilizes a customizable Moving Average (MA) and the Relative Strength Index (RSI) to help traders identify potential buy and sell opportunities based on market conditions.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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。