DEV many TimeFrame💡 DEV many TimeFrame – Multi-Timeframe Momentum Pattern Classification Using RSI
DEV many TimeFrame is a powerful technical indicator designed for TradingView. It combines RSI (Relative Strength Index) with smoothed moving averages (EMA and WMA) to detect and classify different market phases such as accumulation, breakout, and exhaustion. Its core strength lies in automatically identifying momentum models and classifying trend strength across time.
🔧 Key Components and Logic
1. RSI & Moving Average Calculation
RSI: Calculated with standard settings (default period = 14).
EMA RSI: Fast exponential moving average of the RSI.
WMA RSI: Slow weighted moving average of the RSI.
DEV: Measures the deviation between EMA RSI and WMA RSI, representing trend expansion strength.
2. Expansion Detection
A trend is considered "expanding" when the DEV exceeds a threshold (Consider_length, default = 7).
The indicator tracks each RSI movement model (defined between EMA/WMA crossovers) and evaluates its behavior—whether it's strengthening, weakening, or consolidating.
3. Momentum Model Classification
Based on:
Current bar count of the active model (Sonenhientai)
Whether there is momentum or not
Whether RSI is outside the 40–60 zone
Whether it's a strong/weak expansion
Whether the previous model succeeded or failed
➡️ The indicator classifies RSI momentum patterns into 9 main model types:
Strong Momentum
Normal Momentum
Weak Momentum
Fail Momentum
Done Momentum
Strong Accumulation
Normal Accumulation
Weak Accumulation
None (invalid or no clear model)
📊 Current Model – Market Phase
The indicator analyzes the current RSI model to determine whether the market is:
In active momentum
In a fail/reversal phase
Or undergoing accumulation / sideways movement
Recognized patterns include:
Adjust Momentum
Momentum in Fail Momentum
Fail Momentum
Strong Accumulating
Normal Accumulating
Sideway Upp▲ / Dow▼
Strong Model Support
Weak Model Support
⚡ Power – Momentum Strength
Measures the strength of the current momentum using 3 levels:
Very Strong: RSI moves aggressively above both EMA and WMA.
Strong: RSI remains between EMA and WMA, showing continued pressure.
Weak / Very Weak: RSI cuts below the averages, signaling potential weakening.
⚠️ If the model is already expanded but shows signs of exhaustion, it may signal a reversal.
🧯 Fuel – Trend Energy Remaining
Estimates how much "fuel" a trend has left based on how long the model has existed:
Under 10 bars: 100% energy
10–20 bars: 70%
20–30 bars: 50%
30–40 bars: 30%
Over 40 bars: 5% → Trend likely exhausted
✅ Summary Score – Status
The indicator assigns a total status score based on:
Model Support
Power
Fuel
Then classifies the overall trend into one of the following statuses:
Very Strong Bull▲
Strong Bull▲
Normal Bull▲
Sideway
Bear▼ (This category is not yet fully implemented in the code but can be extended similarly.)
🧠 Practical Applications
DEV many TimeFrame is more than a standard RSI—it is a smart behavioral system for RSI analysis that helps traders:
Identify when a trend begins and ends
Distinguish between accumulation, breakout, and fail breakout
Gauge trend strength with high precision
Make informed decisions on entry, hold, or exit
📝 Usage Tips
Combine with higher timeframes for trend confirmation
Use the Power and Fuel states to decide when to hold or exit trades
Avoid entries when in Sideway, Weak Momentum, or Fail Momentum states
Would you like:
A visual user guide with examples and screenshots?
A polished TradingView description for publishing?
A full SEO-optimized English write-up for marketing or social media?
Let me know how you'd like to proceed!
Индикаторы и стратегии
ATR-Distance Helper (manual ref level)Average True Range is not a buy–sell signal by itself; it is a measuring tape for price movement. Use it to size trades, set adaptive stops, or decide whether a breakout or poke past a reference level (such as yesterday’s POC) is meaningful—e.g., “price dipped 0.1 ATR below POC, so the sweep was genuine, not a two-tick head-fake.”
Market Bottoms SageDisciplesCM_Williams + Stoch Confirmed Reversal (Multi-TF)
This indicator combines the CM_Williams Vix Fix with Stochastic Oscillator confirmation across two timeframes to identify potential bullish reversals.
Main Signal (Lime Dot Below Bar):
Fires when:
CM_Williams Vix Fix detects a volatility spike.
Stochastic %K > %D on the chart timeframe.
%K is currently or recently in the oversold zone (<20).
Early Signal (Orange Diamond Below Bar):
Based on the same logic, but using a lower timeframe (default: 5 min) for the Stochastic. It provides an early warning before the main signal confirms.
Features:
Adjustable lookbacks and thresholds for Vix Fix and Stoch.
Option to require rising Vix Fix bars.
Toggle to show/hide early signal dots.
Usage:
Look for lime dots as confirmation of a potential reversal.
Use orange diamonds to anticipate signals early.
Pair TradingPAIR TRADING
Description:
This indicator is a simple and intuitive tool for rotating between two assets based on their relative price ratio. By comparing the prices of Asset A and Asset B, it plots a “ratio line” (gray) with dynamic upper and lower boundaries (red and blue).
When the ratio reaches the red line, Asset A is expensive → rotate out of A and into B.
When the ratio touches the blue line, Asset A is cheap → rotate back into A.
The chart also shows:
🔹 Background highlights for visual cues
🔹 “Rotate to A” or “Rotate to B” markers for easy decisions
🔹 A live summary table with mean ratio, upper/lower boundaries, and current ratio
How to Use:
Select Asset A and Asset B in the settings.
Adjust the Lookback Period and Threshold if needed.
Watch the gray ratio line as it moves:
Above red line? → Consider rotating into B
Below blue line? → Consider rotating into A
Use the background color changes and rotation labels to spot clear rotation opportunities!
Why Pair Trading?
Pair trading is a powerful way to manage a portfolio because it neutralizes market direction risk and focuses on relative value.
By rotating between correlated assets, you can:
Smooth out returns
Avoid holding a weak asset too long
Capture reversion when assets diverge too far
This approach can enhance risk-adjusted returns and help keep your portfolio balanced and nimble!
How to Pick Pairs:
Choose assets with strong correlation or similar drivers.
Look for common trends (sector, macro).
Start with assets you know best (high-conviction ideas).
Make sure both have good liquidity for reliable trading!
TO HELP FIND CORRELATED ASSETS:
Use the Correlation Coefficient indicator in TradingView:
Click Indicators
Search for “Correlation Coefficient”
Add it to your chart
Input the symbol of the second asset (e.g., if you’re on MSTR, input TSLA).
This plots the rolling correlation coefficient — super helpful!
Pair trading can turn big swings into steady rotations and help you stay active even when the market is choppy. It’s a simple, practical approach to keep your portfolio balanced.
RSI+SMI-WavesIndicator Description: RSI+SMI-Waves
RSI+SMI-Waves is not just a simple (mashup) of indicators — it's an advanced technical analysis tool, designed for traders who seek deeper and more precise insights, going beyond the traditional.
Pro Tip: To get the most out of this indicator and achieve a cleaner view, disable the price scale labels and line status values. You can also turn off the input values from the status line. This significantly improves visual clarity, making both SMI and RSI easier to read, without clutter.
This indicator combines two powerful oscillators — the Stochastic RSI and the SMI Ergodic — working in perfect harmony, like parts of a coordinated body: the RSI acts as the arm initiating movement, while the SMI is the head that validates and confirms the signal. This synergy avoids blind spots in market interpretation, making each slope or crossover meaningful for attentive traders.
The main advantage lies in the application of smoothed moving averages to all lines simultaneously. This reduces noise, reinforces real trends, and decreases the likelihood of false signals.
Indicator Structure
SMI Lines:
Purple: Long-period SMI (20)
Green: Short-period SMI (5)
Red: SMI signal line (also short period 5)
Stochastic RSI Lines:
Light Blue: RSI %K (base period 14, smoothed with 3 and 3)
Orange: RSI %D (signal line, same smoothing 3 and 3)
Levels and Zones
Dashed horizontal lines mark overbought and oversold zones for both RSI and SMI.
These zones are fully adjustable to suit the trader’s personal strategy or preferences.
How to Use
SMI vs RSI Crossovers: When the short-period SMI crosses above the RSI, it signals a bullish trend. When it crosses below, it indicates a bearish trend.
Moving Average Alignment: If all lines slope in the same direction, it confirms a stronger and more reliable signal.
Extreme Zones: Overbought/oversold levels are useful to anticipate possible trend reversals.
Dynamic Configuration: The trader can select the moving average type (EMA, HMA, JMA, etc.) and customize periods according to their strategy.
ICT Directional FVG Indicator (Buffered SL)This is the first indicator I have ever made, and I am very new to Pine Script. I’ve tried my best to create this as a strategy, but I’m still learning, so please be kind and constructive with your feedback!
ICT Directional FVG Indicator (Buffered SL)
This indicator is designed for traders who follow ICT (Inner Circle Trader) concepts, focusing on Fair Value Gaps (FVGs), liquidity sweeps, and session-based trading. It automatically detects bullish and bearish FVGs, highlights them on the chart, and identifies liquidity sweep events. The indicator features three customizable Kill Zones (London, New York, and Asia sessions), each with independent toggles and color-coded backgrounds for clear visual separation.
Key features:
Fair Value Gap Detection: Highlights bullish and bearish FVGs in real time.
Liquidity Sweep Alerts: Marks potential liquidity sweep events for both highs and lows.
Session Kill Zones: Toggle each Kill Zone (London, New York, Asia) independently; background color changes only in enabled zones.
Trade Signal Visualization: Plots entry, stop loss, and take profit levels based on FVG and sweep logic, with a user-defined stop loss buffer.
Customizable Display: Easily enable or disable FVGs, sweeps, trade levels, and each Kill Zone to suit your strategy.
This tool is ideal for ICT-based traders who want a clear, automated view of FVGs, sweeps, and session activity, with full control over which sessions and signals are displayed.
P&L Entry Zone Marker (clean)This indicator is a simple visual calculator for futures traders.
It helps you track your long and short entry zones based on position size and average price.
🔹 Green line – recalculated long entry after averaging down.
🔹 Red line – short entry point.
You can manually input your initial entry, volume, averaging volume, and averaging price.
The script calculates your new average entry for long positions and plots both lines as full horizontal levels across the chart.
✳️ Useful for:
Visualizing break-even zones
Planning P&L zones for hedged positions
Quickly aligning your trades with market structure
✅ Clean version — no labels, just lines.
📉 Works on all symbols and timeframes.
Volume Profile - EdzVolume Profile – Edz is a lightweight indicator that identifies the top high-volume price levels over a recent range of candles, using customizable price binning (priceStep) and lookback length. It highlights the top N volume clusters with horizontal lines, labels, and strength-based star ratings (★–★★★), and displays a compact summary table showing price, volume, and relative strength. Optimized for intraday and short-term trading, this tool updates only on the latest bar for maximum performance and is ideal for spotting volume-based support, resistance, and high-confluence trading zones.
Market Structure TableJust learning pinescript...
Indicator should summarise market structure in a table and overplot pivot points on chart
Renko New Brick AlertA simple indicator that triggers an alert when a new brick is formed on a Renko chart.
Candle Range % vs 8-Candle AvgCandle % Indicator – Measure Candle Strength by Range %
**Overview:**
The *Candle % Indicator* helps traders visually and analytically gauge the strength or significance of a price candle relative to its recent historical context. This is particularly useful for detecting breakout moves, volatility shifts, or overextended candles that may signal exhaustion.
**What It Does:**
* Calculates the **percentage range** of the current candle compared to the **average range of the past N candles**.
* Highlights candles that exceed a user-defined threshold (e.g., 150% of the average range).
* Useful for **filtering out extreme candles** that might represent anomalies or unsustainable moves.
* Can be combined with other strategies (like EMA crossovers, support/resistance breaks, etc.) to improve signal quality.
**Use Case Examples:**
***Filter out fakeouts** in breakout strategies by ignoring candles that are overly large and may revert.
***Volatility control**: Avoid entries when market conditions are erratic.
**Confluence**: Combine with EMA or RSI signals for refined entries.
**How to Read:**
* If a candle is larger than the average range by more than the set percentage (default 150%), it's flagged (e.g., no entry signal or optional visual marker).
* Ideal for intraday, swing, or algorithmic trading setups.
**Customizable Inputs:**
**Lookback Period**: Number of previous candles to calculate the average range.
**% Threshold**: Maximum percentage a candle can exceed the average before being filtered or marked.
m1-m2This is an economics indicator, showing CNM1 YoY, CNM2 YoY, and CNM1 YoY - CNM2 YoY.
When it increases, the economy most likely improves;
When it decreases, the economy most likely declines.
Chebyshev-Gauss RSIThe Chebyshev-Gauss RSI is a variant of the standard Relative Strength Index (RSI) that uses the Chebyshev-Gauss Moving Average (CG-MA) for smoothing gains and losses instead of a traditional Simple or Exponential Moving Average. This results in a more responsive and potentially smoother RSI line.
This version is enhanced with features from the built-in TradingView RSI indicator, including:
A selectable smoothing moving average of the RSI line.
Bollinger Bands based on the smoothing MA.
Automatic divergence detection.
How it works:
It calculates the upward and downward price changes (gains and losses).
It applies the Chebyshev-Gauss Moving Average to smooth these gains and losses over a specified lookback period.
The smoothed values are used to calculate the Relative Strength (RS) and then the final RSI value.
Gold $15 Trend Continuation Alert🔔 Gold $15 Trend Continuation Alert (EMA Filtered)
This script helps identify high-probability trend continuation setups on XAUUSD (Gold), using price action + EMA confluence.
🔹 Logic:
Detects a $15+ directional move in the past hour
Confirms shallow pullback (<33%)
Price must align with EMA13, EMA50, and EMA200 in the same direction
Plots a single BUY (green label) or SELL (red label) alert only once per move
Includes visual EMA overlay
✅ Buy Conditions:
Price has risen $15 from local low
Pullback is shallow
Price is above all 3 EMAs
✅ Sell Conditions:
Price has dropped $15 from local high
Pullback is shallow
Price is below all 3 EMAs
Use this with caution on volatile news days. Best suited during trending London/NY sessions.
Kenan Ortalama Göstergesi [16 MA] All averages are in a single indicator, 4 from each average, you can change the colors as you wish.
Letzte Open Rays (18:00, 00:00, 10:00 UTC-4)super diese gute opening ray, opening rays bei den 10,18 und 0 open nur die letzten möglichen
Range Expansion Index (REI)Range Expansion Index (REI)
Overview
This script presents a powerful implementation of the Range Expansion Index (REI) , an oscillator developed by the legendary market technician T.D. Its primary purpose is to identify potential trend reversals by detecting "trend exhaustion" in overbought and oversold zones.
This version offers a clean, precise, and easy-to-interpret implementation of the indicator, based on R.D original logic.
How to Use the Indicator
The REI oscillates between -100 and +100. The interpretation is intuitive and designed to generate clear signals:
Overbought Zones and Sell Signals: When the REI rises above the (adjustable) "Overbought" line (e.g., +60), it indicates strong buying momentum. If this condition persists for a specified number of bars (definable via "Signal Duration"), a green down-arrow will appear. This is a signal of potential uptrend exhaustion and a pending downward correction.
Oversold Zones and Buy Signals: If the REI falls below the "Oversold" line (e.g., -60) and remains there for the set "Signal Duration," a red up-arrow will appear. This signals that selling pressure may be waning and an upward move or trend reversal is imminent.
Divergences: Look for divergences between the price and the REI. A bullish divergence (price makes a lower low, but the REI makes a higher low) is a strong buy signal. A bearish divergence (price makes a higher high, but the REI makes a lower high) is a strong sell signal.
Confirmation: For best results, REI signals should be confirmed by other analysis methods such as price action, trend lines, volume, or other indicators.
Setting Options
The indicator is fully customizable to adapt it to different markets and timeframes:
Lengths (n, nL1, etc.): Control the oscillator's sensitivity. Shorter lengths react faster but may produce more false signals.
Calculation Method: Choose between "Basic" and "Advanced" (with stricter conditions) to fine-tune the signal logic.
Overbought/Oversold Levels: Define your own thresholds for signaling.
Signal Duration (nD): A key filter. A higher number (e.g., 3 instead of 1) reduces the number of signals but increases their potential reliability, as the condition must be met for longer.
The REI is not a standalone trading system, but an excellent tool for identifying potential high-probability turning points. Always use it as part of a comprehensive trading strategy and solid risk management.
Happy trading!
Moving Average Convergence Divergence*SMA Trend Strategy with Re-Entry Signal (v6 Edition)*
This indicator is based on a classic moving average trend-following system, enhanced with re-entry signals designed for medium to short-term traders.
---
### 📈 Key Features:
1. *Trend Detection Logic:*
- The 30-period SMA (SMA30) is used as the trend filter.
- When the closing price is above the SMA30, the market is considered to be in an uptrend.
2. *Re-Entry Signal:*
- While in an uptrend, if the closing price crosses above the SMA20, a re-entry (add position) signal is triggered.
- These signals are shown with green upward arrows below the bars.
3. *Background Highlighting:*
- Green background: indicates an uptrend.
- Red background: indicates a break below SMA30, suggesting weakening momentum.
4. *Multi-SMA Visualization:*
- Five SMAs are displayed: SMA10, SMA20, SMA30, SMA60, and SMA250.
- This helps visualize both short-term and long-term trend structures.
---
### 🔍 Usage Tips:
- Use this script directly on your main chart to monitor trend direction and wait for re-entry signals during pullbacks.
- Combine with other tools like volume, price action, or candlestick patterns to confirm entries.
---
### ⚠️ Disclaimer:
- This indicator is for educational and informational purposes only. It does not constitute financial advice or a buy/sell signal.
- Avoid relying solely on this script for trading decisions. Always manage your own risk.
---
👨💻 *Developer’s Note:*
This script is 100% manually developed, not copied or auto-generated. It is an original implementation based on my personal trading logic. Suggestions and feedback are welcome!
Cup with Handle PatternCup with Handle Pattern Indicator – Description
This Cup with Handle Pattern Indicator is designed to visually identify one of the most powerful bullish continuation patterns in technical analysis — the Cup with Handle.
🔍 What It Detects
The indicator scans for the classic "U-shaped" cup formation followed by a slight downward drift (the handle), which often precedes a breakout.
Once a valid pattern is detected, it plots a green triangle below the price bar at the point of breakout — where the price crosses above recent highs after consolidation.
⚙️ Key Features
Customizable Duration: The cup length can be adjusted (default is 150 bars), allowing flexibility based on the timeframe and asset.
Automatic Breakout Detection: The indicator uses a combination of relative highs, lows, and ATR (Average True Range) to ensure valid setups.
No repainting: Signals are plotted only after confirmation, making this suitable for live trading or backtesting.
🛠️ How It Works
Left Cup High: Detected based on historical highs before the low.
Cup Low: The lowest point within the cup duration.
Right Cup High: A recent high before breakout.
Breakout Point: Triggered when price crosses above the 30-bar high after the handle formation.
Validity Checks: Ensures the structure has a proper depth, symmetry, and volatility conditions using ATR.
📊 Visual Elements
Green Triangle Up: Plotted below bar at the breakout.
Blue Line: Closing price.
✅ Ideal For:
Swing traders and position traders looking for high-probability breakout entries.
Chart analysts who want to automate the detection of classic base-building patterns.
Educational and training purposes for pattern recognition.
Relaxed Bullish Engulfing + RSI ≤ 30//@version=5
indicator("Relaxed Bullish Engulfing + RSI ≤ 30", overlay=true)
// === User Inputs ===
rsiPeriod = input.int(14, title="RSI Period")
rsiLevel = input.float(30.0, title="RSI Threshold")
emaLength = input.int(20, title="EMA Length")
rsi = ta.rsi(close, rsiPeriod)
ema = ta.ema(close, emaLength)
// === Relaxed Bullish Engulfing Logic ===
// Previous candle bearish
prevBearish = close < open
// Current candle bullish
currBullish = close > open
// Body comparison: current body covers at least 80% of previous
engulfBody = (close - open) > 0 and (close > open ) and (open < close )
bullishEngulfing = prevBearish and currBullish and engulfBody
// === Buy Signal Condition ===
buySignal = bullishEngulfing and rsi <= rsiLevel
// === Plotting ===
plot(ema, title="EMA", color=color.blue)
plotshape(buySignal, title="Buy", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY", size=size.small)
OHLC_Strategy_LibraryLibrary "OHLC_Strategy_Library"
f_getPriceType(displayOption, openPrice, highPrice, lowPrice, closePrice, prevOpen, prevHigh, prevLow, prevClose)
Parameters:
displayOption (string)
openPrice (float)
highPrice (float)
lowPrice (float)
closePrice (float)
prevOpen (float)
prevHigh (float)
prevLow (float)
prevClose (float)
f_getTimeframeGroup(groupSelector)
Parameters:
groupSelector (string)
f_calculateHeikinAshi(openPrice, highPrice, lowPrice, closePrice, prevHaOpen, prevHaClose)
Parameters:
openPrice (float)
highPrice (float)
lowPrice (float)
closePrice (float)
prevHaOpen (float)
prevHaClose (float)
f_calculateAverages(priceLevels1, priceLevels2)
Parameters:
priceLevels1 (array)
priceLevels2 (array)
f_withinDateRange(currentTime, startDate, endDate)
Parameters:
currentTime (int)
startDate (int)
endDate (int)
f_heikinAshiConditions(haOpen, haHigh, haLow, haClose)
Parameters:
haOpen (float)
haHigh (float)
haLow (float)
haClose (float)