RSI Divergence Indicator - Trading VidhyalayaThis indicator automatically identifies RSI-based bullish and bearish divergences and visually marks them directly on the candlestick chart, making it easier for traders to spot potential reversals.
✅ Key Features:
Bullish Divergence
When the price makes a lower low, but the RSI makes a higher low, the indicator highlights the candle with a green arrow or label to signal potential upward reversal.
Bearish Divergence
When the price makes a higher high, but the RSI forms a lower high, the indicator marks the candle with a red arrow or label to indicate a possible downside move.
Real-time Detection
Divergences are plotted in real-time, helping traders react quickly to changing market conditions.
Candlestick Overlay
Signals are shown directly on the chart, rather than below in a separate panel, allowing for faster and clearer decision-making.
📊 Benefits:
Helps in identifying early trend reversals
Works well with other indicators like MACD, Moving Averages, or Volume
Great for both beginners and advanced traders
Saves time by automating divergence spotting, reducing manual errors
Indicators and strategies
Simple Buy/Sell SignalsThe code works by continuously monitoring the relationship between two moving averages (MAs) on live price data — a fast MA (shorter period) and a slow MA (longer period). These MAs smooth out price action to help identify trends. Here's how it functions step-by-step:
Inputs: The user selects the MA type (SMA or EMA) and the lengths (periods) for the fast and slow MAs.
Calculation: The script calculates the chosen MAs using real-time closing prices.
Signal Logic: It detects a Buy signal when the fast MA crosses above the slow MA (crossover) and a Sell signal when the fast MA crosses below the slow MA (crossunder).
Plotting: When a signal occurs, the script plots a green "BUY" arrow below the candle or a red "SELL" arrow above it.
Alerts: It includes alert conditions so users can receive notifications when a buy or sell condition is met.
RTH Session Range Position (0-100) with EMAA Pine Script indicator designed to help traders understand where the current price is located within the Regular Trading Hours (RTH) session range, from 0 (session low) to 100 (session high). It also plots a smoothed EMA of this position to provide insight into momentum or trend during the RTH session.
What the Indicator Does
Defines RTH (Regular Trading Hours):
Start: 9:30 AM
End: 4:00 PM
These are typical US equity market hours.
Tracks the session's high and low during RTH:
sessionHigh and sessionLow update only during RTH.
Calculates position of the current price within the RTH range:
Formula: ((close - sessionLow) / (sessionHigh - sessionLow)) * 100
Result is a percentage:
0 = at session low
100 = at session high
50 = middle of session range
Calculates an EMA of that position (posEMA):
Smooths out the raw position to help visualize momentum within the range.
Plots and table:
Plots pos and posEMA on a separate chart pane.
Adds horizontal lines at key levels (0, 30, 50, 70, 100).
Table shows current values for Position, EMA, and Range.
Visual cues:
bgcolor highlights when pos crosses over or under the EMA — potential momentum shifts.
Alerts:
Cross above/below 50 (session midpoint).
Cross above/below EMA.
How to Use It Effectively
1. Session Strength & Momentum
Position above 70: Price is near session highs — strong upward momentum.
Position below 30: Price is near session lows — strong downward momentum.
Use the EMA of position to filter out noise and identify trends.
2. Breakout or Reversal Detection
Cross above EMA: Momentum may be turning bullish.
Cross below EMA: Momentum may be turning bearish.
These crosses (especially near mid-levels like 50) can hint at session trend shifts.
3. Range Context for Entries
If you're a mean-reversion trader, look for:
Price > 70 + turning down below EMA → possible short.
Price < 30 + turning up above EMA → possible long.
For breakout traders, you might wait for:
Crosses above 70 with EMA support.
Crosses below 30 with EMA resistance.
4. Confirmation Tool
Use this indicator alongside others to confirm:
Whether price action has strength within the day.
Whether breakouts have real momentum or are extended already.
Open-Based Percentage Levelsv2
This is an updated version of my original script.
Changes:
I took off the displacement levels since there served no purpose on this script.
I also fixed it to where the percentage level lines are visible continually throughout the entire trading day. Old version had these lines disappearing.
I also updated the name to better reflect its purpose.
Now only works on 30 min and below as the higher time frames are meaningless. The older version allow higher time frames and the code is open source to adjust as desired
RTH Session Highs & LowsA Pine Script indicator designed to track and plot the Regular Trading Hours (RTH) session highs and lows on a chart, typically for U.S. equity markets (e.g., S&P 500, Nasdaq, etc.), which operate from 9:30 AM to 4:00 PM Eastern Time.
Session High & Low Lines:
During the RTH session, the indicator draws green and red horizontal lines that represent the highest and lowest price seen so far within that trading session.
These levels help traders identify intraday support (low) and resistance (high) levels.
New High/Low Markers:
Small triangle markers are placed:
Above the bar when a new intraday high is made (green triangle).
Below the bar when a new intraday low is made (red triangle).
This visually flags when momentum may be building or reversing.
Intraday Strategy Support:
Use the session high/low as dynamic support/resistance for scalping or breakout strategies.
For example:
Breakouts above session highs may indicate bullish strength.
Breakdowns below session lows may suggest bearish momentum.
Mean Reversion Tactics:
Prices approaching these lines and then rejecting can be used for mean reversion setups.
Combine with volume or candlestick patterns for confirmation.
Risk Management:
Set stops or targets relative to session highs/lows.
For instance, use session high as a stop-loss level in a short position.
Volatility Gauge:
Tracking how frequently new highs/lows are formed can help assess intraday volatility or range expansion.
Complement with Indicators:
Combine this with our "McGinley Dynamic Channel with Directional Shading" indicator or our "EMA Crossover with Shading" indicator to add context to breakouts or rejections.
Open-Based Adjustable LevelsThis indicator gives signals for levels where the buy or sell volume is above adjustable levels (ex, volume at 100,000). And these levels will only signal after the price has gone above/below a certain 'adjustable' percentage of the stocks opening price.
Example: Signal sell when the price action is 0.7% above market opening price and when sell volume is above 120,000
or
Signal buy when buy volume is above 80,000 and the price is 0.5% below market opening price.
Great for day trading and detecting potential swings in the market. Above image is on a 3min chart.
Doesn't work as well on daily time frames or above.
Should be combined with other indicators like buy/sell channels, for the best confirmations
Key Open LevelsThis Pine Script indicator (Key Open Levels) allows users to highlight up to six specific open prices from different times of the trading day as horizontal lines on the chart.
Each line can be customized with user-defined style, width, and color settings.
Users also have the option to display price labels directly on the lines for added clarity.
The indicator is designed to work seamlessly across all intraday timeframes, including seconds, minutes, and hourly intervals, making it versatile for various trading strategies that rely on key intraday price levels.
This indicator has proved to be a key indicator especially for people studying Futures market reaction around Key Open Levels.
wma+ tendance🟢 Wma+ tendance– Trend Ribbon with Weighted Moving Averages and Alerts
Description:
Wma+ tendance is a visual trend indicator that uses two Weighted Moving Averages (WMA) – a fast and a slow one – to clearly highlight market direction. It fills the space between the two WMAs with dynamic colors and includes alerts for trend changes.
🟩 Green: Uptrend – the fast WMA is above the slow WMA, and both are rising.
🟥 Red: Downtrend – the fast WMA is below the slow WMA, and both are falling.
⬜ Gray: No clear trend – indicating potential sideways or consolidating price action.
Features:
Trend ribbon visualized between fast and slow WMAs
Alerts for bullish and bearish trend detection
Customizable inputs for MA lengths and price source
Use cases:
Spot early trend formations
Combine with other indicators for confirmation
Adaptable for intraday and swing trading strategies
This script helps traders stay on the right side of the trend with minimal noise and real-time alerts.
ATR Overlay with Trailing Flip [ask2maniish]📘 ATR Overlay with Trailing Flip
🔍 Overview
The ATR Overlay with Trailing Flip is a dynamic, visually-enhanced overlay indicator designed to assist traders in trend detection, trailing stop management, and volatility-based decision making. It leverages the Average True Range (ATR) with optional dynamic multipliers, filters, and alerts to enhance trade execution precision.
⚙️ Features Summary
✅ Static & dynamic ATR multiplier
✅ Customizable trailing stop logic
✅ Volume & Bollinger Band filters
✅ Buy/Sell label signals with alerts
✅ ATR bands with color fill
✅ Optional candle coloring based on trend
✅ Table showing current ATR multiplier
✅ Fully customizable visual controls
🔧 User Inputs
📘 Info Panel
ATR Usage Guide
Tooltip with trading-style recommendations:
Scalping: ATR 5–10, Intraday: ATR 10–14 , Swing: ATR 14–21 , Position: ATR 21–50
📊 Visual Elements
📈 Plots
Upper/Lower ATR Bands
ATR Fill Zone
Dynamic Trailing Stop Line
🕯 Candle Coloring
Candles colored green (uptrend) or red (downtrend)
Wick coloring matches body
🏷 Signal Labels
"BUY" below candle when trend flips up
"SELL" above candle when trend flips down
📊 Table (Top Right)
Displays current multiplier value:
If static: Static: x.x
If dynamic: percentage format based on ATR ratio
🔔 Alerts
Two alert conditions:
Flip to Long → "📈 ATR flip to LONG"
Flip to Short → "📉 ATR flip to SHORT"
Sound can be enabled for real-time feedback.
🧠 Best Practices
Combine this tool with support/resistance or order flow indicators
Use dynamic ATR during volatile periods for better adaptability
Filter signals in ranging markets with BBand Width Filter
For scalping, reduce ATR period and multiplier for tighter risk
🛠️ Customization Tips
Adjust trailingPeriod for tighter/looser stops
Use color inputs to match your charting theme
Disable features (labels/fill) to declutter chart
Levels & Flow📌 Overview
Levels & Flow is a visual trading tool that combines daily pivot levels with a dynamic EMA ribbon to help traders identify structure, momentum, and key decision zones in the market.
This script is designed for discretionary traders who rely on clean visual cues for intraday and swing trading strategies.
⚙️ Key Features
Daily Pivot, Support, and Resistance Lines
Automatically plots the daily pivot level based on the previous day’s OHLC data, along with calculated support and resistance levels.
Fibonacci Retracement Levels
Two dashed lines above and below the pivot represent the retracement of the pivot-resistance and pivot-support range, forming the boundaries of the “no-trade zone.”
No-Trade Zone (Shaded Box)
A gray shaded box between the two Fibonacci levels to visually mark a high-chop/low-conviction zone.
Trend-Based Candle Coloring (Current Day Only)
Candles are colored green if the close is above the pivot, red if below (only on the current trading day).
Bullish/Bearish Trend Label
A small table in the bottom-right corner displays “Bullish” or “Bearish” depending on whether price is above or below the pivot.
20-EMA Gradient Ribbon
A stack of 20 EMAs, each smoothed and color-coded from blue to green to reflect short- to long-term trend alignment.
Cumulative EMA with Adaptive Weighting
An intelligent moving average line that adjusts weight distribution among the 20 EMAs based on recent predictive accuracy using a learning rate and lookback period.
🧠 How It Works
📍 Levels
The script calculates daily pivot, resistance, and support levels using standard formulas:
Pivot = (High + Low + Close) / 3
Resistance = (2 × Pivot) – Low
Support = (2 × Pivot) – High
These levels update each day and extend 143 bars to the right.
📏 Fib Lines
Fib Up = Pivot + (Resistance – Pivot) × 0.382
Fib Down = Pivot – (Pivot – Support) × 0.382
These lines form the “no-trade zone” box.
📈 EMA Ribbon
20 EMAs starting from the user-defined Base Length, each incremented by 1
Each EMA is smoothed using the Smoothing Period
Color-coded from blue to green for intuitive visual flow
Filled between EMAs to visualize trend strength and alignment
🧠 Cumulative EMA Learning
Each EMA’s historical error is calculated over a Lookback Period
Lower-error EMAs receive higher weight; weights are normalized to sum to 1
The result is a cumulative EMA that adapts based on historical predictive power
🔧 User Inputs
Input
Base EMA Length: Sets the period for the shortest EMA (default: 20)
Smoothing Period: Smooths all EMAs and the cumulative EMA
Lookback for Learning: Number of bars to evaluate EMA prediction accuracy
Learning Rate: Adjusts how quickly weights shift in favor of more accurate EMAs
✅ How to Use It
Use the pivot level to define directional bias.
Watch for price breakouts above resistance or breakdowns below support to consider entry.
Avoid trading inside the shaded zone, where direction is less reliable.
Use the EMA ribbon gradient to confirm short/long alignment.
The cumulative EMA helps define trend with noise reduction.
🧪 Best For
Intraday traders who want to blend structure with flow
Swing traders needing clean daily levels with dynamic confirmation
Anyone looking to avoid choppy zones and improve visual clarity
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or a trading recommendation. Always test scripts in simulation or on demo accounts before live use. Use at your own risk.
Buy sell ATR Bollinger [vivekm8955]Buy Sell ATR Bollinger
This script combines Bollinger Bands with an optional ATR-based filter to generate high-probability Buy/Sell signals with trend confirmation.
🔹 Buy Signal: Price breaks above the upper Bollinger Band and trend flips bullish.
🔹 Sell Signal: Price drops below the lower Bollinger Band and trend flips bearish.
🔹 ATR Filter (Optional): Smoothens signals by filtering out weak breakouts based on volatility.
🔹 Visual Aids: Color-coded trend bands (Yellow for bullish, Red for bearish) with clean BUY/SELL labels.
🔹 Alerts Enabled: Get notified on signal generation.
✅ Suitable for intraday and swing traders
✅ Works across all timeframes
✅ Fully customizable inputs
trade safe with risk management! Happy trading!!
CANX Supply and Demand - Order Block - Candle Identification© CanxStixTrader
CANX Supply and Demand - Order Block - Candle Identification
Description
Designed as a visual aid, to highlight the last up or down candle before a fractal break. We can assume these candles where the point of origin that generated enough strength to break recent structure. By using them as reference points, traders are expected to follow their own set of rules and mark higher probability supply and demand zones in the area.
How to use:
Expect price to retest in these areas, and if they fail, a potential retest in the opposite direction . The greater the number of times a zone is tested, the more likely it is to break. A fresh zone that has not yet been tested will have a higher probability of a bounce.
Fractal period and candle break type can be customized in the settings. This works on all time frames.
**The indicator is set to my optimal settings for the 5 minute or 15 minute time frame** Please mess around to find your comfort zone and back test the results.
The lower the period number the more noise this creates on the market. The higher the number the less noise and more potential for a stronger zone.
Keep it simple
RVOL - Relative Volume IntradayIn the context of intraday trading, RVOL stands for Relative Volume. It is a technical indicator that compares the current volume of a stock to its average volume over a specified period. A RVOL above 1 suggests higher than average trading volume, potentially indicating increased interest and volatility.
The precise definition of real time relative volume is current cumulative volume up to the time of day divided by average cumulative volume up to this time of day. It means for example taking the volume from 09:45 to 10:00 and comparing it to what it does from 09:45 to 10:00 every day.
This indicator supports all timeframes from1 minute to 4 hours.
PhenLabs - Market Fluid Dynamics📊 Market Fluid Dynamics -
Version: PineScript™ v6
📌 Description
The Market Fluid Dynamics - Phen indicator is a new thinking regarding market analysis by modeling price action, volume, and volatility using a fluid system. It attempts to offer traders control over more profound market forces, such as momentum (speed), resistance (thickness), and buying/selling pressure. By visualizing such dynamics, the script allows the traders to decide on the prevailing market flow, its power, likely continuations, and zones of calmness and chaos, and thereby allows improved decision-making.
This measure avoids the usual difficulty of reconciling multiple, often contradictory, market indications by including them within a single overarching model. It moves beyond traditional binary indicators by providing a multi-dimensional view of market behavior, employing fluid dynamic analogs to describe complex interactions in an accessible manner.
🚀 Points of Innovation
Integrated Fluid Dynamics Model: Combines velocity, viscosity, pressure, and turbulence into a single indicator.
Normalized Metrics: Uses ATR and other normalization techniques for consistent readings across different assets and timeframes.
Dynamic Flow Visualization: Main flow line changes color and intensity based on direction and strength.
Turbulence Background: Visually represents market stability with a gradient background, from calm to turbulent.
Comprehensive Dashboard: Provides an at-a-glance summary of key fluid dynamic metrics.
Multi-Layer Smoothing: Employs several layers of EMA smoothing for a clearer, more responsive main flow line.
🔧 Core Components
Velocity Component: Measures price momentum (first derivative of price), normalized by ATR. It indicates the speed and direction of price changes.
Viscosity Component: Represents market resistance to price changes, derived from ATR relative to its historical average. Higher viscosity suggests it’s harder for prices to move.
Pressure Component: Quantifies the force created by volume and price range (close - open), normalized by ATR. It reflects buying or selling pressure.
Turbulence Detection: Calculates a Reynolds number equivalent to identify market stability, ranging from laminar (stable) to turbulent (chaotic).
Main Flow Indicator: Combines the above components, applying sensitivity and smoothing, to generate a primary signal of market direction and strength.
🔥 Key Features
Advanced Smoothing Algorithm: Utilizes multiple EMA layers on the raw flow calculation for a fluid and responsive main flow line, reducing noise while maintaining sensitivity.
Gradient Flow Coloring: The main flow line dynamically changes color from light to deep blue for bullish flow and light to deep red for bearish flow, with intensity reflecting flow strength. This provides an immediate visual cue of market sentiment and momentum.
Turbulence Level Background: The chart background changes color based on calculated turbulence (from calm gray to vibrant orange), offering an intuitive understanding of market stability and potential for erratic price action.
Informative Dashboard: A customizable on-screen table displays critical metrics like Flow State, Flow Strength, Market Viscosity, Turbulence, Pressure Force, Flow Acceleration, and Flow Continuity, allowing traders to quickly assess current market conditions.
Configurable Lookback and Sensitivity: Users can adjust the base lookback period for calculations and the sensitivity of the flow to viscosity, tailoring the indicator to different trading styles and market conditions.
Alert Conditions: Pre-defined alerts for flow direction changes (positive/negative crossover of zero line) and detection of high turbulence states.
🎨 Visualization
Main Flow Line: A smoothed line plotted below the main chart, colored blue for bullish flow and red for bearish flow. The intensity of the color (light to dark) indicates the strength of the flow. This line crossing the zero line can signal a change in market direction.
Zero Line: A dotted horizontal line at the zero level, serving as a baseline to gauge whether the market flow is positive (bullish) or negative (bearish).
Turbulence Background: The indicator pane’s background color changes based on the calculated turbulence level. A calm, almost transparent gray indicates low turbulence (laminar flow), while a more vibrant, semi-transparent orange signifies high turbulence. This helps traders visually assess market stability.
Dashboard Table: An optional table displayed on the chart, showing key metrics like ‘Flow State’, ‘Flow Strength’, ‘Market Viscosity’, ‘Turbulence’, ‘Pressure Force’, ‘Flow Acceleration’, and ‘Flow Continuity’ with their current values and qualitative descriptions (e.g., ‘Bullish Flow’, ‘Laminar (Stable)’).
📖 Usage Guidelines
Setting Categories
Show Dashboard - Default: true; Range: true/false; Description: Toggles the visibility of the Market Fluid Dynamics dashboard on the chart. Enable to see key metrics at a glance.
Base Lookback Period - Default: 14; Range: 5 - (no upper limit, practical limits apply); Description: Sets the primary lookback period for core calculations like velocity, ATR, and volume SMA. Shorter periods make the indicator more sensitive to recent price action, while longer periods provide a smoother, slower signal.
Flow Sensitivity - Default: 0.5; Range: 0.1 - 1.0 (step 0.1); Description: Adjusts how much the market viscosity dampens the raw flow. A lower value means viscosity has less impact (flow is more sensitive to raw velocity/pressure), while a higher value means viscosity has a greater dampening effect.
Flow Smoothing - Default: 5; Range: 1 - 20; Description: Controls the length of the EMA smoothing applied to the main flow line. Higher values result in a smoother flow line but with more lag; lower values make it more responsive but potentially noisier.
Dashboard Position - Default: ‘Top Right’; Range: ‘Top Right’, ‘Top Left’, ‘Bottom Right’, ‘Bottom Left’, ‘Middle Right’, ‘Middle Left’; Description: Determines the placement of the dashboard on the chart.
Header Size - Default: ‘Normal’; Range: ‘Tiny’, ‘Small’, ‘Normal’, ‘Large’, ‘Huge’; Description: Sets the text size for the dashboard header.
Values Size - Default: ‘Small’; Range: ‘Tiny’, ‘Small’, ‘Normal’, ‘Large’; Description: Sets the text size for the metric values in the dashboard.
✅ Best Use Cases
Trend Identification: Identifying the dominant market flow (bullish or bearish) and its strength to trade in the direction of the prevailing trend.
Momentum Confirmation: Using the flow strength and acceleration to confirm the conviction behind price movements.
Volatility Assessment: Utilizing the turbulence metric to gauge market stability, helping to adjust position sizing or avoid choppy conditions.
Reversal Spotting: Watching for divergences between price and flow, or crossovers of the main flow line above/below the zero line, as potential reversal signals, especially when combined with changes in pressure or viscosity.
Swing Trading: Leveraging the smoothed flow line to capture medium-term market swings, entering when flow aligns with the desired trade direction and exiting when flow weakens or reverses.
Intraday Scalping: Using shorter lookback periods and higher sensitivity to identify quick shifts in flow and turbulence for short-term trading opportunities, particularly in liquid markets.
⚠️ Limitations
Lagging Nature: Like many indicators based on moving averages and lookback periods, the main flow line can lag behind rapid price changes, potentially leading to delayed signals.
Whipsaws in Ranging Markets: During periods of low volatility or sideways price action (high viscosity, low flow strength), the indicator might produce frequent buy/sell signals (whipsaws) as the flow oscillates around the zero line.
Not a Standalone System: While comprehensive, it should be used in conjunction with other forms of analysis (e.g., price action, support/resistance levels, other indicators) and not as a sole basis for trading decisions.
Subjectivity in Interpretation: While the dashboard provides quantitative values, the interpretation of “strong” flow, “high” turbulence, or “significant” acceleration can still have a subjective element depending on the trader’s strategy and risk tolerance.
💡 What Makes This Unique
Fluid Dynamics Analogy: Its core strength lies in translating complex market interactions into an intuitive fluid dynamics framework, making concepts like momentum, resistance, and pressure easier to visualize and understand.
Market View: Instead of focusing on a single aspect (like just momentum or just volatility), it integrates multiple factors (velocity, viscosity, pressure, turbulence) to provide a more comprehensive picture of market conditions.
Adaptive Visualization: The dynamic coloring of the flow line and the turbulence background provide immediate, adaptive visual feedback that changes with market conditions.
🔬 How It Works
Price Velocity Calculation: The indicator first calculates price velocity by measuring the rate of change of the closing price over a given ‘lookback’ period. The raw velocity is then normalized by the Average True Range (ATR) of the same lookback period. Normalization enables comparison of momentum between assets or timeframes by scaling for volatility. This is the direction and speed of initial price movement.
Viscosity Calculation: Market ‘viscosity’ or resistance to price movement is determined by looking at the current ATR relative to its longer-term average (SMA of ATR over lookback * 2). The further the current ATR is above its average, the lower the viscosity (less resistance to price movement), and vice-versa. The script inverts this relationship and bounds it so that rising viscosity means more resistance.
Pressure Force Measurement: A ‘pressure’ variable is calculated as a function of the ratio of current volume to its simple moving average, multiplied by the price range (close - open) and normalized by ATR. This is designed to measure the force behind price movement created by volume and intraday price thrusts. This pressure is smoothed by an EMA.
Turbulence State Evaluation: A equivalent ‘Reynolds number’ is calculated by dividing the absolute normalized velocity by the viscosity. This is the proclivity of the market to move in a chaotic or orderly fashion. This ‘reynoldsValue’ is smoothed with an EMA to get the ‘turbulenceState’, which indicates if the market is laminar (stable), transitional, or turbulent.
Main Flow Derivation: The ‘rawFlow’ is calculated by taking the normalized velocity, dampening its impact based on the ‘viscosity’ and user-input ‘sensitivity’, and orienting it by the sign of the smoothed ‘pressureSmooth’. The ‘rawFlow’ is then put through multiple layers of exponential moving average (EMA) smoothing (with ‘smoothingLength’ and derived values) to reach the final ‘mainFlow’ line. The extensive smoothing is designed to give a smooth and clear visualization of the overall market direction and magnitude.
Dashboard Metrics Compilation: Additional metrics like flow acceleration (derivative of mainFlow), and flow continuity (correlation between close and volume) are calculated. All primary components (Flow State, Strength, Viscosity, Turbulence, Pressure, Acceleration, Continuity) are then presented in a user-configurable dashboard for ease of monitoring.
💡 Note:
The “Market Fluid Dynamics - Phen” indicator is designed to offer a unique perspective on market behavior by applying principles from fluid dynamics. It’s most effective when used to understand the underlying forces driving price rather than as a direct buy/sell signal generator in isolation. Experiment with the settings, particularly the ‘Base Lookback Period’, ‘Flow Sensitivity’, and ‘Flow Smoothing’, to find what best suits your trading style and the specific asset you are analyzing. Always combine its insights with robust risk management practices.
D/W Open [flasi]Vertical Session Lines:
Draws vertical lines at the start of each new trading session (default: 5 PM)
Sunday sessions appear with black/dark lines
Weekday sessions appear with white/light lines
Horizontal Price Lines (optional):
Can show horizontal lines at the opening prices
Sunday opens marked with dark lines
Weekday opens marked with light lines
Toggle on/off with "Show Horizontal Lines" input
Filt ADR🟠 Script Name: Filtered Average Daily Range (Filt ADR)
This script calculates a filtered version of the Average Daily Range (ADR) based on the last 14 daily candles. It's designed to reduce the influence of unusually high or low daily ranges (outliers) by applying a filter before calculating the average.
🔧 How It Works — Step by Step
1. Calculate Daily Ranges (High - Low)
It retrieves the daily price ranges (difference between daily high and low) for the last 14 days using request.security() with the "D" (daily) timeframe.
pinescript
Копировать
Редактировать
high - low // today's daily range
high - low // yesterday's daily range
...
These values are stored into individual variables dr0 to dr13.
2. Build an Array of Daily Ranges
An array named ranges is used to store the 14 daily ranges, but only if they are not na (missing data). This avoids errors during processing.
3. Calculate the Initial (Unfiltered) Average Range
The script sums all values in the ranges array and calculates their average:
pinescript
Копировать
Редактировать
avg_all = total sum of ranges / number of valid entries
4. Filter Out Outliers
Now it filters the values in ranges:
Only keeps the ranges that are between 0.5×avg_all and 2×avg_all.
This is to remove abnormally small or large daily ranges that could distort the average.
The filtered values are added to a second array called filtered.
5. Calculate the Filtered ADR
Finally, it calculates the average of the filtered daily ranges:
pinescript
Копировать
Редактировать
avg_filt = sum of filtered ranges / number of filtered values
This is the Filtered ADR.
6. Plot the Result
The result (avg_filt) is plotted as an orange line on the chart. It updates on each bar (depending on the current timeframe you're viewing) but the underlying data is based on the last 14 daily candles.
pinescript
Копировать
Редактировать
plot(avg_filt, title="Filtered ADR", color=color.orange, linewidth=2)
✅ Use Case
This script is useful for traders who use the Average Daily Range (ADR) to:
Estimate expected price movement during a day
Set volatility-based stop-loss or take-profit levels
Identify days with unusually high or low volatility
By filtering out extreme values, it provides a more stable and reliable estimate of daily volatility.
Crypto Portfolio vs BTC – Custom Blend TrackerThis tool tracks the performance of a custom-weighted crypto portfolio (SUI, BTC, SOL, DEEP, DOGE, LOFI, and Other) against BTC. Simply input your start date to anchor performance and compare your basket’s relative strength over time. Ideal for portfolio benchmarking, alt-season tracking, or macro trend validation.
Supports all timeframes. Based on BTC-relative returns (not USD). Open-source and customizable.
MTF Trend + Crossover AlertsMulti-Timeframe Trend Dashboard + Crossover Signals
This indicator provides a clean, real-time visual dashboard of trend directions across multiple timeframes (1m, 5m, 15m, 30m, 1H, 4H, 1D), based on moving average crossovers.
🔹 Trend Detection Logic:
When the fast MA is above the slow MA → Bullish trend 🚀
When the fast MA is below the slow MA → Bearish trend 🐻
When both are equal or ranging → Neutral
📊 Dashboard Features:
Displays trend status for each selected timeframe
Color-coded cells (green = bullish, red = bearish, gray = neutral)
Includes emojis for visual clarity
🔔 Buy/Sell Alerts:
On the active chart timeframe, buy and sell signals are plotted when the fast MA crosses above or below the slow MA. You can also enable TradingView alerts based on these events.
🧩 Customizable Inputs:
Fast MA period
Slow MA period
MA type (EMA or SMA)
🔧 Ideal for traders who want a quick snapshot of market structure across multiple timeframes and receive real-time crossover signals on their current chart.
Volume-Weighted Price MovementThe Volume-Weighted Price Movement (VWPM) indicator is an easy to read technical analysis tool that analyses how volume and price movement work together to drive market momentum.
How It Works
The VWPM indicator tracks two primary components:
Bullish Movement (green line): Measures the upward price movement weighted by volume. When price closes above the open, this component calculates how much buying pressure exists by multiplying the price change (close - open) by the volume of that period.
Bearish Movement (red line): Measures the downward price movement weighted by volume. When price closes below the open, this component calculates how much selling pressure exists by multiplying the price change (open - close) by the volume of that period.
Bull-Bear Difference (lime/orange line): Shows the net momentum by subtracting bearish movement from bullish movement, providing an at-a-glance view of which force is dominant.
The VWPM integrates volume data to identify whether price movements are backed by significant participation. A large price move with low volume carries less weight than the same move with high volume, providing a more accurate reflection of market strength.
A shorter lookback period makes the indicator more responsive to recent price action, while a longer period smooths out market noise for trend identification.
Interpretation
Bullish Signals
When the green line (bull movement) rises and stays above the red line
When the Bull-Bear Difference line crosses above zero and maintains positive momentum
Divergence between price making lower lows but the bull line making higher lows (hidden strength)
Bearish Signals
When the red line (bear movement) rises and stays above the green line
When the Bull-Bear Difference line crosses below zero and maintains negative momentum
Divergence between price making higher highs but the bull line making lower highs (hidden weakness)
open source, if anyone makes the script better please let me know :)
Dynamic and ATR Supertrend**Dynamic and ATR Supertrend Indicator**
The Dynamic and ATR Supertrend indicator is a powerful tool for traders who want to identify trends and make informed decisions about their investments. This indicator combines the benefits of the Supertrend indicator with the dynamic multiplier adjustment and ATR (Average True Range) calculation to provide a more accurate and reliable trend identification system.
**Key Features:**
* **Dynamic Multiplier Adjustment:** The indicator uses a dynamic multiplier adjustment to adapt to changing market conditions. This ensures that the indicator remains sensitive to trend changes and provides accurate signals.
* **ATR Calculation:** The indicator uses the ATR (Average True Range) calculation to determine the volatility of the market. This helps to identify the optimal multiplier value for the Supertrend calculation.
* **Supertrend Calculation:** The indicator uses the Supertrend calculation to identify trends and provide buy and sell signals.
* **Higher Timeframe Analysis:** The indicator allows for higher timeframe analysis, which enables traders to identify trends and make decisions based on a broader market perspective.
* **Alert System:** The indicator includes an alert system that notifies traders of trend changes and price crosses, allowing them to make timely and informed decisions.
**How it Works:**
1. The indicator calculates the ATR (Average True Range) of the market to determine the volatility.
2. The indicator uses the dynamic multiplier adjustment to adapt to changing market conditions.
3. The indicator calculates the Supertrend value using the ATR and dynamic multiplier.
4. The indicator identifies trends and provides buy and sell signals based on the Supertrend value.
5. The indicator includes an alert system that notifies traders of trend changes and price crosses.
**Benefits:**
* **Improved Trend Identification:** The indicator provides a more accurate and reliable trend identification system, allowing traders to make informed decisions.
* **Adaptability:** The indicator adapts to changing market conditions, ensuring that it remains sensitive to trend changes and provides accurate signals.
* **Flexibility:** The indicator allows for higher timeframe analysis, enabling traders to identify trends and make decisions based on a broader market perspective.
* **Alert System:** The indicator includes an alert system that notifies traders of trend changes and price crosses, allowing them to make timely and informed decisions.
**Conclusion:**
The Dynamic and ATR Supertrend indicator is a powerful tool for traders who want to identify trends and make informed decisions about their investments. With its dynamic multiplier adjustment, ATR calculation, and Supertrend calculation, this indicator provides a more accurate and reliable trend identification system. The indicator's adaptability, flexibility, and alert system make it an essential tool for traders who want to stay ahead of the market and make profitable trades.
P1 & P2 Helper by Brighter DataThis script draws the current high & low on the chart for multiple timeframes in P1/P2 format: P1 is either the highest or lowest point of the timeframe, whichever came first. P2 is whichever came second.
For example, on the daily timeframe if the daily low is marked out as P1 and the daily high is P2, it means that the daily low was put in before the daily high. This mapping of highs/lows is used as support for the BD dashboard and its statistics.
muraThis indicator is based on moving averages over a certain period using Fibonacci numbers. Pivot points are provided for active trading, which help to trade from the levels.
The indicator takes into account the trend direction, identifies key levels and possible targets.
You can also easily set up notifications for trend changes and receive them in the tradingview app or as an audio signal on your computer. This will help you not to miss anything in the market.
The moving averages with a uniquely recognized trend. 6 moving averages create 3 important trends. The first trend is local from your time frame, the second is global from your time frame and the third trend is predicated for tracking the global trend on an older time frame.
I have identified ways to trade my indicator:
- On a 4-hour time frame you can open trades in one direction with a change in the global trend. That is, if the red trend changes to green, it is time to open longs and vice versa.
- The global trend works best when paired with the local trend. That is, if the global trend is green, we wait until the local trend becomes green and then open longs, as well as in the opposite direction.
- Opening positions when the local trend changes towards the global trend also works well on a 12 hour time frame.
This indicator can be used on any timeframes from 1 minute to 1 year. You can also select levels for trading:
- intraday
- intra-week
- within a month
Note:
- Before you start trading, I strongly recommend you to do your own analysis on your own time frame or pairs
- Recommended for use with additional technical analysis tools
Support and Resistance Power Channel [ChartPrime]The Support and Resistance Power Channel indicator helps traders visualize key support and resistance zones, along with buy and sell power within those zones. By identifying the highest and lowest prices within a defined range, this indicator provides insight into potential price reversals and market strength. It calculates the strength of buy and sell pressure within the zones and includes additional features like midline values and delayed signals to reduce false breakouts.
⯁ KEY FEATURES AND HOW TO USE
⯌ Support and Resistance Zones :
This indicator identifies dynamic support (lower zone) and resistance (upper zone) levels, allowing traders to easily visualize key price levels. These zones are customizable with settings for the length of the channel and how far the zones extend into the future. The zones can be used to predict areas of potential price reversal or consolidation.
⯌ Buy and Sell Power :
Within the upper resistance zone, the indicator calculates Sell Power based on the number of bearish candles, while the lower support zone calculates Buy Power based on bullish candles. This feature helps traders understand the strength of buying or selling activity within each zone.
Example of buy and sell power tracking:
⯌ Highest, Lowest, and Mid Price Levels :
The indicator marks the highest and lowest price levels within the channel with an "X," and displays these values at the end of the channel. Additionally, the midline (average of the high and low) is plotted with a dotted line, showing a key area that the price often retests during trends.
⯌ Delayed Signal Markers :
To prevent false breakouts, the indicator includes a 2-bar delay for signals. These signals are plotted when the price crosses above or below the resistance or support zones, confirming potential reversals or breakouts. Arrows or diamonds are used to mark these signals on the chart.
Example of delayed breakout signals on the chart:
⯌ Extend Zones into the Future :
In the settings, traders can extend the support and resistance zones further into the future, allowing for ongoing analysis even after the initial levels have been identified. This feature can help with forward-looking trade planning.
⯁ USER INPUTS
Length : Defines the number of bars used to calculate the support and resistance zones.
Extend : Sets how far the support and resistance zones should be extended into the future.
Top and Bottom Colors : Allows customization of the colors for the support and resistance zones.
⯁ CONCLUSION
The Support and Resistance Power Channel indicator provides a powerful and visually intuitive way to track key market levels, buy and sell pressure, and potential reversals. With its real-time zone plotting and the calculation of power within each zone, it offers traders essential insights for making more informed trading decisions.