Price Action Plus [tambangEA]Price Action Plus is all-in-one indicator toolkit which includes various features specifically based on Price Action Plus Moving Average.
Order Blocks with volumetric data, real-time market structure, a MTF dashboard, and much more detailed customization to get an edge trading price action automatically.
Mostly all of the features within this script are generated purely from price action with moving averages as a trend indicator, which allows users to automate their analysis of price action for any market / timeframe.
🔶 FEATURES
This script includes many features based on Price Action; these are highlighted below:
Market structure (BOS, CHoCH, CHoCH+) (Internal & Swing)
Volumetric Order Blocks (Bullish & Bearish)
Previous Highs/Lows (Daily, Weekly, Monthly, Quarterly)
Premium & Discount Zones
Fair Value Gaps
Multi-Timeframe Dashboard
EMA Multi Timeframe Settings
Fibonacci : Volume , Levels
图表形态
Multi-Timeframe with TrendLine Cross and Fibonacci LevelsCombined Fib with trendline cross.
FIB Levels automatically calculated based on bar lookback.
From AleSaira:
This indicator "TrendLine Cross", is designed to plot trend lines so you can spot potential trend reversal points on the charts. The main function is to draw several lines on the chart and identify the crossings between these lines, which can be significant indicators for trading. The lines are based on different periods which can be changed in the settings tabs.
Let's see the characteristics of the trend lines:
_Low Line Color(Green Line): This line connects the lowest point of low prices in the "low_time" period with the lowest point of low prices in the "high_time" period. Indicates a possible short-term support level on the chart.
_Liquidity Up Line Color (Golden Line): This line connects the lowest point of low prices in the "low_time" period with the highest point of low prices in the same period. It represents a liquidity zone and an important resistance in the chart.
_Lower Line Color (Blue Line): This horizontal line connects the lowest point of low prices in the "LowerLine_period" with the lowest point of low prices in the "high_time" period. Indicates a possible long-term support level.
_Upper Line Colorr: This line represents a connection between the highest points of the "high_time" period and the lowest point of the "LowerLine_period". Indicates a possible long-term resistance level.
_Up Line Color (Red Line): This line connects the highest point of high prices in the "high_time" period with the highest point of high prices in the "LowerLine_period". It represents a possible long-term resistance level.
_Liquidity Down Line Color(Golden Line): This line connects the highest point of high prices in the "high_time" period with the highest point of low prices in the "low_time" period. It represents a liquidity point and an important support zone.
The indicator becomes particularly interesting when the lines make crossings. These crossovers could suggest a potential trend change in the market. For example:
Change from Bearish to Bullish: If the "long-term" line (black) crosses the "short- or long-term" line (green or blue) from top to bottom, it could indicate a shift from a bearish to a bullish market , suggesting the opportunity for long positions.
_Changing from Bullish to Bearish: If the "long-term" line (blue) crosses the "short-term" line (red or black) from bottom to top, it could indicate a shift from a bullish to a bearish market, suggesting the opportunity for short positions.
Generally speaking, crossings between these lines can be key points of interest for traders, as they can signal significant changes in price direction.
No Trade Zone Indicator [CHE]No Trade Zone Indicator
The "No Trade Zone Indicator " is a powerful tool designed to help traders identify periods when the market may not present favorable trading opportunities. By analyzing the percentage change in the 20-period Simple Moving Average (SMA20) relative to a dynamically adjusted threshold based on market volatility, this indicator highlights times when it's prudent to stay out of the market.
Why Knowing When Not to Trade Is Important
Understanding when not to trade is just as crucial as knowing when to enter or exit a position. Trading during periods of low volatility or uncertain market direction can lead to unnecessary risks and potential losses. By recognizing these "No Trade Zones," you can:
- Avoid Low-Probability Trades: Reduce the chances of entering trades with unfavorable risk-to-reward ratios.
- Preserve Capital: Protect your investment from unpredictable market movements.
- Enhance Focus: Concentrate on high-quality trading opportunities that align with your strategy.
How the Indicator Works
- SMA20 Calculation: Computes the 20-period Simple Moving Average of closing prices to identify the market's short-term trend.
- ATR Measurement: Calculates the Average True Range (ATR) over a user-defined period (default is 14) to assess market volatility.
- Dynamic Threshold: Determines an adjusted threshold by multiplying the ATR percentage by a Threshold Adjustment Factor (default is 0.05).
- Trend Analysis: Compares the percentage change of the SMA20 against the adjusted threshold to evaluate market momentum.
- Status Identification:
- Long: Indicates a rising SMA20 above the threshold—suggesting a potential upward trend.
- Short: Indicates a falling SMA20 above the threshold—suggesting a potential downward trend.
- No Trade: Signals when the SMA20 change is below the threshold, marking a period of low volatility or indecision.
Features
- Customizable Settings: Adjust the ATR period and Threshold Adjustment Factor to suit different trading styles and market conditions.
- Visual Indicators: Colored columns represent market status—green for "Long," red for "Short," and gray for "No Trade."
- On-Chart Table: An optional table displays the current market status directly on your chart for quick reference.
- Alerts: Set up alerts to receive notifications when the market enters a "No Trade Zone," helping you stay informed without constant monitoring.
How to Use the Indicator
1. Add to Chart: Apply the "No Trade Zone Indicator " to your preferred trading chart on TradingView.
2. Configure Settings: Customize the ATR period and Threshold Adjustment Factor based on your analysis and risk tolerance.
3. Interpret Signals:
- Green Columns: Consider looking for buying opportunities as the market shows upward momentum.
- Red Columns: Consider looking for selling opportunities as the market shows downward momentum.
- Gray Columns: Refrain from trading as the market lacks clear direction.
4. Monitor Alerts: Use the alert feature to get notified when the market status changes, allowing you to make timely decisions.
Conclusion
Incorporating the "No Trade Zone Indicator " into your trading toolkit can enhance your decision-making process by clearly indicating when the market may not be conducive to trading. By focusing on periods with favorable conditions and avoiding low-volatility times, you can improve your trading performance and achieve better results over the long term.
*Trade wisely, and remember—the best trade can sometimes be no trade at all.*
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
best regards
Chervolino
Dynamic Trading Strategy with Key Levels, Entry/Exit Managementjust a strategy tester i dont have any copy right of this indicator
ViganThe Vigan is a range bound momentum oscillator. The Vigan indicator is designed to display the location of the close compared to the high/low range over a user defined number of periods. This indicator is used for three things; Identifying overbought and oversold levels, spotting divergences and also identifying bull and bear set ups or signals.
Fractals CheckerBasically, this indicator helps to identify upper and lower fractals (red/green) of three candles.
This fractal checker marks all candles with a triangle below/above the candle that fall into this category and draws a line until the fractal is closed.
Wesley Snipes Bullish Setup Indicator -
a buy signal is generated when the 9-period ema crosses above the 20 period ema indicating short term bullish trend
VWAP confirmation
strong RSI
VOLUME SPIKE.
Engulfing BoxThe Engulfing Box indicator is a custom script designed to visually highlight and track bullish and bearish engulfing candlestick patterns on a price chart. These patterns are often used to identify potential reversal points, making them valuable for technical analysis. The script dynamically draws colored boxes around these patterns, helping users easily spot them in the price action.
Key Features:
Bullish Engulfing Pattern: When a candlestick fully engulfs the previous bearish candle (i.e., the close of the current candle is higher than the open of the previous candle, and the open is lower than the close of the previous candle), the script draws a green box around the bullish engulfing candle. This box is drawn from the open of the previous candle to the low of the previous candle.
Bearish Engulfing Pattern: When a candlestick fully engulfs the previous bullish candle (i.e., the close of the current candle is lower than the open of the previous candle, and the open is higher than the close of the previous candle), a red box is drawn around the bearish engulfing candle. This box is drawn from the open of the previous candle to the high of the previous candle.
Dynamic Box Management: Once an engulfing pattern is detected, a box is drawn with the following attributes:
Bullish Engulfing Box: Green, with a transparent background.
Bearish Engulfing Box: Red, with a transparent background.
The box will adjust its color to gray if the price moves past certain thresholds, indicating that the engulfing pattern may no longer be as relevant.
Max Pattern Tracking: The script limits the number of engulfing boxes tracked on the chart to prevent clutter. The maximum number of bullish and bearish engulfing patterns shown is customizable (set to 500 by default), and once this limit is exceeded, older boxes are deleted to maintain a clean chart.
Pattern Expiry: Boxes are deleted if price action moves beyond the pattern’s range, ensuring that outdated signals are removed. If the low price falls below the bottom of the bullish engulfing box, or the high price rises above the top of the bearish engulfing box, the respective box is removed. Additionally, if the low price moves below the top of the bullish box or the high price exceeds the bottom of the bearish box, the box's color is changed to a more neutral tone.
How it Works:
Pattern Detection: The script compares the current price data with the previous candlestick to detect the bullish or bearish engulfing patterns.
Box Creation: If a pattern is detected, a colored box is drawn around the candle to visually highlight the pattern.
Pattern Expiry and Cleanup: The script continuously monitors past boxes. If the price moves too far from the box’s range, the box is either deleted or altered to reflect the reduced significance of the pattern.
B ox Count Limit: To avoid clutter, the script ensures that no more than 500 bullish or bearish engulfing boxes are shown at any time.
Customization:
The number of previous bars to scan for engulfing patterns can be adjusted (maxBarsback).
The maximum number of patterns displayed at any time can be modified.
sangram RSI Candlesticks//@version=5
indicator('Glowing RSI Candlesticks', shorttitle='Glow RSI', overlay=false)
// RSI Settings
rsiPeriod = input.int(40, title='RSI Period', minval=1)
rsiSource = close
rsiValue = ta.rsi(rsiSource, rsiPeriod)
// Toggle Visibility
showRSILine = input(true, title='Make the RSI Glow')
showAllMA = input(true, title="Show ALL Moving Averages")
showMA1 = input(true, title='Show Moving Average 1')
showMA2 = input(true, title='Show Moving Average 2')
showMA3 = input(true, title='Show Moving Average 3')
showMA4 = input(true, title='Show Moving Average 4')
showBars = input(true, title='Show RSI OHLC Bars')
maLength1 = input.int(9, title='MA Length 1')
maLength2 = input.int(15, title='MA Length 2')
maLength3 = input.int(30, title='MA Length 3')
maLength4 = input.int(50, title='MA Length 4')
// Calculate OHLC Values for RSI
rsiOpen = na(rsiValue ) ? rsiValue : rsiValue
rsiHigh = ta.highest(rsiValue, rsiPeriod)
rsiLow = ta.lowest(rsiValue, rsiPeriod)
// Define Colors
barUpColor = color.new(color.green, 0)
barDownColor = color.new(color.red, 0)
barColor = rsiOpen < rsiValue ? barUpColor : barDownColor
// Plot RSI OHLC Bars
plotcandle(showBars ? rsiOpen : na, rsiHigh, rsiLow, rsiValue, title="RSI OHLC", color=barColor, wickcolor=color.new(color.white, 100), bordercolor=barColor)
// Horizontal Lines
hline(70, "Oversold", color.new(color.red, 80), linewidth = 2, linestyle = hline.style_solid)
hline(70, "Oversold", color.new(color.red, 85), linewidth = 12, linestyle = hline.style_solid)
hline(70, "Oversold", color.new(color.red, 90), linewidth = 24, linestyle = hline.style_solid)
hline(70, "Oversold", color.new(color.red, 95), linewidth = 36, linestyle = hline.style_solid)
hline(50, "Mid", color=color.gray)
hline(30, "Oversold", color.new(color.green, 80), linewidth = 2, linestyle = hline.style_solid)
hline(30, "Oversold", color.new(color.green, 85), linewidth = 12, linestyle = hline.style_solid)
hline(30, "Oversold", color.new(color.green, 90), linewidth = 24, linestyle = hline.style_solid)
hline(30, "Oversold", color.new(color.green, 95), linewidth = 36, linestyle = hline.style_solid)
// Plot RSI Line
rsiColor1 = color.new(color.blue, 30)
rsiColor2 = color.new(color.blue, 80)
rsiColor3 = color.new(color.blue, 85)
plot(showRSILine ? rsiValue : na, title='RSI', color=rsiColor1, linewidth=2)
plot(showRSILine ? rsiValue : na, title='RSI', color=rsiColor2, linewidth=10)
plot(showRSILine ? rsiValue : na, title='RSI', color=rsiColor3, linewidth=16)
// Moving Average
maValue1 = ta.sma(rsiValue, maLength1)
maValue2 = ta.sma(rsiValue, maLength2)
maValue3 = ta.sma(rsiValue, maLength3)
maValue4 = ta.sma(rsiValue, maLength4)
plot(showAllMA and showMA1 ? maValue1 : na, title='MA 1', color=color.green)
plot(showAllMA and showMA2 ? maValue2 : na, title='MA 2', color=color.fuchsia)
plot(showAllMA and showMA3 ? maValue3 : na, title='MA 3', color=color.red)
plot(showAllMA and showMA4 ? maValue4 : na, title='MA 4', color=color.red)
Enhanced Market Analyzer with Adaptive Cognitive LearningThe "Enhanced Market Analyzer with Advanced Features and Adaptive Cognitive Learning" is an advanced, multi-dimensional trading indicator that leverages sophisticated algorithms to analyze market trends and generate predictive trading signals. This indicator is designed to merge traditional technical analysis with modern machine learning techniques, incorporating features such as adaptive learning, Monte Carlo simulations, and probabilistic modeling. It is ideal for traders who seek deeper market insights, adaptive strategies, and reliable buy/sell signals.
Key Features:
Adaptive Cognitive Learning:
Utilizes Monte Carlo simulations, reinforcement learning, and memory feedback to adapt to changing market conditions.
Adjusts the weighting and learning rate of signals dynamically to optimize predictions based on historical and real-time data.
Hybrid Technical Indicators:
Custom RSI Calculation: An RSI that adapts its length based on recursive learning and error adjustments, making it responsive to varying market conditions.
VIDYA with CMO Smoothing: An advanced moving average that incorporates Chander Momentum Oscillator for adaptive smoothing.
Hamming Windowed VWMA: A volume-weighted moving average that applies a Hamming window for smoother calculations.
FRAMA: A fractal adaptive moving average that responds dynamically to price movements.
Advanced Statistical Analysis:
Skewness and Kurtosis: Provides insights into the distribution and potential risk of market trends.
Z-Score Calculations: Identifies extreme market conditions and adjusts trading thresholds dynamically.
Probabilistic Monte Carlo Simulation:
Runs thousands of simulations to assess potential price movements based on momentum, volatility, and volume factors.
Integrates the results into a probabilistic signal that informs trading decisions.
Feature Extraction:
Calculates a variety of market metrics, including price change, momentum, volatility, volume change, and ATR.
Normalizes and adapts these features for use in machine learning algorithms, enhancing signal accuracy.
Ensemble Learning:
Combines signals from different technical indicators, such as RSI, MACD, Bollinger Bands, Stochastic Oscillator, and statistical features.
Weights each signal based on cumulative performance and learning feedback to create a robust ensemble signal.
Recursive Memory and Feedback:
Stores and averages past RSI calculations in a memory array to provide historical context and improve future predictions.
Adaptive memory factor adjusts the influence of past data based on current market conditions.
Multi-Factor Dynamic Length Calculation:
Determines the length of moving averages based on volume, volatility, momentum, and rate of change (ROC).
Adapts to various market conditions, ensuring that the indicator is responsive to both high and low volatility environments.
Adaptive Learning Rate:
The learning rate can be adjusted based on market volatility, allowing the system to adapt its speed of learning and sensitivity to changes.
Enhances the system's ability to react to different market regimes.
Monte Carlo Simulation Engine:
Simulates thousands of random outcomes to model potential future price movements.
Weights and aggregates these simulations to produce a final probabilistic signal, providing a comprehensive risk assessment.
RSI with Dynamic Adjustments:
The initial RSI length is adjusted recursively based on calculated errors between true RSI and predicted RSI.
The adaptive RSI calculation ensures that the indicator remains effective across various market phases.
Hybrid Moving Averages:
Short-Term and Long-Term Averages: Combines FRAMA, VIDYA, and Hamming VWMA with specific weights for a unique hybrid moving average.
Weighted Gradient: Applies a color gradient to indicate trend strength and direction, improving visual clarity.
Signal Generation:
Generates buy and sell signals based on the ensemble model and multi-factor analysis.
Uses percentile-based thresholds to determine overbought and oversold conditions, factoring in historical data for context.
Optional settings to enable adaptation to volume and volatility, ensuring the indicator remains effective under different market conditions.
Monte Carlo and Learning Parameters:
Users can customize the number of Monte Carlo simulations, learning rate, memory factor, and reward decay for tailored performance.
Applications:
Scalping and Day Trading:
The fast response of the adaptive RSI and ensemble learning model makes this indicator suitable for short-term trading strategies.
Swing Trading:
The combination of long-term moving averages and probabilistic models provides reliable signals for medium-term trends.
Volatility Analysis:
The ATR, Bollinger Bands, and adaptive moving averages offer insights into market volatility, helping traders adjust their strategies accordingly.
Prame Weekly RSI and EMA Strategy Prame Weekly RSI and EMA Strategy
weekly RSI 14 is above 55
EMA 9 weeks of weekly RSI 14 is more than EMA 21 weeks of weekly RSI 14
price EMA 9 weeks is more than price EMA 21 weeks
Jurik / HMA with Ribbon
**Jurik / HMA with Ribbon**
This script combines the Jurik Moving Average (JMA), Exponential Moving Average (EMA), and Hull Moving Average (HMA) to provide a comprehensive trend-following tool with a visual ribbon background. Each of these moving averages is tuned for a unique view of market trends, and the script highlights potential momentum changes based on the alignment of these averages.
### Key Components:
1. **Jurik Moving Average (JMA)**:
- JMA is a smooth, adaptive moving average that filters out noise while remaining responsive to price changes.
- The script allows customization of JMA's `length`, `phase`, and `power` parameters to suit different trading styles.
- When the JMA turns from red to green (or vice versa), it indicates a potential momentum shift based on the current price action relative to the previous bar.
2. **Exponential Moving Average (EMA)** and **Hull Moving Average (HMA)**:
- Both EMA and HMA are popular moving averages in technical analysis.
- EMA responds more quickly to recent price changes, while HMA is known for smoothing out price data while reducing lag.
- The `length` for both EMA and HMA can be customized, with a default value of 15.
3. **Ribbon Background**:
- This script creates a "ribbon" effect in the background, highlighting when the JMA is above or below both the EMA and HMA:
- **Green Ribbon**: Indicates a potential bullish trend when JMA is above both EMA and HMA.
- **Red Ribbon**: Indicates a potential bearish trend when JMA is below both EMA and HMA.
- The ribbon provides a clear visual cue, making it easy to identify trend changes at a glance.
### Inputs:
- **JMA Length, Phase, and Power**: Parameters to fine-tune the behavior of the Jurik Moving Average.
- **EMA/HMA Length**: Shared length parameter for both the EMA and HMA, with a default of 15.
- **Highlight Movements**: Option to enable/disable color changes for the JMA based on movement direction.
### Plotting:
- The script plots the JMA, EMA, and HMA lines on the chart, color-coded for easy identification.
- The JMA line changes color based on movement direction, with green for upward movements and red for downward.
- EMA and HMA lines are shown in blue and purple, respectively, for added clarity.
### How to Use:
This indicator can be useful for identifying trend direction and strength:
- When all three moving averages (JMA, EMA, and HMA) align with the same direction and the ribbon color matches, it signals a strong trend.
- This script is ideal for trend-following strategies, as well as for identifying potential reversals when the JMA crosses below or above the EMA/HMA.
### Note:
As always, this indicator should be used alongside other tools or analysis techniques to confirm signals and manage risk effectively.
---
This description should help users understand the functionality and purpose of the script when they see it on TradingView. Let me know if you'd like any further customization!
10 DMA and 20 DMA Crossover with Candle Confirmation10 DMA and 20 DMA Crossover with Candle Confirmation
ViganThe Vigan is a range bound momentum oscillator. This is designed to display the advance location of the close compared to the high/low range over a user defined number of periods. Typically, this is used for three things; Identifying overbought and oversold levels, spotting divergences and also identifying bull and bear set ups or signals.
Body-to-Wick Ratio Candle Highlighter with Tolerance
Indicator which can help identify candles with body to wick ratio.
Highighting candles with specific measurements
Volatility Screenercomaparing volatility of last 5 days with respect to last 20 days just to indeintyf
PRADEEP Scalping Buy/Sell TIME FRAME : 5MIN ONLY
BUY : Only above EMA 50 ( Higher Probabilities above VWAP and EMA 50)
SELl : Only below EMA 50 ( Higher Probabilities below VWAP and EMA 50)
yeni nesilbu indikatör borsa gakgom (murat aslanmirza )tarafından düzenlenmiş olup özel ayarlar içermektedir kullanım için uygun sonuçlar vermeyebilir
Stan Weinstein's Relative StrengthThis script is an implementation of Stan Weinstein's relative strength as defined in his book, Secrets for Profiting in Bull and Bear Markets. Relative strength compares the performance of a stock against a market index.
The formula for relative strength is the price of a stock divided by the price of a market average. I have added an option for smoothing the relative strength, but I do not use it.
I recommend plotting relative strength on a log axis.
Stan Weinstein's relative strength is NOT to be confused with the Relative Strength Index (RSI).
sangram RSI Candlesticks//@version=5
indicator('sangram RSI Candlesticks', shorttitle='sangram RSI', overlay=false)
// RSI Settings
rsiPeriod = input.int(40, title='RSI Period', minval=1)
rsiSource = close
rsiValue = ta.rsi(rsiSource, rsiPeriod)
// Toggle Visibility
showRSILine = input(true, title='Make the RSI Glow')
showAllMA = input(true, title="Show ALL Moving Averages")
showMA1 = input(true, title='Show Moving Average 1')
showMA2 = input(true, title='Show Moving Average 2')
showMA3 = input(true, title='Show Moving Average 3')
showMA4 = input(true, title='Show Moving Average 4')
showBars = input(true, title='Show RSI OHLC Bars')
maLength1 = input.int(9, title='MA Length 1')
maLength2 = input.int(15, title='MA Length 2')
maLength3 = input.int(30, title='MA Length 3')
maLength4 = input.int(50, title='MA Length 4')
// Calculate OHLC Values for RSI
rsiOpen = na(rsiValue ) ? rsiValue : rsiValue
rsiHigh = ta.highest(rsiValue, rsiPeriod)
rsiLow = ta.lowest(rsiValue, rsiPeriod)
// Define Colors
barUpColor = color.new(color.green, 0)
barDownColor = color.new(color.red, 0)
barColor = rsiOpen < rsiValue ? barUpColor : barDownColor
// Plot RSI OHLC Bars
plotcandle(showBars ? rsiOpen : na, rsiHigh, rsiLow, rsiValue, title="RSI OHLC", color=barColor, wickcolor=color.new(color.white, 100), bordercolor=barColor)
// Horizontal Lines
hline(70, "Oversold", color.new(color.red, 80), linewidth = 2, linestyle = hline.style_solid)
hline(70, "Oversold", color.new(color.red, 85), linewidth = 12, linestyle = hline.style_solid)
hline(70, "Oversold", color.new(color.red, 90), linewidth = 24, linestyle = hline.style_solid)
hline(70, "Oversold", color.new(color.red, 95), linewidth = 36, linestyle = hline.style_solid)
hline(50, "Mid", color=color.gray)
hline(30, "Oversold", color.new(color.green, 80), linewidth = 2, linestyle = hline.style_solid)
hline(30, "Oversold", color.new(color.green, 85), linewidth = 12, linestyle = hline.style_solid)
hline(30, "Oversold", color.new(color.green, 90), linewidth = 24, linestyle = hline.style_solid)
hline(30, "Oversold", color.new(color.green, 95), linewidth = 36, linestyle = hline.style_solid)
// Plot RSI Line
rsiColor1 = color.new(color.blue, 30)
rsiColor2 = color.new(color.blue, 80)
rsiColor3 = color.new(color.blue, 85)
plot(showRSILine ? rsiValue : na, title='RSI', color=rsiColor1, linewidth=2)
plot(showRSILine ? rsiValue : na, title='RSI', color=rsiColor2, linewidth=10)
plot(showRSILine ? rsiValue : na, title='RSI', color=rsiColor3, linewidth=16)
// Moving Average
maValue1 = ta.sma(rsiValue, maLength1)
maValue2 = ta.sma(rsiValue, maLength2)
maValue3 = ta.sma(rsiValue, maLength3)
maValue4 = ta.sma(rsiValue, maLength4)
plot(showAllMA and showMA1 ? maValue1 : na, title='MA 1', color=color.green)
plot(showAllMA and showMA2 ? maValue2 : na, title='MA 2', color=color.fuchsia)
plot(showAllMA and showMA3 ? maValue3 : na, title='MA 3', color=color.red)
plot(showAllMA and showMA4 ? maValue4 : na, title='MA 4', color=color.red)