OPEN-SOURCE SCRIPT

Double RSI with MA & MFI

This Pine Script creates an indicator combining two RSI calculations (short and long) with a Money Flow Index (MFI). It includes customizable settings for each RSI and MFI, and plots them with dynamic colors. The script also adds optional smoothing using various types of moving averages. Visual enhancements like gradient fills for overbought and oversold zones are included. Overall, it provides a comprehensive tool for analyzing market momentum.

Indicator Overview
Title: Double RSI with MA & MFI
Short Title: RSI with MA & MFI
Version: 5
Inputs
Short RSI Settings: Length, Source, Timeframe
Long RSI Settings: Length, Source, Timeframe
MFI Settings: Length
Moving Average Settings: Type, Length
Calculations
Short RSI:
Uses the specified length, source, and timeframe.
Calculates RSI based on price changes.
Colors: Green (>= 60), Red (<= 40), Yellow (in between).
Long RSI:
Similar to Short RSI but with its own length, source, and timeframe.
Single color: Blue.
Money Flow Index (MFI):
Calculated using the typical price (hlc3) and specified length.
Plotted in purple.
Plotting
Short RSI: Plotted with dynamic colors.
Long RSI: Plotted in blue.
MFI: Plotted in purple.
RSI Levels: Upper (80), Mid Upper (60), Mid Lower (40), Lower (20) with dotted lines.
Gradient Fill: Overbought (green) and Oversold (red) areas.
Moving Average (MA)
Types: SMA, EMA, SMMA (RMA), WMA, VWMA.
Calculation: Based on the selected type and length.
Plotting: Plotted if enabled, in light grey.
This script combines two RSI indicators with different settings, a Money Flow Index, and an optional moving average for smoothing the RSI values. It also includes visual enhancements like dynamic coloring and gradient fills for better readability
educationalMFImoving_averageMoving Averagesmultitimeframerelativestrength

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à