Different Perspective: By using the RSI as the source for MACD calculation, you are incorporating the RSI's characteristics into the MACD indicator. The RSI measures the speed and change of price movements, while the MACD focuses on the convergence and divergence of moving averages. Combining these two indicators may provide a different perspective on market conditions.

Smoothed MACD: Since the RSI is being used as the source for the MACD calculation, the resulting MACD line (macd1 in the code) may exhibit smoother movements compared to a traditional MACD calculated directly from price data. This smoothing effect could potentially help filter out noise and provide a clearer representation of trend changes.

RSI Confirmation: The RSI is often used to identify overbought and oversold conditions. By incorporating the RSI into the MACD calculation, you can potentially gain additional confirmation when the MACD line crosses above or below zero. For example, if the MACD line crosses above zero and the RSI is in an oversold region, it could provide stronger confirmation for a bullish signal.

Example:
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?