Weinstein Stage Analysis HelperA helper script to visualize the Weinstein Stages intuitively along with other factors like
- Relative Strength
- Volume (On Balance Volume)
- RoE
- P/E
- Growth Rate
- EPS Growth Rate
Indicators and strategies
AdelVolume Clone//@version=6
indicator("Faisalvolume Clone", overlay=false)
// إعدادات
maLength = input.int(20, minval=1, title="Volume MA Length")
highVolumeMultiplier = input.float(1.5, title="High Volume Multiplier")
// بيانات
vol = volume
volMA = ta.sma(vol, maLength)
// شروط
isHighVol = vol > volMA * highVolumeMultiplier
isAboveMA = vol > volMA
// لون العمود
barColor = isHighVol ? color.red : isAboveMA ? color.lime : color.gray
// رسم المؤشر
plot(vol, title="Volume", style=plot.style_columns, color=barColor)
plot(volMA, title="Volume MA", color=color.orange, linewidth=2)
GeeksDoByte 15m & 30m ORB + Prev Day High/LowCME_MINI:NQ1!
How It Works
Opening Ranges
At 9:30 ET, the script begins tracking the high & low.
It uses two fixed sessions:
15 min from 09:30 to 09:45
30 min from 09:30 to 10:00
On the very first bar of each session it initializes the range, then continuously updates the high/low on each new intraday bar.
Dashed lines are drawn when the session opens and extended horizontally across subsequent bars.
Previous Day’s Levels
Independently, it fetches yesterday’s high and low via a daily security call.
These historic levels are plotted as simple horizontal lines for daily context.
How to Use
Breakout Entries
A close above the 15 min ORB high can signal an early breakout; a further push above the 30 min ORB high confirms extended momentum.
Conversely, breaks below the respective lows can indicate short setups.
Support & Resistance
Yesterday’s high/low often act as magnet levels. If price is near the previous high when the opening ranges break, you get a confluence zone worth watching.
Trade Management
Combine the two opening-range levels to tier your stops or scale in.
For example, you might place an initial stop below the 15 min low and a wider stop below the 30 min low.
Volatility Strategy 01a quantitative volatility strategy (especially effective in trend direction on the 15min chart on the s&p-index)
the strategy is a rule-based setup, which dynamically adapts to the implied volatility structure (vx1!–vx2!)
context-dependent mean reversion strategy based on multiple timeframes in the vix index
a signal is provided under following conditions:
1. the vvix/vix spread has deviated significantly beyond one standard deviation
2. the vix is positioned above or below 3 moving averages on 3 minor timeframes
3. the trade direction is derived from the projected volatility regime, measured via vx1! and vx2! (cboe)
TRADING GURU LIVE FLASHHi guys,
If you are looking to add some watermark into your charts. You can use this indicator.
You can add add a title and a subtitle, if you want to write in diferents lines, you can use as you can see in the script.
This is just a watermark, which follows my personal style an aesthetic when it comes to Pinescript tools. I like to keep my charts clean to focus on Time and price, and I love to have a reminder to remain disciplined.
Homo Faber Fortunae Suae is a Latin maxim which loosely translates to: Humans Are The Makers Of Their Own Destiny.
So make your own destiny, master yourself and the charts!
All the features are customizable: position, text size, text color, background.
Enjoy it.
Tuga SupertrendDescription
This strategy uses the Supertrend indicator enhanced with commission and slippage filters to capture trends on the daily chart. It’s designed to work on any asset but is especially effective in markets with consistent movements.
Use the date inputs to set the backtest period (default: from January 1, 2018, through today, June 30, 2025).
The default input values are optimized for the daily chart. For other timeframes, adjust the parameters to suit the asset you’re testing.
Release Notes
June 30, 2025
• Updated default backtest period to end on June 30, 2025.
• Default commission adjusted to 0.1 %.
• Slippage set to 3 ticks.
• Default slippage set to 3 ticks.
• Simplified the strategy name to “Tuga Supertrend”.
Default Parameters
Parameter Default Value
Supertrend Period 10
Multiplier (Factor) 3
Commission 0.1 %
Slippage 3 ticks
Start Date January 1, 2018
End Date June 30, 2025
PRO Investing - Apex Engine FREE VERSION🧠 The Apex Engine: True Self-Tuning Intelligence
The biggest flaw in most indicators is that they rely on fixed settings. The Apex Engine solves this with two layers of adaptation:
Fully Auto-Adjustable Parameters: The engine first analyzes the volatility of the asset on your chart to derive its own optimal "Fast," "Mid," and "Slow" momentum lengths. You never have to guess settings again—it tunes itself for any instrument and timeframe.
Performance-Based Selection: It then uses statistical correlation to constantly measure which of its auto-tuned parameters is most in-sync with recent price action. It deploys the "winning" engine to generate signals, ensuring you're always using the most relevant analysis.
🎨 An All-in-One, Unified View
We've engineered this script to deliver maximum information with minimum clutter, all within a single indicator.
High-Confluence Buy/Sell Signals (▲/▼): Clear triangles appear directly on your chart. These are not simple crossovers; a signal is only plotted if it aligns with the dominant trend (above/below the 200MA) and the market is not choppy (ADX > 20).
Compact Oscillator Display: A "lite" version of the oscillator is displayed in a compact panel at the bottom of your price chart, showing the active Velocity line and its signal.
Transparent Dashboard: A small table in the corner shows you the engine's "brain" at work, displaying the real-time correlation scores and highlighting the active parameter.
Smart Background Coloring: The entire chart background changes color to give you immediate context:
🟩 Green: Bullish trend, favorable conditions for buys.
🟥 Red: Bearish trend, favorable conditions for sells.
⬛ Gray: Caution zone. Market is choppy or counter-trend.
This tool is designed to be the ultimate all-in-one solution for traders who value automation, clarity, and adaptive analysis.
If you find this indicator powerful, please leave a Boost 👍 and Follow our Profile for more professional-grade tools.
Disclaimer: All indicators are for analytical and educational purposes only. Trading involves significant risk. Always use your own judgment and risk management.
Enhanced Smoothed Heiken Ashi CandlesSmooth Heikin Ashi is a modified version of the traditional Heikin Ashi candlestick charting technique that applies additional smoothing to reduce noise and provide clearer trend signals.
Traditional Heikin Ashi Basics
Heikin Ashi (Japanese for "average bar") transforms regular candlesticks using these formulas:
Close = (Open + High + Low + Close) / 4
Open = (Previous HA Open + Previous HA Close) / 2
High = Maximum of (High, HA Open, HA Close)
Low = Minimum of (Low, HA Open, HA Close)
Smooth Heikin Ashi Enhancement
The smooth version applies moving averages to the Heikin Ashi values, typically using:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Weighted Moving Average (WMA)
Common smoothing periods range from 5 to 21, with 14 being popular.
Key Benefits
Noise Reduction: Further filters out market noise compared to standard Heikin Ashi, making trends more apparent.
Clearer Signals: Produces smoother transitions between bullish and bearish phases, reducing false signals.
Trend Identification: Makes it easier to identify the dominant trend direction and potential reversals.
Trading Applications
Trend Following: Green/white candles indicate uptrends, red/black indicate downtrends
Entry/Exit Points: Color changes can signal potential trade entries or exits
Support/Resistance: Smoother price action helps identify key levels
Multiple Timeframe Analysis: Works well across different timeframes
The main tradeoff is that increased smoothing creates more lag, so signals may come later than with traditional Heikin Ashi or regular candlesticks.
Pivot Points Standard 4-Hour TimeFrame VersionPivot Points Standard Modified to Suit the 4H Time Frame.
Taken as the original source code of the Pivot Points Standard and Modified.
Samrat AlertThis indicator generates buy sell signal on different timeframe on all instruments based on price and sma combination
📈 DhanOne3 | RSI Colored Bars📈 DhanOne3 | RSI Colored Bars
This indicator visually highlights price bars based on RSI conditions. Green bars indicate overbought levels (RSI > 70), and red bars indicate oversold levels (RSI < 30). It helps traders quickly spot momentum shifts and potential reversal zones directly on the chart without opening a separate RSI panel.
Contrarian RSIContrarian RSI Indicator
Pairs nicely with Contrarian 100 MA (optional hide/unhide buy/sell signals)
Description
The Contrarian RSI is a momentum-based technical indicator designed to identify potential reversal points in price action by combining a unique RSI calculation with a predictive range model inspired by the "Contrarian 5 Levels" logic. Unlike traditional RSI, which measures price momentum based solely on price changes, this indicator integrates a smoothed, weighted momentum calculation and predictive price ranges to generate contrarian signals. It is particularly suited for traders looking to capture reversals in trending or range-bound markets.
This indicator is versatile and can be used across various timeframes, though it performs best on higher timeframes (e.g., 1H, 4H, or Daily) due to reduced noise and more reliable signals. Lower timeframes may require additional testing and careful parameter tuning to optimize performance.
How It Works
The Contrarian RSI combines two primary components:
Predictive Ranges (5 Levels Logic): This calculates a smoothed price average that adapts to market volatility using an ATR-based mechanism. It helps identify significant price levels that act as potential support or resistance zones.
Contrarian RSI Calculation: A modified RSI calculation that uses weighted momentum from the predictive ranges to measure buying and selling pressure. The result is smoothed and paired with a user-defined moving average to generate clear signals.
The indicator generates buy (long) and sell (exit) signals based on crossovers and crossunders of user-defined overbought and oversold levels, making it ideal for contrarian trading strategies.
Calculation Overview
Predictive Ranges (5 Levels Logic):
Uses a custom function (pred_ranges) to calculate a dynamic price average (avg) based on the ATR (Average True Range) multiplied by a user-defined factor (mult).
The average adjusts only when the price moves beyond the ATR threshold, ensuring responsiveness to significant price changes while filtering out noise.
This calculation is performed on a user-specified timeframe (tf5Levels) for multi-timeframe analysis.
Contrarian RSI:
Compares consecutive predictive range values to calculate gains (g) and losses (l) over a user-defined period (crsiLength).
Applies a Gaussian weighting function (weight = math.exp(-math.pow(i / crsiLength, 2))) to prioritize recent price movements.
Computes a "wave ratio" (net_momentum / total_energy) to normalize momentum, which is then scaled to a 0–100 range (qrsi = 50 + 50 * wave_ratio).
Smooths the result with a 2-period EMA (qrsi_smoothed) for stability.
Moving Average:
Applies a user-selected moving average (SMA, EMA, WMA, SMMA, or VWMA) with a customizable length (maLength) to the smoothed RSI (qrsi_smoothed) to generate the final indicator value (qrsi_ma).
Signal Generation:
Long Entry: Triggered when qrsi_ma crosses above the oversold level (oversoldLevel, default: 1).
Long Exit: Triggered when qrsi_ma crosses below the overbought level (overboughtLevel, default: 99).
Entry and Exit Rules
Long Entry: Enter a long position when the Contrarian RSI (qrsi_ma) crosses above the oversold level (default: 1). This suggests the asset is potentially oversold and due for a reversal.
Long Exit: Exit the long position when the Contrarian RSI (qrsi_ma) crosses below the overbought level (default: 99), indicating a potential overbought condition and a reversal to the downside.
Customization: Adjust overboughtLevel and oversoldLevel to fine-tune sensitivity. Lower timeframes may benefit from tighter levels (e.g., 20 for oversold, 80 for overbought), while higher timeframes can use extreme levels (e.g., 1 and 99) for stronger reversals.
Timeframe Considerations
Higher Timeframes (Recommended): The indicator is optimized for higher timeframes (e.g., 1H, 4H, Daily) due to its reliance on predictive ranges and smoothed momentum, which perform best with less market noise. These timeframes typically yield more reliable reversal signals.
Lower Timeframes: The indicator can be used on lower timeframes (e.g., 5M, 15M), but signals may be noisier and require additional confirmation (e.g., from price action or other indicators). Extensive backtesting and parameter optimization (e.g., adjusting crsiLength, maLength, or mult) are recommended for lower timeframes.
Inputs
Contrarian RSI Length (crsiLength): Length for RSI momentum calculation (default: 5).
RSI MA Length (maLength): Length of the moving average applied to the RSI (default: 1, effectively no MA).
MA Type (maType): Choose from SMA, EMA, WMA, SMMA, or VWMA (default: SMA).
Overbought Level (overboughtLevel): Upper threshold for exit signals (default: 99).
Oversold Level (oversoldLevel): Lower threshold for entry signals (default: 1).
Plot Signals on Main Chart (plotOnChart): Toggle to display signals on the price chart or the indicator panel (default: false).
Plotted on Lower:
Plotted on Chart:
5 Levels Length (length5Levels): Length for predictive range calculation (default: 200).
Factor (mult): ATR multiplier for predictive ranges (default: 6.0).
5 Levels Timeframe (tf5Levels): Timeframe for predictive range calculation (default: chart timeframe).
Visuals
Contrarian RSI MA: Plotted as a yellow line, representing the smoothed Contrarian RSI with the applied moving average.
Overbought/Oversold Lines: Red line for overbought (default: 99) and green line for oversold (default: 1).
Signals: Blue circles for long entries, white circles for long exits. Signals can be plotted on the main chart (plotOnChart = true) or the indicator panel (plotOnChart = false).
Usage Notes
Use the indicator in conjunction with other tools (e.g., support/resistance, trendlines, or volume) to confirm signals.
Test extensively on your chosen timeframe and asset to optimize parameters like crsiLength, maLength, and mult.
Be cautious with lower timeframes, as false signals may occur due to market noise.
The indicator is designed for contrarian strategies, so it works best in markets with clear reversal patterns.
Disclaimer
This indicator is provided for educational and informational purposes only. Always conduct thorough backtesting and risk management before using any indicator in live trading. The author is not responsible for any financial losses incurred.
Momentum + Heatmap with RSI Cross (Nikko)📘 User Manual: Momentum + Heatmap with RSI Cross (Nikko)
Version: 1.0
Author: Cryptonikkoid
Platform: TradingView – Pine Script v6
License: Mozilla Public License 2.0
Release Date: June 2025
🔍 Overview
The Momentum + Heatmap with RSI Cross is an advanced visual indicator designed to replace traditional oscillators by merging multiple indicators into one. It blends Vortex, Stochastic, RSI, and MACD into a unified, mathematically enhanced momentum signal. This tool highlights trend shifts, potential reversals, and momentum build-up with intuitive visuals and alert signals.
The indicator includes:
A hybrid oscillator reflecting directional strength and momentum.
A heatmap background representing RSI × Vortex energy.
Buy/Sell triangle alerts based on RSI-style crossovers.
A clean layout optimized for decision-making speed.
⚙️ How It Works
Vortex Strength
The indicator computes Vortex Positive (VI+) and Vortex Negative (VI–) over a user-defined period.
The difference between the two creates a directional bias signal (viDiff).
Stochastic Momentum
The viDiff value is normalized through a stochastic oscillator, producing smoothed %K and %D curves.
These curves serve as the base for momentum signals.
RSI and Long-Term RSI
The RSI is computed and normalized to a 0–1 scale.
A long-term RSI (5× period) is also calculated to act as a trend anchor.
MACD Filtering
A MACD calculation determines whether the market is in a bullish or bearish condition.
The hybrid signals are flipped accordingly to follow the broader trend.
Hybrid Oscillator Construction
%K and %D are multiplied by exponential factors of RSI and long RSI.
This adds acceleration to the signals when momentum is increasing rapidly.
RSI Cross Detection
When the hybrid %K crosses above hybrid %D, a Sell triangle appears (potential peak).
When it crosses below, a Buy triangle appears (momentum reversal).
Heatmap Background
A visual background shows the interaction between Vortex and RSI energy.
Colors shift from deep purple (low momentum) to blue (strong bullish energy).
The heatmap can be toggled on/off for clarity.
Alerts
Built-in alert conditions allow you to be notified instantly on buy/sell signals.
🧠 How to Use
Apply the Indicator
Add it to any chart on TradingView.
It works best on trending assets and volatile conditions like crypto or indices.
Read the Hybrid Oscillator
Use the hybrid %K and %D like a momentum wave.
Strong upward waves + a green heatmap = potential long.
Sharp downward spikes + fading heatmap = caution or potential exit.
Watch the Triangles
A green triangle below a bar suggests a buy signal — momentum is reversing upward.
A red triangle above a bar signals momentum exhaustion — potential sell or take profit.
Heatmap Guidance
When the background is faint or fades to purple, it indicates weak conditions.
Blueish tones signal growing bullish strength.
Use with Price Action
Combine triangle alerts with support/resistance, price structure, or volume.
This indicator is not a standalone entry tool, but a strong directional filter.
✅ Benefits
Single Indicator Solution: Replaces multiple tools like MACD, RSI, and Stochastic.
Momentum + Trend Fusion: Combines short-term reversals with long-term trend confirmation.
Visual Simplicity: Clear oscillator waves, triangle icons, and color-coded heatmaps reduce decision fatigue.
Built-in Alerts: Get notified the moment momentum shifts.
Customizable: You can tweak lengths and smoothing for your asset and timeframe.
⚠️ Limitations
Slight Lag: Smoothing adds stability but can delay signals by a few candles.
Whipsaw in Sideways Markets: Like all momentum tools, performance is better in trending conditions.
Requires Confirmation: Best used with other tools like structure or volume to confirm trades.
Experimental Math: This is an experimental formulation; more feedback could help fine-tune signal logic.
🔁 What's New Compared to Traditional Indicators
Unlike using RSI, MACD, or Stochastic separately, this indicator:
Integrates all three into a unified momentum model.
Adds long-term RSI filtering to reduce noise.
Uses exponential scaling to enhance signal acceleration.
Features heatmap visualization to intuitively show energy buildup.
Provides actionable visual alerts without relying solely on numeric values.
🛠️ Tips and Customization
Adjust the rsiLength, viLength, and MACD settings for different markets (e.g. faster for scalping, slower for swing).
Toggle off the heatmap if you prefer a cleaner look using the checkbox.
Use higher timeframes (4h, 1D) for swing trading or lower timeframes (15m–1h) for intraday.
Combine with volume spikes or trendlines to enhance trade confirmation.
Add alertcondition() messages to trigger webhook or mobile alerts.
🎯 Final Thoughts
Momentum + Heatmap with RSI Cross simplifies the complexity of momentum analysis into a smooth, visually intuitive signal. It helps identify entry zones early, avoid chasing reversals blindly, and gives clear exit alerts based on dynamic crossovers.
If you want cleaner charts with smarter momentum tracking — this tool is built for that.
EMA/ATR/RSIThis indicator overlays three key technical measures—Exponential Moving Average (EMA), Average True Range (ATR), and a custom-scaled Relative Strength Index (RSI)—on your price chart, all using the same lookback period.
Features
• EMA (Exponential Moving Average): Smooths price action to highlight trend direction.
• ATR (Average True Range): Measures market volatility via an RMA-smoothed True Range.
• RSI (Modified): Scales the standard RSI by subtracting 35 and multiplying by 2, shifting the baseline for clearer momentum signals.
Inputs
• period (integer): Lookback length for EMA, ATR, and RSI calculations (default: 14).
How to Use
1. Adjust period to suit your preferred timeframe (e.g., 14 for daily charts, 7 for intraday).
2. Use the EMA line to identify trend direction and dynamic support/resistance.
3. Monitor ATR to gauge changing volatility—wider bands signal stronger moves.
4. Watch the modified RSI crossovers around zero:
• Above 0: Bullish momentum
• Below 0: Bearish momentum
Combine these three overlays to refine entries, exits, and stop-loss placement based on trend strength, volatility, and momentum all in one view.
📈 Linearity (ER 0–1) + ADRMAX % Table
This indicator combines two powerful concepts to help traders assess trend efficiency and intraday thrust strength:
🔹 1. Linearity (Kaufman Efficiency Ratio)
Measures how efficiently price has trended over a selected lookback period.
Values range from 0 to 1, where:
1.0 = perfectly trending market (no noise)
0.0 = completely choppy market (all noise)
Optional method: New High Persistence (fraction of bars in the period that hit a new high).
🔹 2. ADRMAX % (Average Daily Range Max as %)
Calculates the average of top % biggest green daily candles (measured as % range: (high - low) / low × 100) over a given lookback.
Projects this ADRMAX % above current lows as a thrust-level expectation.
Marks candles exceeding this dynamic threshold, helping identify unusual momentum.
📊 On-Chart Table Display
Real-time display of:
Linearity (0–1 scale)
ADRMAX %
Table is color-coded and position-customizable.
🛠️ Use Cases:
Trend-following filters: only act when ER > 0.75.
Thrust detection: breakout days with range > ADRMAX.
Adaptive entries: combine both for better timing.
Highlight Highest Volume CandleHow it works:
lookback: how many bars to look back for highest volume (default 50).
highestVol: the maximum volume in that range.
isHighestVol: true if the current candle’s volume equals that maximum.
plotcandle: draws the candle in bright yellow.
plotshape: adds a small triangle below the bar for extra visibility.
ORB NormanORB with adjustable times for up to 3 ORB's.
High and Low for each defined timeframe with adjustable lenghts for each day.
EMA Crossover with DiamondsGreen diamond when 20 exponential moving average crosses over 50 exponential moving average, and shows a red diamond when 50 moving average crosses over 20 exponential moving average