OPEN-SOURCE SCRIPT

Multi-Feature Indicator

The Multi-Feature Indicator combines three popular technical analysis tools — RSI, Moving Averages (MA), and MACD — into a single indicator to provide unified buy and sell signals. This script is designed for traders who want to filter out noise and focus on signals confirmed by multiple criteria.

Features:
RSI (Relative Strength Index):

Measures momentum and identifies overbought (70) and oversold (30) conditions.
A signal is triggered when RSI crosses these thresholds.
Moving Averages (MA):

Uses a short-term moving average (default: 9 periods) and a long-term moving average (default: 21 periods).
Buy signals occur when the short-term MA crosses above the long-term MA, indicating an uptrend.
Sell signals occur when the short-term MA crosses below the long-term MA, indicating a downtrend.
MACD (Moving Average Convergence Divergence):

A trend-following momentum indicator that shows the relationship between two moving averages of an asset's price.
Signals are based on the crossover of the MACD line and its signal line.
Unified Buy and Sell Signals:

Buy Signal: Triggered when:
RSI crosses above 30 (leaving oversold territory).
Short-term MA crosses above the long-term MA.
MACD line crosses above the signal line.
Sell Signal: Triggered when:
RSI crosses below 70 (leaving overbought territory).
Short-term MA crosses below the long-term MA.
MACD line crosses below the signal line.
Visualization:
The indicator plots the short-term and long-term moving averages on the price chart.
Green "BUY" labels appear below price bars when all buy conditions are met.
Red "SELL" labels appear above price bars when all sell conditions are met.
Parameters:
RSI Length: Default is 14. This controls the sensitivity of the RSI.
Short MA Length: Default is 9. This determines the short-term trend.
Long MA Length: Default is 21. This determines the long-term trend.
Use Case:
The Multi-Feature Indicator is ideal for traders seeking higher confirmation before entering or exiting trades. By combining momentum (RSI), trend (MA), and momentum shifts (MACD), it reduces false signals and enhances decision-making.

How to Use:
Apply the indicator to your chart in TradingView.
Look for "BUY" or "SELL" signals, which appear when all conditions align.
Use this tool in conjunction with other analysis techniques for best results.
Note:
The default settings are suitable for many assets, but you may need to adjust them for different timeframes or market conditions.
This indicator is meant to assist in trading decisions and should not be used as the sole basis for trading.
Moving Average Convergence / Divergence (MACD)momentumstrategymultiindicatorRelative Strength Index (RSI)rsistrategyTrend Analysistrendlineanalysis

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità