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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明