My Bar IndexA simple script to display bar index at the bottom of the chart. It will be a handy tool for those who like to do bar counts.
Indicators and strategies
MA Cross with Monthly LinesA dual-purpose trading indicator combining Moving Average (MA) crossovers with a Monthly Line Separator. It visually tracks trend shifts using MA crosses while marking monthly boundaries for clear historical reference. Ideal for traders seeking both momentum signals and structured timeframes, enhancing decision-making with a streamlined, all-in-one charting tool.
Body Percentage of Range (Colored)Short Description:
This indicator measures the dominance of the candle's body relative to its total range (High - Low), providing a visual gauge of intra-candle strength versus indecision. Columns are colored based on whether the body constitutes more or less than a defined percentage (default 50%) of the candle's total height.
Detailed Description:
What it Does:
The "Body Percentage of Range" indicator calculates, for each candle, what percentage of the total price range (High minus Low) is occupied by the candle's body (absolute difference between Open and Close).
A value of 100% means the candle has no wicks (a Marubozu), indicating strong conviction during that period.
A value of 0% means the candle has no body (a Doji), indicating perfect indecision.
Values in between show the relative balance between the directional move (body) and the price exploration/rejection (wicks).
How to Interpret:
The indicator plots this percentage as columns:
Column Height: Represents the percentage of the body relative to the total range. Higher columns indicate a larger body dominance.
Column Color:
Green Columns: Appear when the body percentage is above the user-defined threshold (default 50%). This suggests that the directional move within the candle was stronger than the indecision (wicks). Often seen during trending moves or strong momentum candles.
Red Columns: Appear when the body percentage is at or below the user-defined threshold (default 50%). This suggests that wicks dominate the candle (body is 50% or less of the range), indicating significant indecision, struggle between buyers and sellers, or potential reversals. These are common in choppy, consolidating, or reversal market conditions.
Orange Line (Optional MA): A Simple Moving Average (SMA) of the body percentages is plotted to help smooth the readings and identify broader periods where candle structure indicates more trending (high MA) vs. ranging/indecisive (low MA) characteristics.
Potential Use Cases:
Identifying Choppy vs. Trending Markets: Sustained periods of low, predominantly red columns (and often a low/declining MA) can signal a choppy, range-bound market where trend-following strategies might underperform. Conversely, periods with frequent high, green columns suggest a more trending environment.
Confirming Breakouts/Momentum: High green columns appearing alongside increased volume during a breakout can add conviction to the move's strength.
Spotting Potential Exhaustion/Reversals: A very tall green column after a strong trend, followed immediately by a low red column (like a Doji or Spinning Top pattern appearing on the price chart), might signal potential exhaustion or a pending reversal, indicating indecision has suddenly entered the market.
Filtering Entries: Traders might avoid taking entries (especially trend-following ones) when the indicator shows a consistent pattern of low red columns, suggesting high market indecision.
Settings:
Color Threshold %: Allows you to set the percentage level above which columns turn green (default is 50%).
Smoothing MA Length: Adjusts the lookback period for the Simple Moving Average.
Disclaimer:
This indicator is a tool for technical analysis and should be used in conjunction with other methods (like price action, volume analysis, other indicators) and robust risk management. It does not provide direct buy/sell signals and past performance is not indicative of future results.
MFI Module (Raw Output)Outputs raw Money Flow Index (MFI) values for modular use in other scripts.
Useful for confluence-based strategies that reference external modules via request.security().
Malama's big MACDMalama's Big MACD" is a versatile TradingView indicator designed to help traders identify high-probability buy and sell opportunities in fast-moving markets, particularly on short timeframes like 1-5 minute charts. It solves the common problem of filtering out market noise by combining a predictive price model (Stochastic Price Predictor, or SPP) with a comprehensive set of momentum and trend indicators (MACD, RSI, moving averages, and more). Whether you're scalping quick trades or confirming longer-term trends, this tool provides clear signals and visual cues to boost confidence and timing.
The indicator operates in two main layers:
Stochastic Price Predictor (SPP): This predictive engine forecasts short-term price movements using a simplified Monte Carlo simulation. It analyzes recent price changes, volatility (via ATR), and Stochastic RSI to estimate the likelihood of an upward or downward move within a set horizon (e.g., 3 bars). Buy signals trigger when the probability of an upward move exceeds a confidence threshold (default 65%) and the market isn’t overbought, while sell signals activate for downward moves when not oversold.
Comprehensive Indicator Suite: This layer combines classic tools like MACD (for momentum), RSI (for overbought/oversold conditions), moving averages (for trend direction), and ATR (for volatility-based levels). It generates signals when these align—e.g., a bullish MACD crossover paired with an oversold RSI and a rising fast MA. A unique "JKH RSI" (a fast RSI variant) adds extra confirmation, while manual sentiment input lets you tweak signals based on your market bias.
The script overlays these signals on your chart, color-codes trends, and highlights key levels (like stop-loss and profit targets) to make decision-making intuitive.
How to Use It
Adding to TradingView:
Copy the script into TradingView’s Pine Editor (under "Indicators" > "Pine Editor").
Click "Save," name it (e.g., "Malama's Big MACD"), then "Add to Chart."
Configuring Settings:
Open the indicator’s settings via the gear icon.
Adjust SPP settings (e.g., "Lookback Period" to 5 for short-term focus, "Confidence Threshold" to 65% for faster signals).
Tweak the Comprehensive settings (e.g., MACD lengths: 5/13/5 for scalping, or longer like 12/26/9 for swing trading).
Toggle visuals (e.g., enable "Show Predicted Range" or "Highlight Volume Spikes") under "Visual Settings."
Interpreting Signals:
SPP Signals: Green "BUY (SPP)" labels below bars or red "SELL (SPP)" above bars indicate predictive opportunities.
Comprehensive Signals: Lime "BUY (Comp)" or red "SELL (Comp)" labels show confirmed momentum trades. Blue/orange MACD arrows and green/red RSI dots add context.
Trend Line: Green means uptrend (fast MA > slow MA), red is downtrend, orange is neutral.
Extras: Purple ATR lines suggest stop-loss/profit targets; yellow backgrounds flag volume spikes.
Tips:
Beginners: Start with default settings and focus on SPP signals for quick trades. Use ATR lines to set safe exits.
Pros: Experiment with "Sentiment Input" (-1 to 1) to bias signals, or adjust MACD/MA lengths for your timeframe. Pair with volume spikes for breakout confirmation.
Originality
What makes "Malama's Big MACD" stand out is its hybrid approach: it fuses a predictive Monte Carlo model (SPP) with a robust multi-indicator confirmation system. Unlike standard MACD or RSI tools, it offers:
Short-Term Prediction: SPP’s probability-based signals cater to scalpers, rare in most indicators.
Layered Confirmation: Combines MACD, RSI, fast/slow MAs, and a custom JKH RSI for stronger filtering.
Visual Clarity: Trend coloring, predicted price ranges, and ATR-based levels make it a one-stop shop.
Flexibility: Adjustable for scalping or swing trading, with manual sentiment for personalized tuning.
This isn’t just another MACD—it’s a dynamic, all-in-one toolkit that adapts to your trading style, blending foresight with precision.
Zig Zag Trend Metrics“ Zig Zag Trend Metrics ” is a highly versatile indicator, built on the classic Zig Zag concept and thoughtfully designed for technical traders seeking a deeper, more structured view of market dynamics. This tool identifies significant swing highs and lows, classifies them, and annotates each with key metrics, offering a precise snapshot of each movement. It enhances visual analysis by drawing connecting lines that outline the flow of market structure, making trend progression and reversals instantly recognizable. Beyond visual mapping, it features a compact, real-time statistics table that calculates the average price and time deltas for both bullish and bearish swings, giving traders deep insights into trend momentum and rhythm. With extensive customization options, this indicator adapts seamlessly to vast trading styles or chart setups, empowering traders to spot patterns, evaluate trend strength, and make more confident, data-backed decisions.
❖ FEATURES
✦ Automatic Swing Detection
At its core, this indicator automatically identifies swing highs and lows based on a customizable lookback period (default: 10 bars).
✦ Labeling Swing Points
Each swing is visualized with a label that includes:
Swing Classification : “HH” (Higher High), “LH” (Lower High), “LL” (Lower Low), or “HL” (Higher Low).
Price Difference : Displayed in percentage or absolute value from the previous opposite swing.
Time Difference : The number of bars since the previous swing of the opposite type.
These labels offer traders clear, immediate insight into price movements and structural changes.
✦ Visual Lines
The indicator draws three types of lines:
Bullish Lines: Connect recent swing lows to new swing highs, indicating uptrends.
Bearish Lines: Connect recent swing highs to new swing lows, indicating downtrends.
Range Lines: Connect consecutive highs or lows to outline price channels.
Each line type can be color-coded and customized for visibility.
✦ Statistics Table
An on-screen metrics table provides a live summary of trends. Script uses Relative Averaging to smooth price and time changes. This prevents outliers from distorting the data and provides a more reliable sense of typical swing behavior.
Uptrend Metrics: Shows average price and time differences from recent bullish swings.
Downtrend Metrics: Shows the same for bearish swings.
🛠️ Customization Options
Ability to tailor the indicator to suit their strategy and aesthetic preferences:
Swing Period: Adjust sensitivity to short- or long-term swings.
Color Settings: Customize line and label colors.
Label Display: Choose between absolute or percentage price differences.
Table Settings: Modify size, location, or visibility.
This makes the indicator highly flexible and useful across various timeframes and assets.
PivotLabelsLibrary "PivotLabels"
drawPivots(qtyLabels, leftLegs, rightLegs)
Displays a label for each of the last `qtyLabels` pivots.
Colors high pivots in green, low pivots in red, and breached pivots in gray.
Parameters:
qtyLabels (int) : (simple int) Quantity of last labels to display.
leftLegs (int) : (simple int) Left pivot legs.
rightLegs (int) : (simple int) Right pivot legs.
Returns: Nothing.
Gioteen-NormThe "Gioteen-Norm" indicator is a versatile and powerful technical analysis tool designed to help traders identify key market conditions such as divergences, overbought/oversold levels, and trend strength. By normalizing price data relative to a moving average and standard deviation, this indicator provides a unique perspective on price behavior, making it easier to spot potential reversals or continuations in the market.
The indicator calculates a normalized value based on the difference between the selected price and its moving average, scaled by the standard deviation over a user-defined period. Additionally, an optional moving average of this normalized value (Green line) can be plotted to smooth the output and enhance signal clarity. This dual-line approach makes it an excellent tool for both short-term and long-term traders.
***Key Features
Divergence Detection: The Gioteen-Norm excels at identifying divergences between price action and the normalized indicator value. For example, if the price makes a higher high while Red line forms a lower high, it may signal a bearish divergence, hinting at a potential reversal.
Overbought/Oversold Conditions: Extreme values of Red line (e.g., significantly above or below zero) can indicate overbought or oversold conditions, helping traders anticipate pullbacks or bounces.
Trend Strength Insight: The normalized output reflects how far the price deviates from its average, providing a measure of momentum and trend strength.
**Customizable Parameters
Traders can adjust the period, moving average type, applied price, and shift to suit their trading style and timeframe.
**How It Works
Label1 (Red Line): Represents the normalized price deviation from a user-selected moving average (SMA, EMA, SMMA, or LWMA) divided by the standard deviation over the specified period. This line highlights the relative position of the price compared to its historical range.
Label2 (Green Line, Optional): A moving average of Label1, which smooths the normalized data to reduce noise and provide clearer signals. This can be toggled on or off via the "Draw MA" option.
**Inputs
Period: Length of the lookback period for normalization (default: 100).
MA Method: Type of moving average for normalization (SMA, EMA, SMMA, LWMA; default: EMA).
Applied Price: Price type used for calculation (Close, Open, High, Low, HL2, HLC3, HLCC4; default: Close).
Shift: Shifts the indicator forward or backward (default: 0).
Draw MA: Toggle the display of the Label2 moving average (default: true).
MA Period: Length of the moving average for Label2 (default: 50).
MA Method (Label2): Type of moving average for Label2 (SMA, EMA, SMMA, LWMA; default: SMA).
**How to Use
Divergence Trading: Look for discrepancies between price action and Label1. A bullish divergence (higher low in Label1 vs. lower low in price) may suggest a buying opportunity, while a bearish divergence could indicate a selling opportunity.
Overbought/Oversold Levels: Monitor extreme Label1 values. For instance, values significantly above +2 or below -2 could indicate overextension, though traders should define thresholds based on the asset and timeframe.
Trend Confirmation: Use Label2 to confirm trend direction. A rising Label2 suggests increasing bullish momentum, while a declining Label2 may indicate bearish pressure.
Combine with Other Tools: Pair Gioteen-Norm with support/resistance levels, RSI, or volume indicators for a more robust trading strategy.
**Notes
The indicator is non-overlay, meaning it plots below the price chart in a separate panel.
Avoid using a Period value of 1, as it may lead to unstable results due to insufficient data for standard deviation calculation.
This tool is best used as part of a broader trading system rather than in isolation.
**Why Use Gioteen-Norm?
The Gioteen-Norm indicator offers a fresh take on price normalization, blending statistical analysis with moving average techniques. Its flexibility and clarity make it suitable for traders of all levels—whether you're scalping on short timeframes or analyzing long-term trends. By publishing this for free, I hope to contribute to the TradingView community and help traders uncover hidden opportunities in the markets.
**Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Always backtest and validate any strategy before trading with real capital, and use proper risk management.
Today's Daily LevelsTrack daily price action like a pro with instant visibility of key levels, percentages, and P&L values - all in one clean view.
• Shows Daily Open, High, Low & Median levels
• Dynamic color-coding: green above open, red below
• Real-time price labels with:
Exact price levels
% distance between levels
Point values
Dollar values per contract
• Auto-repaints on timeframe changes
• 30min alerts for median crosses
VWAP with Bank/Psychological Levels by TBTPH V.2This Pine Script defines a custom VWAP (Volume Weighted Average Price) indicator with several additional features, such as dynamic bands, bank levels, session tracking, and price-crossing detection. Here's a breakdown of the main elements and logic:
Key Components:
VWAP Settings:
The VWAP calculation is based on a source (e.g., hlc3), with an option to hide the VWAP on daily (1D) or higher timeframes.
You can choose the VWAP "anchor period" (Session, Week, Month, etc.) for adjusting the VWAP calculation to different time scales.
VWAP Bands:
The script allows you to plot bands above and below the VWAP line.
You can choose the calculation mode for the bands (Standard Deviation or Percentage), and the bands' width can be adjusted with a multiplier.
These bands are drawn using a gray color and can be filled to create a shaded area.
Bank Level Calculation:
The concept of bank levels is added as horizontal levels spaced by a user-defined multiplier.
These levels are drawn as dotted lines, and price labels are added to indicate each level.
You can define how many bank levels are drawn above and below the base level.
Session Indicators (LSE/NYSE):
The script identifies the open and close times of the London Stock Exchange (LSE) and the New York Stock Exchange (NYSE) sessions.
It limits the signals to only appear during these sessions.
VWAP Crossing Logic:
If the price crosses the VWAP, the script colors the candle body white to highlight this event.
Additional Plot Elements:
A background color is applied based on whether the price is above or below the 50-period Simple Moving Average (SMA).
The VWAP line dynamically changes color based on whether the price is above or below it (green if above, red if below).
Explanation of Key Sections:
1. VWAP and Band Calculation:
pinescript
Copy
= ta.vwap(src, isNewPeriod, 1)
vwapValue := _vwap
stdevAbs = _stdevUpper - _vwap
bandBasis = calcModeInput == "Standard Deviation" ? stdevAbs : _vwap * 0.01
upperBandValue1 := _vwap + bandBasis * bandMult_1
lowerBandValue1 := _vwap - bandBasis * bandMult_1
This code calculates the VWAP value (vwapValue) and standard deviation-based bands (upperBandValue1 and lowerBandValue1).
2. Bank Levels:
pinescript
Copy
baseLevel = math.floor(currentPrice / bankLevelMultiplier) * bankLevelMultiplier
The base level for the bank levels is calculated by rounding the current price to the nearest multiple of the bank level multiplier.
Then, a loop creates multiple bank levels:
pinescript
Copy
for i = -bankLevelRange to bankLevelRange
level = baseLevel + i * bankLevelMultiplier
line.new(x1=bar_index - 50, y1=level, x2=bar_index + 50, y2=level, color=highlightColor, width=2, style=line.style_dotted)
label.new(bar_index, level, text=str.tostring(level), style=label.style_label_left, color=labelBackgroundColor, textcolor=labelTextColor, size=size.small)
3. Session Logic (LSE/NYSE):
pinescript
Copy
lse_open = timestamp("GMT", year, month, dayofmonth, 8, 0)
lse_close = timestamp("GMT", year, month, dayofmonth, 16, 30)
nyse_open = timestamp("GMT-5", year, month, dayofmonth, 9, 30)
nyse_close = timestamp("GMT-5", year, month, dayofmonth, 16, 0)
The script tracks session times and filters the signals based on whether the current time falls within the LSE or NYSE session.
4. VWAP Crossing Detection:
pinescript
Copy
candleCrossedVWAP = (close > vwapValue and close <= vwapValue) or (close < vwapValue and close >= vwapValue)
barcolor(candleCrossedVWAP ? color.white : na)
If the price crosses the VWAP, the candle's body is colored white to highlight the cross.
Highlight Fascia Oraria 07:00-21:00Highlight Time Range 07:00–21:00 + New Year's Line
This script automatically highlights the time range between 07:00 and 21:00 (based on the chart’s server time) with a light green semi-transparent background — perfect for traders focusing on specific intraday sessions.
It also adds a red vertical line every January 1st, clearly marking the start of each new year on the chart.
Ideal for:
Intraday trading and session analysis
Seasonal or yearly pattern tracking
Clear visual reference for time cycles
💡 Easy to customize: You can adjust the startHour and endHour values to set your preferred time range.
Accumulation-Distribution CandlesThis enhanced price visualization tool interprets each candle through the lens of effort versus result, blending volume, range, and closing bias into a rich, color-coded display of Accumulation and Distribution pressure.
While compatible with any timeframe, this indicator is designed primarily for use on the 1D chart, where Wyckoff-style market phases are most clearly expressed. (Adjust visibility setting accordingly). After analyzing the high-timeframe phase, traders may switch to lower timeframes and apply faster execution tools more effectively.
Candle bodies are dynamically colored using a five-tier scale:
💙 Dark Blue — heavy accumulation
🩵 Pale Blue — mild accumulation
🌚 Gray — neutral / balanced behavior
💛 Pale Yellow — mild distribution
🧡 Deep Yellow — heavy distribution
Coloring is based on a normalized strength score, calculated using a blend of price movement and effort (with or without volume). This helps visually isolate Markup, Markdown, Re-accumulation, and Distribution at a glance.
The indicator also features optional microstructure overlays:
🟦 🟧 Zone highlighting — background shading for strong accumulation/distribution zones
📌 Pin bars — classic rejection wicks, optionally filtered by above-average volume
🔺 Fractals — 5-bar swing highs and lows, color-matched to the reference candle (not shown)
🟥 🟩 Engulfing candles — basic engulfing logic filtered by directional strength (not shown)
Every element is toggleable. The candle logic will auto-adjust for volume-less tickers such as DXY, and includes structural defaults for both traditional and crypto assets (5-day vs 7-day week logic).
🧐 Strategy tips: This tool is not meant to generate signals — it's meant to show the story. Start by identifying the market phase using the 1D chart, then move to lower timeframes with confluence tools such as SUPeR TReND 2.718 and/or the Granular MA Ribbon. This indicator is designed to slot cleanly into a multi-layered workflow of visual structure and informed execution.
Pro Scalper AI [BullByte]The Pro Scalper AI is a powerful, multi-faceted scalping indicator designed to assist active traders in identifying short-term trading opportunities with precision. By combining trend analysis, momentum indicators, dynamic weighting, and optional AI forecasting, this tool provides both immediate and latched trading signals based on confirmed (closed bar) data—helping to avoid repainting issues. Its flexible design includes customizable filters such as a higher timeframe trend filter, and adjustable settings for ADX, ATR, and Hull Moving Average (HMA), giving traders the ability to fine-tune the strategy to different markets and timeframes.
Key Features :
- Confirmed Data Processing :
Utilizes a helper function to lock in price and volume data only from confirmed (closed) bars, ensuring the reliability of signals without the risk of intrabar repainting.
- Trend Analysis :
Employs ADX and Directional Movement (DI) calculations along with a locally computed HMA to detect short-term trends. An optional higher timeframe trend filter can further refine the analysis.
- Flexible Momentum Modes :
Choose between three momentum calculation methods—Stochastic RSI, Fisher RSI, or Williams %R—to match your preferred style of analysis. This versatility allows you to optimize the indicator for different market conditions.
- Dynamic Weighting & Volatility Adjustments :
Adjusts the contribution of trend, momentum, volatility, and volume through dynamic weighting. This ensures that the indicator responds appropriately to varying market conditions by scaling its sensitivity with user-defined maximum factors.
- Optional AI Forecast :
For those who want an extra edge, the built-in AI forecasting module uses linear regression to predict future price moves and adjusts oscillator thresholds accordingly. This feature can be toggled on or off, with smoothing options available for more stable output.
- Latching Mode for Signal Persistenc e:
The script features a latching mechanism that holds signals until a clear reversal is detected, preventing whipsaws and providing more reliable trade entries and exits.
- Comprehensive Visualizations & Dashboard :
- Composite Oscillator & Dynamic Thresholds : The oscillator is plotted with dynamic upper and lower thresholds, and the area between them is filled with a color that reflects the active trading signal (e.g., Strong Buy, Early Sell).
- Signal Markers : Both immediate (non-latching) and stored (latched) signals are marked on the chart with distinct shapes (circles, crosses, triangles, and diamonds) to differentiate between signal types.
- Real-Time Dashboard : A customizable dashboard table displays key metrics including ADX, oscillator value, chosen momentum mode, HMA trend, higher timeframe trend, volume factor, AI bias (if enabled), and more, allowing traders to quickly assess market conditions at a glance.
How to Use :
1. S ignal Interpretation :
- Immediate Signals : For traders who prefer quick entries, the indicator displays immediate signals such as “Strong Buy” or “Early Sell” based on the current market snapshot.
- Latched Signals : When latching is enabled, the indicator holds a signal state until a clear reversal is confirmed, offering sustained trade setups.
2. Trend Confirmation :
- Use the HMA trend indicator and the optional higher timeframe trend filter to confirm the prevailing market direction before acting on signals.
3. Dynamic Thresholds & AI Forecasting :
- Monitor the dynamically adjusted oscillator thresholds and, if enabled, the AI bias to gauge potential shifts in market momentum.
4. Risk Management :
- Combine these signals with additional analysis and sound risk management practices to determine optimal entry and exit points for scalping trades.
Disclaimer :
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results. Always perform your own analysis and use proper risk management strategies before trading.
Dynamic Support and Resistance"Dynamic Support & Resistance" Indicator: Find Key Price Levels Easily
This indicator helps you quickly spot potential support and resistance levels on your chart. Think of these levels as price "floors" (support) and "ceilings" (resistance) where the price might bounce or change direction.
How to Use It:
Add it to your chart: Search for "Support and Resistance Zones" in TradingView's indicator library and add it to your chart.
See the lines: You'll see green dashed lines for support and red dashed lines for resistance.
Understand the levels:
Green lines (Support): These show price levels where buyers might step in and push the price back up.
Red lines (Resistance): These show price levels where sellers might step in and push the price back down.
Adjust the settings (optional):
You can change how sensitive the indicator is by adjusting the "Support Window" and "Resistance Window" settings. A smaller number finds more levels, a larger number finds fewer, but potentially stronger levels.
Use it for your trading:
Look for price bounces at support levels to consider buying.
Look for price reversals at resistance levels to consider selling.
These levels can also help you decide where to place stop-loss orders.
Why it's useful:
Saves time: It automatically finds these important price levels, so you don't have to draw them manually.
Easy to see: The colored lines make the levels clear and easy to understand.
Helps with decisions: It gives you potential entry and exit points for your trades.
In simple terms, this indicator makes it easier to see where the price might change direction, helping you make smarter trading choices.
ATR DistanceThis indicator plots two lines at distances defined by (Multiplier × ATR) above and below a selected price source (open, high, low, or close). By using a configurable Average True Range (ATR) length, it helps highlight volatility-based boundaries for more adaptive stop-loss or profit-taking decisions.
Média de Volume - VXX & UVXY (Colorido)Explanation:
The code takes the daily volume of VXX and UVXY.
Calculates the average of the two volumes.
Plots a blue histogram, similar to the traditional volume indicator.
Adds a reference line at zero.
The histogram bars turn green when the price is above the 20 SMA and red when it is below.
Money Flow Oscillator [BullByte]
Overview :
The Money Flow Oscillator is a versatile technical analysis tool designed to provide traders with insights into market momentum through the Money Flow Index (MFI). By integrating trend logic, dynamic support/resistance levels, multi-timeframe analysis, and additional indicators like ADX and Choppiness, this script delivers a detailed view of market conditions and signal strength—all while adhering to TradingView’s publication guidelines.
Key Features :
Money Flow Analysis :
Uses the MFI to assess buying and selling pressure, helping traders gauge market momentum.
Trend Switch Logic :
Employs ATR-based calculations to determine trend direction. The background color adjusts dynamically to signal bullish or bearish conditions, and a prominent center line changes color to reflect the prevailing trend.
Dynamic Support/Resistance :
Calculates oscillator support and resistance over a pivot lookback period. These levels help you identify potential breakouts or reversals as the MFI moves above or below prior levels.
Signal Metrics & Classifications :
Combines MFI values with additional metrics to classify signals into categories such as “Strong Bullish,” “Bullish,” “Bearish,” or “Strong Bearish.” An accompanying note provides details on momentum entry and overall signal strength.
Multi-Timeframe Order Flow Confirmatio n:
Analyzes the MFI on a higher timeframe to confirm order flow. This extra layer of analysis helps verify the short-term signals generated on your primary chart.
Volume and ADX Integration :
Incorporates volume analysis and a manual ADX calculation to further validate signal strength and trend stability. A dashboard displays these metrics for quick reference.
Choppiness Indicator :
Includes a choppiness index to determine if the market is trending or choppy. When the market is identified as choppy, the script advises caution by adjusting the overall signal note.
Comprehensive Dashboard :
A built-in dashboard presents key metrics—including ADX, MFI, order flow, volume score, and support/resistance details—allowing you to quickly assess market conditions at a glance.
How to Use :
Trend Identification : Monitor the dynamic background and center line colors to recognize bullish or bearish market conditions.
Signal Confirmation : Use the oscillator support/resistance levels along with the signal classifications and dashboard data to make informed entry or exit decisions.
Multi-Timeframe Analysis : Validate short-term signals with the higher timeframe MFI order flow confirmation.
Risk Management : Always combine these insights with your own risk management strategy and further analysis.
Disclaimer :
This indicator is provided for educational and informational purposes only. It does not constitute financial advice. Always perform your own analysis and use proper risk management before making any trading decisions. Past performance is not indicative of future results.
Cz ASR indicatorAverage session range indicator built by me. Great tool to gauge volatility and intraday reversal zones. Great for FX as there is an included table that shows range in pips; however, this can be applied across all assets as a volatility measure.
How it works:
The script measures the range of sessions, including Asia, London, and New York. The lookback period could be adjusted so you can find what length works best and is most accurate. This is then averaged out to provide the ASR. This provides us with an upper and lower bound of which the price could potentially fluctuate in based on the past session ranges. I have also added the 50% ASR, which is also a super useful metric for reversals or continuations.
There is also a configurable UTC so that you can adjust the indicator so it can accurately measure the range within certain sessions.
Note - different session start and stop times vary from market to market. I have set the code to the standard forex market opens however, if you wish to change the time ,you are able to do so by editing the variables in the script
Enjoy :)
Vertical Line at Specified HoursThis script helps you easily separate time.
This indicator can be used for many different purposes. For example, I use it to separate different days and sessions.
Features :
1- Ability to use 10 vertical lines simultaneously
2- The Possibility to change the color of lines
3- The Possibility to change the line type
Tip : The times you enter in the input section must be in the New York time zone.
Ryna 3 EMA Multi-Timeframe Indicator**EMA Multi-Timeframe Strategy (Pine Script v6)**
This TradingView indicator is designed to assist traders using a **multi-timeframe trend-following strategy** based on Exponential Moving Averages (EMAs).
**Core Functionality**
- **Trend Identification:**
Uses a configurable **EMA (e.g., EMA 50)** on a **higher timeframe** (e.g., H1, D1, W1) to determine the market bias:
- If price is **above** the trend EMA → **Long bias**
- If price is **below** the trend EMA → **Short bias**
- **Entry Signals:**
Uses two EMAs (fast & slow, e.g., EMA 8 & EMA 21) on either:
- The **current chart timeframe**, or
- A **separately selected timeframe** (e.g., entry on M15, trend on H1)
→ Signals are generated based on **EMA crossovers**:
- **Bullish crossover** (fast crosses above slow) → Long signal
- **Bearish crossover** (fast crosses below slow) → Short signal
- Only when aligned with the higher-timeframe trend
- **Visual Output:**
- Optional display of entry EMAs when sourced from the trend timeframe
- Always displays the trend EMA
- Entry signals shown with triangle markers on the chart
- **Info Panel (Top Center):**
- Shows selected timeframes and EMA settings
- Indicates current trend bias (LONG / SHORT / NEUTRAL)
- Notes if entry EMAs are hidden due to settings
- **Alerts:**
- Optional alerts for long and short entry signals based on EMA crossovers
#### **User Inputs**
- **Trend Timeframe & EMA Length**
- **Entry Timeframe & EMA Fast/Slow Lengths**
- **Option to show/hide entry EMAs when using the trend timeframe**
- **Option to show/hide Infobox on Chart**
Customizable RSI/StochRSI Double ConfirmationBelow are the key adjustable parameters in the script and their usage:
RSI Parameters
RSI Length: The number of periods used to calculate the RSI, with a default value of 7. Adjusting this parameter changes the sensitivity of the RSI—shorter periods make it more sensitive, while longer periods make it smoother.
RSI Source: The price source used for RSI calculation, defaulting to the closing price (close). This can be changed to the opening price or other price types as needed.
StochRSI Parameters
StochRSI Length: The number of periods used to calculate the StochRSI, with a default value of 5. This affects how quickly the StochRSI reacts to changes in the RSI.
StochRSI Smooth K: The smoothing period for the StochRSI %K line, with a default value of 3. This is used to reduce noise.
StochRSI Smooth D: The smoothing period for the StochRSI %D line, with a default value of 3. It works in conjunction with %K to provide more stable signals.
Signal Thresholds
RSI Buy Threshold: A buy signal is triggered when the RSI crosses above this value (default 20).
RSI Sell Threshold: A sell signal is triggered when the RSI crosses below this value (default 80).
StochRSI Buy Threshold: A buy signal is triggered when the StochRSI %K crosses above this value (default 20).
StochRSI Sell Threshold: A sell signal is triggered when the StochRSI %K crosses below this value (default 80).
Signals
RSI Buy/Sell Signals: When the RSI crosses the buy/sell threshold, a green "RSI Buy" or red "RSI Sell" is displayed on the chart.
StochRSI Buy/Sell Signals: When the StochRSI %K crosses the buy/sell threshold, a yellow "StochRSI Buy" or purple "StochRSI Sell" is displayed.
Double Buy/Sell Signals: When both RSI and StochRSI simultaneously trigger buy/sell signals, a green "Double Buy" or red "Double Sell" is displayed, indicating a stronger trading opportunity.
The volatility of different cryptocurrencies varies, and different parameters may be suitable for each. Users need to experiment and select the most appropriate parameters themselves.
Disclaimer: This script is for informational purposes only and should not be considered financial advice; use it at your own risk.