Red Pill VWAP/RSI DivergenceI created this indicator to identify moments in time VWAP and RSI are diverging.
Ideally useful in strong trend, bullish or bearish, as a potential entry point on a pull back for continuation. Not to be used as a stand alone signal, but rather in conjunction with any possible trend/momentum strategy.
VWAP is identified as the blue line. Green label(blue pill) is your potential entry on a pull back when price is above, stacked EMAS & VWAP for a long position. Red label(red pill) is your potential entry on a pull back when price is below inversely stacked EMAS & VWAP for a short position. These are the 2 ideal scenarios I have found. Please back test for yourself
I have had great results but must emphasis this is not a stand alone buy/sell. I use it in confluence to add conviction to my current A+ setups.
***Pivot ribbon in chart created by Saty Mahajan set to 3/10 time warp works ideal in conjunction.
***please note false positive and false negative signals can occur, particularly in chop
I hope you find this helpful . TRADE SAFE!
Índice de Força Relativa (RSI)
Fibonacci Retracement Dynamic with RSI TickerCe script de retracement de Fibonacci dynamique trace les niveaux de Fibonacci en temps réel sur le graphique, en se basant sur les derniers hauts et bas du marché. Il met à jour ces niveaux au fur et à mesure de l'évolution des prix. Les niveaux de Fibonacci calculés incluent : 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, et 100%, chacun étant configurable avec des couleurs personnalisées.
Le script permet également de suivre la valeur du RSI en temps réel. Le label RSI est affiché en haut à droite du graphique, mettant à jour la valeur du RSI à chaque barre.
Caractéristiques principales :
Calcul des niveaux de Fibonacci sur les derniers hauts et bas détectés.
Affichage dynamique des niveaux de Fibonacci en temps réel, avec des couleurs personnalisables.
Mise à jour du RSI à chaque barre avec un label RSI positionné à droite du graphique.
Ce script est idéal pour les traders qui utilisent les retracements de Fibonacci pour repérer les zones de support et de résistance clés, tout en surveillant en temps réel la force du marché via le RSI.
This dynamic Fibonacci retracement script plots Fibonacci levels in real-time on the chart, based on the latest market highs and lows. It updates these levels as the price evolves. The calculated Fibonacci levels include: 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, and 100%, each configurable with custom colors.
The script also allows you to track the real-time RSI value. The RSI label is displayed at the top right of the chart, updating the RSI value at each bar.
Key Features:
Fibonacci levels calculated based on the latest detected highs and lows.
Dynamic display of Fibonacci levels in real-time with customizable colors.
RSI updated at each bar with an RSI label positioned at the right side of the chart.
This script is ideal for traders using Fibonacci retracements to identify key support and resistance areas while simultaneously monitoring market strength in real-time with the RSI.
RSI Overbought and Oversold Levels - Mikel VaqueroThis Pine Script strategy is designed to trade using RSI (Relative Strength Index) overbought and oversold levels. Below is an overview of its functionality:
1. RSI Configuration
RSI Length: Calculates RSI with a customizable length (default is 14).
Key Levels: Includes overbought (70), oversold (30), and an optional middle level (50).
RSI Source: Uses the closing price by default, but it's adjustable.
2. Risk and Reward Parameters
Defines Stop Loss, Take Profit, and Partial Profit levels in pips, converted to the chart's price scale.
3. Trading Window
Operates only within a specific time window in GMT+2 (default: 8:00 to 11:00).
4. RSI Calculation and Conditions
Computes RSI based on price changes.
Detects two conditions:
Overbought: RSI crosses above level 70.
Oversold: RSI crosses below level 30.
5. Visual Representation
Plots RSI and key levels on the chart.
Displays labels when RSI reaches overbought ("B") or oversold ("S") conditions.
6. Alerts
Triggers automatic alerts when RSI crosses overbought or oversold levels.
7. Entry and Exit Management
Entry Conditions:
Long: When RSI is oversold.
Short: When RSI is overbought.
Exit Conditions:
Partial Take Profit: Closes 50% of the position at a predefined price level.
Full Take Profit: Closes the entire position upon reaching the full profit target.
Stop Loss: Closes the position if the price reverses by a defined amount.
Dynamic Breakeven: Moves the Stop Loss to the entry price after reaching the partial profit level.
8. State Management
Prevents duplicate entries in the same direction during an open position.
Strategy Summary
This strategy is ideal for trading within a specific time range using RSI signals. It dynamically manages positions with partial profits and breakeven adjustments, balancing simplicity and customization.
Feel free to adjust parameters such as RSI length, time windows, and pip values to suit your trading style.
!!! - Advanced Multi MA`s (v.1) [PowerEn]1) 6 EMA + 6 SMA + 6 WMA (same length) or 2 + 2 + 2 (various length, option "One to 1")
2) Labels for all MA's
3) Different settings (on/off, source, color, width)
4) Three color/width presets
5) Standart Bollindger Bands (SMA, x2, with length #1)
6) RSI panel (with current value)
7) Crosses MA's
To quickly change the MA's lengths, you can use presets in the code:
ma1 = 20, ma2 = 50, ma3 = 100, ma4 = 200, ma5 = 300, ma6 = 500
//--presets MA`s
// ma1 = 10, ma2 = 20, ma3 = 30, ma4 = 40, ma5 = 50, ma6 = 60
// ma1 = 100, ma2 = 200, ma3 = 300, ma4 = 400, ma5 = 500, ma6 = 600
// ma1 = 200, ma2 = 500, ma3 = 1000, ma4 = 1500, ma5 = 2000, ma6 = 3000
The second version of this indicator will be released soon with a modified Inputs window and Multi Timeframe. Follow the news)
AK Stochastic-RSI+RSI+CHOP Here I have added Stochastic- RSI + RSI + Choppiness Index all together. You can turn on/ off as per your choice. all these are popular and useful indicators. Hope this will add some value.
RSI en 1min y 5min con EMA45 y MA200Este script está diseñado para monitorear el comportamiento del precio en múltiples marcos de tiempo (1 min y 5 min) y para resaltar condiciones clave como sobrecompra o sobreventa, mientras también muestra las medias móviles como posibles señales de tendencia.
Es útil para traders que desean analizar el comportamiento del mercado en diferentes intervalos de tiempo y observar cómo los indicadores clave como el RSI y las medias móviles pueden ayudar a identificar posibles puntos de entrada o salida en una operación
Xmaster Formula Indicator [TradingFinder] No Repaint Strategies🔵 Introduction
The Xmaster Formula Indicator is a powerful tool for forex trading, combining multiple technical indicators to provide insights into market trends, support and resistance levels, and price reversals. Developed in the early 2010s, it is widely valued for generating reliable buy and sell signals.
Key components include Exponential Moving Averages (EMA) for identifying trends and price momentum, and MACD (Moving Average Convergence Divergence) for analyzing trend strength and direction.
The Stochastic Oscillator and RSI (Relative Strength Index) enhance accuracy by signaling potential price reversals. Additionally, the Parabolic SAR assists in identifying trend reversals and managing risk.
By integrating these tools, the Xmaster Formula Indicator provides a comprehensive view of market conditions, empowering traders to make informed decisions.
🔵 How to Use
The Xmaster Formula Indicator offers two distinct methods for generating signals: Standard Mode and Advance Mode. Each method caters to different trading styles and strategies.
Standard Mode :
In Standard Mode, the indicator uses normalized moving average data to generate buy and sell signals. The difference between the short-term (10-period) and long-term (38-period) EMAs is calculated and normalized to a 0-100 scale.
Buy Signal : When the normalized value crosses above 55, accompanied by the trend line turning green, a buy signal is generated.
Sell Signal : When the normalized value crosses below 45, and the trend line turns red, a sell signal is issued.
This mode is simple, making it ideal for traders looking for straightforward signals without the need for additional confirmations.
Advance Mode :
Advance Mode combines multiple technical indicators to provide more detailed and robust signals.
This method analyzes trends by incorporating :
🟣 MACD
Buy Signal : When the MACD histogram bars are positive.
Sell Signal : When the MACD histogram bars are negative.
🟣 RSI
Buy Signal : When RSI is below 30, indicating oversold conditions.
Sell Signal : When RSI is above 70, suggesting overbought conditions.
🟣 Stochastic Oscillator
Buy Signal : When Stochastic is below 20.
Sell Signal : When Stochastic is above 80.
🟣 Parabolic SAR
Buy Signal : When SAR is below the price.
Sell Signal : When SAR is above the price.
A signal is generated in Advance Mode only when all these indicators align :
Buy Signal : All conditions point to a bullish trend.
Sell Signal : All conditions indicate a bearish trend.
This mode is more comprehensive and suitable for traders who prefer deeper analysis and stronger confirmations before executing trades.
🔵 Settings
Method :
Choose between "Standard" and "Advance" modes to determine how signals are generated. In Standard Mode, signals are based on normalized moving average data, while in Advance Mode, signals rely on the combination of MACD, RSI, Stochastic Oscillator, and Parabolic SAR.
Moving Average Settings :
Short Length : The period for the short-term EMA (default is 10).
Mid Length : The period for the medium-term EMA (default is 20).
Long Length : The period for the long-term EMA (default is 38).
MACD Settings :
Fast Length : The period for the fast EMA in the MACD calculation (default is 12).
Slow Length : The period for the slow EMA in the MACD calculation (default is 26).
Signal Line : The signal line period for MACD (default is 9).
Stochastic Settings :
Length : The period for the Stochastic Oscillator (default is 14).
RSI Settings :
Length : The period for the Relative Strength Index (default is 14).
🔵 Conclusion
The Xmaster Formula Indicator is a versatile and reliable tool for forex traders, offering both simplicity and advanced analysis through its Standard and Advance modes. In Standard Mode, traders benefit from straightforward signals based on normalized moving average data, making it ideal for quick decision-making.
Advance Mode, on the other hand, provides a more detailed analysis by combining multiple indicators like MACD, RSI, Stochastic Oscillator, and Parabolic SAR, delivering stronger confirmations for critical market decisions.
While the Xmaster Formula Indicator offers valuable insights and reliable signals, it is important to use it alongside proper risk management and other analytical methods. By leveraging its capabilities effectively, traders can enhance their trading strategies and achieve better outcomes in the dynamic forex market.
EMA + RSI Strategy with Labels for SL and TPThis strategy combines Exponential Moving Averages (EMAs), Relative Strength Index (RSI), and Average True Range (ATR) to create an efficient trading system designed for the 1-hour timeframe. It includes dynamic stop-loss and optional take-profit levels for risk management.
Key Components
1. Indicators Used
Exponential Moving Averages (EMAs):
Short EMA (default 9-period): Tracks recent price trends.
Long EMA (default 21-period): Tracks longer-term trends.
Condition: A bullish trend is identified when the Short EMA is above the Long EMA, and a bearish trend is identified when the Short EMA is below the Long EMA.
Relative Strength Index (RSI):
Measures momentum and identifies overbought/oversold conditions.
Default Settings:
Overbought Level: 70
Oversold Level: 30
Condition:
Long trades are triggered when the RSI crosses above the oversold level (30).
Short trades are triggered when the RSI crosses below the overbought level (70).
Average True Range (ATR):
Measures market volatility.
Used to dynamically calculate stop-loss and take-profit levels.
Entry Rules
Long Entry:
RSI crosses above the oversold level (30).
Short EMA is above the Long EMA (bullish trend).
A buy signal is plotted on the chart.
Short Entry:
RSI crosses below the overbought level (70).
Short EMA is below the Long EMA (bearish trend).
A sell signal is plotted on the chart.
Exit Rules
Dynamic Stop Loss:
Calculated as 1.5x ATR from the entry price.
Adjusts based on market volatility to prevent premature exits.
Optional Take Profit:
Calculated as 2x ATR from the entry price (configurable).
Can be enabled or disabled in the settings.
Automatic Exit:
If the price hits the stop-loss or take-profit levels, the position is exited.
Features
Dynamic Risk Management:
ATR-based stop-loss ensures that risk adapts to market volatility.
Reduces losses during highly volatile periods.
Take-Profit Flexibility:
Take profit can be toggled on or off.
The default multiplier is 2x ATR, which provides a balance between risk and reward.
Signal Visualizations:
Clear buy/sell signals are plotted on the chart using labels.
Stop-loss and take-profit levels are displayed as dynamic lines.
Labels for SL (Stop Loss) and TP (Take Profit) appear at entry to provide quick reference points.
Trend and Momentum Filtering:
EMAs ensure trades align with the prevailing trend.
RSI ensures entries occur during momentum shifts.
Strengths of This Strategy
Trend-Following: Ensures trades are made in the direction of the prevailing market trend.
Momentum-Based Entries: RSI adds precision to the entry points, capturing reversals in momentum.
Volatility Protection: ATR-based stop-loss prevents exiting trades too early during volatile market conditions.
Scalability: Works effectively on the 1-hour timeframe but can be tested on other timeframes with appropriate adjustments.
Best Use Cases
Intraday Trading: Ideal for 1-hour timeframe trading with minimal monitoring.
Volatile Markets: Adapts well to markets with varying volatility, thanks to ATR-based calculations.
Forex, Stocks, or Cryptos: Versatile strategy that can be applied across different asset classes.
Customization Options
Adjust EMA lengths for faster or slower trend detection.
Change RSI levels to suit different asset classes or trading styles.
Fine-tune ATR multipliers to balance stop-loss and take-profit distances.
SJ Candle with Conditions and RSI below 20- Daily ChartEnter on breakout candle. met condition candle is where we enter
Purpose:
The script highlights candles on a daily chart that meet specific price and RSI-based conditions.
Conditions Checked:
2 days ago, the close was less than the open.
1 day ago, the close was greater than the open.
The daily close is greater than the high from 2 days ago.
The daily close is greater than the high from 1 day ago.
The daily close is greater than the daily open.
RSI Filters:
Any of the following RSI conditions must also be met:
RSI 2 days ago is less than 20.
RSI 1 day ago is less than 20.
RSI today is less than 20.
Result:
When all 5 price conditions and any of the RSI filters are met, the script:
Plots a green upward arrow below the candle.
Draws a green vertical line at the candle.
Optionally, plot a green downward triangle below the candle.
This helps visually identify key trading signals based on a daily chart's price movement and RSI llevels
Bottom Detection MonitorBottom Detection Monitor
抄底监测器
利用了RSI值低于30的时候,跟30的差值,进行累积和计算,期间如果有RSI值超过了30,则自动累计和值清零,重新计算。一直到达设置的阈值标准,则会清零重置。
阈值的默认设置标准为100。
这个最早是从一分钟交易里总结出来的,小级别周期特别适合。
因为如果是连续的一段强势下跌过程,如果是大时间周期级别,这个阈值可能需要设置很高,就会有一个问题,指标的图表部分就有可能失真过大。而每个产品的波动特点和幅度可能会有差异,所以我把这个阈值留给了用户自己设置。
同样的原理,我也还制作了一个CCI的类似原理检测。
平时,这条曲线会成一条水平贴近零轴的直线,直到下跌波动跌破RSI30开始,当突然增加的曲线从波峰跌回零轴,就是抄底的时机。当然由于阈值的问题,可能会连续出现多个波峰,这个在使用中需要注意,可以通过增大阈值来改变这种现象。
我是我开源的开始。
我尊重有趣的想法,和重新定义的表达。
感谢Tradingview社区,给了我这个机会。
Big Candle Identifier with RSI Divergence and Advanced Stops1. Strategy Objective
The main goal of this strategy is to:
Identify significant price momentum (big candles).
Enter trades at opportune moments based on market signals (candlestick patterns and RSI divergence).
Limit initial risk through a fixed stop loss.
Maximize profits by using a trailing stop that activates only after the trade moves a specified distance in the profitable direction.
2. Components of the Strategy
A. Big Candle Identification
The strategy identifies big candles as indicators of strong momentum.
A big candle is defined as:
The body (absolute difference between close and open) of the current candle (body0) is larger than the bodies of the last five candles.
The candle is:
Bullish Big Candle: If close > open.
Bearish Big Candle: If open > close.
Purpose: Big candles signal potential continuation or reversal of trends, serving as the primary entry trigger.
B. RSI Divergence
Relative Strength Index (RSI): A momentum oscillator used to detect overbought/oversold conditions and divergence.
Fast RSI: A 5-period RSI, which is more sensitive to short-term price movements.
Slow RSI: A 14-period RSI, which smoothens fluctuations over a longer timeframe.
Divergence: The difference between the fast and slow RSIs.
Positive divergence (divergence > 0): Bullish momentum.
Negative divergence (divergence < 0): Bearish momentum.
Visualization: The divergence is plotted on the chart, helping traders confirm momentum shifts.
C. Stop Loss
Initial Stop Loss:
When entering a trade, an immediate stop loss of 200 points is applied.
This stop loss ensures the maximum risk is capped at a predefined level.
Implementation:
Long Trades: Stop loss is set below the entry price at low - 200 points.
Short Trades: Stop loss is set above the entry price at high + 200 points.
Purpose:
Prevents significant losses if the price moves against the trade immediately after entry.
D. Trailing Stop
The trailing stop is a dynamic risk management tool that adjusts with price movements to lock in profits. Here’s how it works:
Activation Condition:
The trailing stop only starts trailing when the trade moves 200 ticks (profit) in the right direction:
Long Position: close - entry_price >= 200 ticks.
Short Position: entry_price - close >= 200 ticks.
Trailing Logic:
Once activated, the trailing stop:
For Long Positions: Trails behind the price by 150 ticks (trail_stop = close - 150 ticks).
For Short Positions: Trails above the price by 150 ticks (trail_stop = close + 150 ticks).
Exit Condition:
The trade exits automatically if the price touches the trailing stop level.
Purpose:
Ensures profits are locked in as the trade progresses while still allowing room for price fluctuations.
E. Trade Entry Logic
Long Entry:
Triggered when a bullish big candle is identified.
Stop loss is set at low - 200 points.
Short Entry:
Triggered when a bearish big candle is identified.
Stop loss is set at high + 200 points.
F. Trade Exit Logic
Trailing Stop: Automatically exits the trade if the price touches the trailing stop level.
Fixed Stop Loss: Exits the trade if the price hits the predefined stop loss level.
G. 21 EMA
The strategy includes a 21-period Exponential Moving Average (EMA), which acts as a trend filter.
EMA helps visualize the overall market direction:
Price above EMA: Indicates an uptrend.
Price below EMA: Indicates a downtrend.
H. Visualization
Big Candle Identification:
The open and close prices of big candles are plotted for easy reference.
Trailing Stop:
Plotted on the chart to visualize its progression during the trade.
Green Line: Indicates the trailing stop for long positions.
Red Line: Indicates the trailing stop for short positions.
RSI Divergence:
Positive divergence is shown in green.
Negative divergence is shown in red.
3. Key Parameters
trail_start_ticks: The number of ticks required before the trailing stop activates (default: 200 ticks).
trail_distance_ticks: The distance between the trailing stop and price once the trailing stop starts (default: 150 ticks).
initial_stop_loss_points: The fixed stop loss in points applied at entry (default: 200 points).
tick_size: Automatically calculates the minimum tick size for the trading instrument.
4. Workflow of the Strategy
Step 1: Entry Signal
The strategy identifies a big candle (bullish or bearish).
If conditions are met, a trade is entered with a fixed stop loss.
Step 2: Initial Risk Management
The trade starts with an initial stop loss of 200 points.
Step 3: Trailing Stop Activation
If the trade moves 200 ticks in the profitable direction:
The trailing stop is activated and follows the price at a distance of 150 ticks.
Step 4: Exit the Trade
The trade is exited if:
The price hits the trailing stop.
The price hits the initial stop loss.
5. Advantages of the Strategy
Risk Management:
The fixed stop loss ensures that losses are capped.
The trailing stop locks in profits after the trade becomes profitable.
Momentum-Based Entries:
The strategy uses big candles as entry triggers, which often indicate strong price momentum.
Divergence Confirmation:
RSI divergence helps validate momentum and avoid false signals.
Dynamic Profit Protection:
The trailing stop adjusts dynamically, allowing the trade to capture larger moves while protecting gains.
6. Ideal Market Conditions
This strategy performs best in:
Trending Markets:
Big candles and momentum signals are more effective in capturing directional moves.
High Volatility:
Larger price swings improve the probability of reaching the trailing stop activation level (200 ticks).
[MAD] Self-Optimizing RSIOverview
This script evaluates multiple RSI lengths within a specified range, calculates performance metrics for each, and identifies the top 3 configurations based on a custom scoring system. It then plots the three best RSI curves and optionally displays a summary table and label.
How It Works
The script calculates a custom RSI for each length in the range.
It simulates entering a long position when RSI crosses below the Buy Value and exits when RSI crosses above the Sell Value.
Each trade's return is stored in the relevant StatsContainer.
Metrics Computation
After all bars have been processed,
* Net Profit,
* Sharpe Ratio, and
* Win Rate
are computed for each RSI length.
A weighted score is then derived using the input weights.
Top 3 Identification
The script finds the three RSI lengths with the highest scores.
The RSI lines for these top 3 lengths are plotted in different colors.
If enabled, a table listing the top 3 results (Rank, RSI length, Sharpe, NetPnL, Win Rate) is shown.
If enabled, a label with the highest-scoring RSI length and its score is placed on the final bar.
Usage Tips
Adjust Min RSI Length and Max RSI Length to explore a narrower or wider range of periods.
Be aware, to high settings will slow down the calculation.
Experiment with different RSI Buy Value and RSI Sell Value settings if you prefer more or fewer trade signals.
Confirm that Min Trades Required aligns with the desired confidence level for the computed metrics.
Modify Weight: Sharpe, Weight: NetProfit, and Weight: WinRate to reflect which metrics are most important.
Troubleshooting
If metrics remain - or NaN, confirm enough trades (Min Trades Required) have occurred.
If no top 3 lines appear, it could mean no valid trades were taken in the specified range, or the script lacks sufficient bars to calculate RSI for some lengths. In this case set better buyvalue and sellvalues in the inputs
Disclaimer
Past performance is not indicative of future results specialy as this indicator can repaint based on max candles in memory which are limited by your subscription
3_EMA50 with FB M&W by tamer nabilThis indicator combines a 50-period Exponential Moving Average (EMA) with dynamic Fibonacci retracements for both weekly and monthly timeframes. It is designed to provide traders with an insightful visual tool for market analysis. Below is a detailed breakdown of its features:
Key Features:
Dynamic EMA50 with Color Coding:
Plots the 50-period EMA on the chart.
The EMA line changes color based on the price's position relative to it:
Green: Price is above the EMA.
Red: Price is below the EMA.
Blue: Price is equal to the EMA.
Fibonacci Levels:
Calculates and displays Fibonacci retracement levels for both weekly and monthly timeframes.
Levels include 0%, 12.5%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, and 100%.
Custom color-coding highlights critical levels:
50%: Blue.
0%: Red.
100%: Green.
Other levels: Gray.
Timeframe Status Monitoring:
Monitors the EMA50 status across multiple timeframes:
30-minute.
45-minute.
1-hour.
Displays the status as "Above," "Below," or "Cross" relative to the EMA50 for each timeframe.
Labels dynamically adjust based on the last bar.
Customizable Display:
Users can toggle the visibility of weekly and monthly Fibonacci levels.
Fibonacci levels dynamically adjust to historical weekly and monthly high/low values for greater relevance.
Enhanced Visualization:
Labels and lines are plotted with precise positioning for better clarity.
Fibonacci levels are extended across the chart for a comprehensive view of key retracement areas.
Use Cases:
Trend Analysis: Use the color-coded EMA50 to quickly identify market trends and potential reversal points.
Support and Resistance Identification: Leverage the weekly and monthly Fibonacci levels to find significant areas for price reaction.
Multi-Timeframe Confirmation: The indicator’s status labels help traders align their strategy across multiple timeframes.
This indicator provides a comprehensive tool for traders who seek to combine moving averages with Fibonacci retracements for enhanced technical analysis.
ASLANMAX METEASLANMAX METE
📊 OVERVIEW:
This advanced TradingView indicator is a professional trading tool powered by an AI-powered signal generation algorithm.
🔍 KEY FEATURES:
Multi-Indicator Integration
Fisher Transform
Momentum
RSI
CCI
Stochastic Oscillator
Ultimate Oscillator
Dynamic Signal Generation
Risk tolerance adjustable
Volatility-based thresholds
Confidence score calculation
Special Signal Types
Buy/Sell Signals
"Meto" Up Crossing Signal
"Zico" Down Crossing Signal
🧠 AI-LIKE TECHNIQUES:
Integrated signal line
Dynamic threshold mechanism
Multi-indicator correlation
💡 USAGE ADVANTAGES:
Flexible parameter settings
Low and high risk modes
Real-time signal generation
Adaptation to different market conditions
⚙️ ADJUSTABLE PARAMETERS:
Basic Period
EMA Period
Risk Tolerance
Volatility Thresholds
🔔 SIGNAL TYPES:
Buy Signal (Green)
Sell Signal (Red)
Meto Signal (Yellow Triangle Up)
Zico Signal (Purple Triangle Down)
🌈 VISUALIZATION:
Integrated Line (Red)
EMA Line (Blue)
Background Color Changes
Signal Shapes
⚠️ RECOMMENDATIONS:
Be sure to test in your own market
Do not neglect risk management
Use multiple approval mechanisms
🔬 TECHNICAL INFRASTRUCTURE:
Pine Script v6
Advanced mathematical algorithms
Dynamic calculation techniques
🚦 PERFORMANCE TIPS:
Test in different time frames
Find optimal parameters
Apply risk management rules
💼 AREAS OF USE:
Cryptocurrency
Stocks Stock
Forex
Commodities
🌟 SPECIAL RECOMMENDATION:
This indicator is for informational purposes only. Support your investment decisions with professional advisors and your own research.
REVERSÃO POR ZONA DE RSI- INICIA CRYPTO //@version=5
indicator('REVERSÃO POR ZONA DE RSI- INICIA CRYPTO ', overlay=false)
//functions
xrf(values, length) =>
r_val = float(na)
if length >= 1
for i = 0 to length by 1
if na(r_val) or not na(values )
r_val := values
r_val
r_val
xsa(src, len, wei) =>
sumf = 0.0
ma = 0.0
out = 0.0
sumf := nz(sumf ) - nz(src ) + src
ma := na(src ) ? na : sumf / len
out := na(out ) ? ma : (src * wei + out * (len - wei)) / len
out
// inputs
n1 = input.int(30, title='n1', minval=1)
//threshold lines
h1 = hline(50, color=color.red, linestyle=hline.style_dotted)
h2 = hline(50, color=color.green, linestyle=hline.style_dotted)
h3 = hline(10, color=color.lime, linestyle=hline.style_dotted)
h4 = hline(90, color=color.red, linestyle=hline.style_dotted)
fill(h2, h3, color=color.new(color.green, 70))
fill(h1, h4, color=color.new(color.red, 70))
//KDJ indicator
rsv = (close - ta.lowest(low, n1)) / (ta.highest(high, n1) - ta.lowest(low, n1)) * 100
k = xsa(rsv, 3, 1)
d = xsa(k, 3, 1)
crossover_1 = ta.crossover(k, d)
buysig = d < 25 and crossover_1 ? 30 : 0
crossunder_1 = ta.crossunder(d, k)
selsig = d > 75 and crossunder_1 ? 70 : 100
//plot buy and sell signal
ple = plot(buysig, color=color.new(color.green, 0), linewidth=1, style=plot.style_area)
pse = plot(selsig, color=color.new(color.red, 0), linewidth=2, style=plot.style_line)
//plot KD candles
plotcandle(k, d, k, d, color=k >= d ? color.green : na)
plotcandle(k, d, k, d, color=d > k ? color.red : na)
// KDJ leading line
var1 = (close - ta.sma(close, 13)) / ta.sma(close, 13) * 100
var2 = (close - ta.sma(close, 26)) / ta.sma(close, 21) * 100
var3 = (close - ta.sma(close, 90)) / ta.sma(close, 34) * 100
var4 = (var1 + 3 * var2 + 9 * var3) / 13
var5 = 100 - math.abs(var4)
var10 = ta.lowest(low, 10)
var13 = ta.highest(high, 25)
leadingline = ta.ema((close - var10) / (var13 - var10) * 4, 4) * 25
pbias = plot(leadingline, color=k >= d ? color.green : color.red, linewidth=4, style=plot.style_line, transp=10)
Multiframe - EMAs + RSI LevelsThis indicator was created to make life easier for all traders, including the main market indicators, such as EMAs 12, 26 and 200 + respective EMAs in higher time frames, and complemented with RSI Levels that vary from overbought 70 - 90 and oversold 30 - 10.
The Indicator can be configured to make the chart cleaner according to your wishes.
9-Period RSI with 3 EMAs, 21 WMA, and 50 DEMA //@version=5
indicator("9-Period RSI with 3 EMAs, 21 WMA, and 50 DEMA", overlay=false)
// Input for RSI length
rsiLength = input.int(9, title="RSI Length", minval=1)
// Input for EMA lengths
emaLength1 = input.int(5, title="EMA Length 1", minval=1)
emaLength2 = input.int(10, title="EMA Length 2", minval=1)
emaLength3 = input.int(20, title="EMA Length 3", minval=1)
// Input for WMA length
wmaLength = input.int(21, title="WMA Length", minval=1)
// Input for DEMA length
demaLength = input.int(50, title="DEMA Length", minval=1)
// Calculate RSI
rsiValue = ta.rsi(close, rsiLength)
// Calculate EMAs based on RSI
ema1 = ta.ema(rsiValue, emaLength1)
ema2 = ta.ema(rsiValue, emaLength2)
ema3 = ta.ema(rsiValue, emaLength3)
// Calculate WMA based on RSI
wma = ta.wma(rsiValue, wmaLength)
// Calculate DEMA based on RSI
ema_single = ta.ema(rsiValue, demaLength)
ema_double = ta.ema(ema_single, demaLength)
dema = 2 * ema_single - ema_double
// Plot RSI
plot(rsiValue, color=color.blue, title="RSI")
// Plot EMAs
plot(ema1, color=color.orange, title="EMA 1 (5)")
plot(ema2, color=color.purple, title="EMA 2 (10)")
plot(ema3, color=color.teal, title="EMA 3 (20)")
// Plot WMA
plot(wma, color=color.yellow, title="WMA (21)", linewidth=2)
// Plot DEMA
plot(dema, color=color.red, title="DEMA (50)", linewidth=2)
// Add horizontal lines for reference
hline(70, "Overbought", color=color.red, linestyle=hline.style_dotted)
hline(30, "Oversold", color=color.green, linestyle=hline.style_dotted)
hline(50, "Midline", color=color.gray, linestyle=hline.style_dotted)
Crosses MAs (+ BB, RSI)This indicator displays the crosses of MA's with different length, the Bollinger bands and the current value of the RSI in table. Almost all of this can be customized.
Target RSI Projectionrsi calculator with level of sweep, the system recognize the level where the rsi is full comsumed
RSI by MoshiPine Script v6 Updates for fill and Transparency
In Pine Script v4 and earlier versions, you could directly specify transparency using the transp parameter in functions like fill. However, with the release of Pine Script v6, this functionality has been updated. The transp parameter no longer works in the fill function. Instead, Pine Script v6 introduces the use of color.new() to handle both color and transparency.