Grids lines"Líneas de Grid para Análisis Técnico"
Este indicador dibuja líneas de grid (rejilla) en el gráfico de precios, lo que puede ayudar a visualizar zonas de soporte, resistencia y niveles de interés en un rango de precios determinado.
Características:
Precio Mínimo y Máximo: Configura los precios entre los cuales se dibujarán las líneas de grid.
Número de Grids: Establece cuántas líneas de grid quieres ver en el gráfico.
Color y Grosor de las Líneas: Personaliza los colores y el grosor de las líneas de grid, incluyendo la primera y la última línea.
Estilo de las Líneas: Puedes elegir entre líneas discontinuas (Dotted) o sólidas (Solid), para personalizar aún más tu visualización.
Ticker Específico: Si lo deseas, puedes elegir un ticker específico para dibujar las líneas solo cuando el gráfico esté mostrando ese activo. De lo contrario, las líneas se dibujarán en el gráfico actual.
Parámetros:
Precio Mínimo: El precio más bajo para el rango del grid (por ejemplo: 0.82).
Precio Máximo: El precio más alto para el rango del grid (por ejemplo: 1.24).
Número de Grids: Define cuántas líneas quieres entre el precio mínimo y el máximo (por ejemplo: 30).
Estilo de Línea: Elige entre Dotted (líneas discontinuas) o Solid (líneas sólidas).
Ticker: Si deseas dibujar las líneas solo para un ticker específico, ingresa el símbolo del ticker (por ejemplo, ADAUSDT). Si dejas este campo vacío, las líneas se dibujarán en el gráfico actual.
Ejemplo de Uso:
Si estás analizando el par ADAUSDT, puedes escribir ADAUSDT en el campo del ticker para que las líneas solo se dibujen cuando este par esté visible. Si dejas el campo vacío, las líneas se dibujarán en cualquier ticker que tengas en el gráfico.
Descripción en Inglés:
"Grid Lines for Technical Analysis"
This indicator draws grid lines on the price chart, helping to visualize support, resistance, and key levels within a specific price range.
Features:
Min and Max Price: Set the price range for the grid lines to be drawn.
Number of Grids: Choose how many grid lines you want to display on the chart.
Line Color and Thickness: Customize the color and thickness of the grid lines, including the first and last line.
Line Style: Choose between Dotted (dashed lines) or Solid (solid lines) to further customize your view.
Specific Ticker: If desired, you can specify a ticker for the grid lines to only be drawn when that asset is shown. Otherwise, the lines will be drawn on the current chart.
Parameters:
Min Price: The lowest price for the grid range (for example, 0.82).
Max Price: The highest price for the grid range (for example, 1.24).
Number of Grids: Defines how many lines you want between the minimum and maximum price (for example, 30).
Line Style: Choose between Dotted or Solid.
Ticker: To draw the lines only for a specific ticker, enter the symbol of the ticker (for example, ADAUSDT). If left blank, the lines will be drawn on the current ticker.
Usage Example:
If you're analyzing the pair ADAUSDT, you can enter ADAUSDT in the ticker field to draw the lines only when that pair is visible. If you leave the field blank, the lines will be drawn for any ticker currently on the chart.
المؤشرات والاستراتيجيات
High-Probability IndicatorExplanation of the Code
Trend Filter (EMA):
A 50-period Exponential Moving Average (EMA) is used to determine the overall trend.
trendUp is true when the price is above the EMA.
trendDown is true when the price is below the EMA.
Momentum Filter (RSI):
A 14-period RSI is used to identify overbought and oversold conditions.
oversold is true when RSI ≤ 30.
overbought is true when RSI ≥ 70.
Volatility Filter (ATR):
A 14-period Average True Range (ATR) is used to measure volatility.
ATR is multiplied by a user-defined multiplier (default: 2.0) to set a volatility threshold.
Ensures trades are only taken during periods of sufficient volatility.
Entry Conditions:
Long Entry: Price is above the EMA (uptrend), RSI is oversold, and the candle range exceeds the ATR threshold.
Short Entry: Price is below the EMA (downtrend), RSI is overbought, and the candle range exceeds the ATR threshold.
Exit Conditions:
Take Profit: A fixed percentage above/below the entry price.
Stop Loss: A fixed percentage below/above the entry price.
Visualization:
The EMA is plotted on the chart.
Background colors highlight uptrends and downtrends.
Buy and sell signals are displayed as labels on the chart.
Alerts:
Alerts are triggered for buy and sell signals.
How to Use the Indicator
Trend Filter:
Only take trades in the direction of the trend (e.g., long in an uptrend, short in a downtrend).
Momentum Filter:
Look for oversold conditions in an uptrend for long entries.
Look for overbought conditions in a downtrend for short entries.
Volatility Filter:
Ensure the candle range exceeds the ATR threshold to avoid low-volatility trades.
Risk Management:
Use the built-in take profit and stop loss levels to manage risk.
Optimization Tips
Backtesting:
Test the indicator on multiple timeframes and assets to evaluate its performance.
Adjust the input parameters (e.g., EMA length, RSI length, ATR multiplier) to optimize for specific markets.
Combination with Other Strategies:
Add additional filters, such as volume analysis or support/resistance levels, to improve accuracy.
Risk Management:
Use proper position sizing and risk-reward ratios to maximize profitability.
Disclaimer
No indicator can guarantee an 85% win ratio due to the inherent unpredictability of financial markets. This script is provided for educational purposes only. Always conduct thorough backtesting and paper trading before using any strategy in live trading.
Let me know if you need further assistance or enhancements!
[COG] WeatherForecaster🌤️ Just like a weather forecast that adjusts as new data emerges, this TMA Pivot Points Forecaster adapts to evolving market conditions!
Description:
This indicator combines the power of a Triple Moving Average (TMA) with pivot point analysis to identify potential market turning points and trend directions. Like a meteorologist using various atmospheric data to predict weather patterns, this tool analyzes price action through multiple lenses to forecast potential market movements.
Key Features:
- Dynamic TMA Line: Acts as our "atmospheric pressure system," showing the underlying market direction
- Adaptive Pivot Points: Like weather stations, these pivots identify key market levels where the "climate" might change
- Smart Entry Signals: ☀️ and 🌧️ icons appear when conditions align for potential trades
- Timeframe-Adaptive: Automatically adjusts sensitivity across different timeframes
- Customizable Visuals: Adjust colors and styles to match your trading environment
Settings Include:
✓ TMA Length and Slope Sensitivity
✓ Pivot Point Parameters
✓ Visual Customization Options
✓ Toggle Entry Signals
✓ Toggle Pivot Lines
Note: Like weather forecasts that update with new data, this indicator recalculates as market conditions evolve. Past signals may adjust as more price action develops. Always use proper risk management and combine with other analysis tools.
Usage Guide:
The indicator works best when used as part of a complete trading system. Here's how to interpret the signals:
📈 Bullish Conditions:
- TMA Line turns green: Indicates upward momentum
- "Buy above 🌋" level appears: Potential resistance turned support level
- ☀️ Signal: Indicates favorable buying conditions
📉 Bearish Conditions:
- TMA Line turns red: Indicates downward momentum
- "Sell below 🌋" level appears: Potential support turned resistance level
- 🌧️ Signal: Indicates favorable selling conditions
⏺️ Ranging Conditions:
- TMA Line turns yellow: Market in consolidation
- 💤 Signal: Suggests waiting for clearer direction
Best Practices:
1. Higher timeframes (4H, Daily) tend to produce more reliable signals
2. Use the pivot lines as potential entry/exit reference points
3. Adjust the TMA length based on your trading style:
• Shorter lengths (20-30) for more active trading
• Longer lengths (50-60) for trend following
Settings Explained:
TMA Settings:
- TMA Length: Determines the smoothing period (default: 30)
- Slope Threshold: Controls trend sensitivity (default: 0.015)
Pivot Settings:
- Left/Right Bars: Controls pivot point calculation
- Line Length: Adjusts the visual length of pivot lines
- Line Style & Colors: Customize the visual appearance
Disclaimer:
Past performance does not guarantee future results. This indicator, like any technical tool, provides possibilities rather than certainties. Please test thoroughly on your preferred timeframes and markets before using with real capital.
Smoothed Candle Averages- NovaTheMachineThis script utilizes a series of moving averages that the user is able to change as they see fit for their own use.
The averages plotted for the first 2 waves are the High-Low rays of the selected period of time with the chosen moving average style.
The Bias is the Heikin Ashi High-Low ray plotted over the chosen time period, while the Secondary Bias is a higher Timeframe Bias for the same period of time on a selected higher timeframe.
The visuals for each ray are able to be changed to either; lines, solid wave, or dynamic wave.
The Dynamic waves will change color according to the total dissection and utilize the Min-Max range selected as a weight for the strength of the trend. Thus providing an at-a-glance overview of the price relative to trend.
The key objective with this script is to gauge the longer term trend with the current price action, to establish patterns and determine strength of moves both away from and towards the moving average/bias.
When both waves are trending with the Bias, it can be reasoned that there is a strong trend established, when waves and Bias are mixed or trending sideways it can be reasoned there is a range forming or potential for a direction change. When price has broken the waves and biases we can reasonably assume that a new trend has been formed, using the waves and biases again to determine the strength and length of the trend.
The Table will display whether the current price is above or below each wave, and whether the price is continuing or retracing. The Signals plotted are used to help identify when price has broken a wave more swiftly.
Finite Difference - Backward (mcbw_)In calculus there exists a 'derivative', which simply just measures the difference between two points on a curve. For well behaved mathematical functions there are infinitely many points and so there exists a derivative at every point. Where there are infinitely many points in a curve that curve is called 'continuous'. Continuous curves are very nice to deal with since each point on it exists almost exactly where its neighbors are. However, if the curve does not have infinitely many points on it, but instead has a finite number of points on it, that curve is called 'discrete' instead of continuous. Taking the derivative of discrete curves is much trickier business since there are none of the mathematical conveniences that a continuous offers. In the real world everything we measure is a discrete curve, including Price (since we measure it a finite number of times, aka each candlestick)!
The branch of Discrete Mathematics has found an approach to measure the derivative along a discrete curve, that approach is aptly called " Finite Difference ". To get a more accurate approximation of a discrete derivative, the finite difference approach uses weighted combinations of neighboring points. The most common type of finite difference is a 'central' difference, this uses a combination of points before and after the point of interest to approximate the discrete derivative. This is great for historical analysis but is not of much use for trading algorithms since it technically means using future prices to calculate the derivative of the current point. Instead we can use a less common variant called a ' Backwards Difference ' that only uses a combination of points before the current one to help approximate the current derivative.
In this script you can choose the " Order " of your derivative and the " Accuracy " of its approximation. This script is for educational purposes for folks building trading algorithms. Many trading algorithms often have an element of seeing how much Price has changed from the previous candle to the current candle. This approach is the lowest accuracy derivative possible, and using the backwards finite differences, made available for the first time on TradingView (!!), algorithms that use derivatives can now have higher orders of accuracy!
Happy Trading/Developing!
QoQ Economic & Financial Indicator ChangesA straightforward indicator for analyzing quarter-over-quarter (QoQ) percentage changes in economic and financial data series. Perfect for visualizing dynamic changes in:
Economic Indicators (GDP, House Price Indices, Employment Figures)
Company Financial Metrics (Revenue, EPS, Operating Margins)
Balance Sheet Items (Assets, Liabilities, Equity)
Cash Flow Statement Components
Other Quarterly Economic & Financial Data
Features:
Automatically calculates QoQ percentage changes
Color-coded visualization (green for positive, red for negative changes)
Displays exact percentage values
Includes adjustable scale factor for different data series
Zero line reference for easy trend identification
Bull vs Bear CandlesThe Bull vs Bear Candles indicator helps you analyze market sentiment by counting and comparing bullish and bearish candles. It tracks the number of bullish candles and calculates their percentage, then does the same for bearish candles. Based on this data, the indicator determines whether bulls or bears are in control. Additionally, it counts the total number of candles within the selected range, giving you a clearer picture of price action. Use this tool to quickly assess market trends and make more informed trading decisions. 🚀
Liquidity Heatmap & Volume-Weighted RSILiquidity Heatmap Indicator with Volume-Weighted RSI
Description:
The Liquidity Heatmap Indicator with Volume-Weighted RSI (VW-RSI) is a powerful tool designed for traders to visualize market liquidity zones while integrating a volume-adjusted momentum oscillator. This indicator provides a dynamic heatmap of liquidity levels across various price points and enhances traditional RSI by incorporating volume weight, making it more responsive to market activity.
Key Features:
Liquidity Heatmap Visualization: Identifies high-liquidity price zones, allowing traders to spot potential areas of support, resistance, and accumulation.
Volume-Weighted RSI (VW-RSI): Enhances the RSI by factoring in trading volume, reducing false signals and improving trend confirmation.
Customizable Sensitivity: Users can adjust parameters to fine-tune heatmap intensity and RSI smoothing.
Dynamic Market Insights: Helps identify potential price reversals and trend strength by combining liquidity depth with momentum analysis.
How to Use:
1. Identify Liquidity Zones: The heatmap colors indicate areas of high and low liquidity, helping traders pinpoint key price action areas.
2. Use VW-RSI for Confirmation: When VW-RSI diverges from price near a liquidity cluster, it signals a potential reversal or continuation.
3. Adjust Parameters: Fine-tune the RSI period, volume weighting, and heatmap sensitivity to align with different trading strategies.
This indicator is ideal for traders who rely on order flow analysis, volume-based momentum strategies, and liquidity-driven trading techniques.
John Bob-Trading-BotDeveloped by Ayebale John Bob with the help of his bestie, this innovative strategy combines advanced Smart Money Concepts with practical risk management tools to help traders identify and capitalize on key market moves.
Key Features:
Smart Money Concepts & Fair Value Gaps (FVG):
The strategy monitors price action for fair value gaps, which are visualized as extremely faint horizontal lines on the chart. These FVGs signal potential areas where institutional traders might have entered or exited positions.
Dynamic Entry Signals:
Buy signals are triggered when the price crosses above the 50-bar lowest low or when a bullish FVG is detected. Conversely, sell signals are generated when the price falls below the 50-bar highest high or a bearish FVG is identified. Each signal is visually marked on the chart with clear buy (green) and sell (red) labels.
Multi-Level Order Execution:
Once an entry signal occurs, the strategy places five separate orders, each with its own take-profit (TP) level. The TP levels are calculated dynamically using the Average True Range (ATR) and a set of predefined multipliers. This allows traders to scale out of positions as the market moves favorably.
Dynamic Risk Management:
A stop-loss is automatically set at a distance determined by the ATR, ensuring that risk is managed in accordance with current market volatility.
Real-Time Trade Information Table:
In the bottom-right corner of the chart, a trade information table displays essential details about the current trade:
Side: Displays "BUY NOW" (with a dark green background) for long entries or "SELL NOW" (with a dark red background) for short entries.
Entry Price & Stop-Loss: Shows the entry price (highlighted in green) and the corresponding stop-loss level (highlighted in red).
Take-Profit Levels: Lists the five TP levels, each of which turns green once the market price reaches that target.
Timer: A live timer in minutes counts from the moment the current trade trigger started, helping traders track the duration of their active trades.
Visual Progress Bar:
A histogram-style progress bar is plotted on the chart, visually representing the percentage gain (or loss) relative to the entry price.
This strategy was meticulously designed to incorporate both technical analysis and smart risk management, offering a robust trading solution that adapts to changing market conditions. Whether you're a seasoned trader or just starting out, the AyebaleJohnBob Trading Bot equips you with the tools and visual cues needed to make well-informed trading decisions. Enjoy a seamless blend of strategy and style—crafted with passion by Ayebale John Bob and his bestie!
Drawdown Visualisation█ OVERVIEW
The Drawdown Visualisation indicator calculates and displays the instrument’s drawdown (in percent) relative to its all‐time high (ATH) from a user‐defined start date. It provides customisable options for label appearance, threshold lines (0%, –50%, –100%), and can plot historic drawdown levels via pivot detection.
█ USAGE
This indicator should be used with the Percentage Retracement from ATH indicator.
█ KEY FEATURES
Custom Date Settings — Use a custom start date so that only specified price action is considered.
Retracement Level Calculation — Determines ATH and computes multiple retracement levels using percentages from 0% to –100%.
Visual Signals and Customisation — Plots configurable horizontal lines and labels that display retracement percentages and prices.
Time Filtering — Bases calculations on data from the desired time period.
Historic Drawdowns — Display historical drawdowns
█ PURPOSE
Assist traders in visualising the depth of price retracements from recent or historical peaks.
Identify critical zones where the market may find support or resistance after reaching an ATH.
Facilitate more informed entry and exit decisions by clearly demarcating retracement levels on the chart.
█ IDEAL USERS
Swing Traders — Looking to exploit pullbacks following strong upward moves.
Technical Analysts — Interested in pinpointing key retracement levels as potential reversal or continuation points.
Price Action Traders — Focused on the nuances of market peaks and subsequent corrections.
Strategy Developers — Keen to backtest and refine approaches centred on retracement dynamics.
High Volume Time (HVT) Auto-DisplayThis Indicator displays the upcoming HVT for the NasDaq on a table. The HVT is also displayed on the chart in real-time in order to help accentuate the best times to trade and a clear picture for the daily directional move. This times were found manually and bear as much significance as I bring it to have. These are not guaranteed times for the market to move, but rather High Probability Times based on my own backtesting on NQ.
SMT Divergence [TakingProphets]The SMT (Smart Money Technique) Divergence indicator identifies potential market manipulation and smart money footprints by comparing price action between correlated instruments. It uses a dual-detection system to catch both frequent local SMTs and larger structural SMTs:
• Primary detection uses a shorter lookback period (default 5) to identify common SMT patterns
• Secondary detection uses a longer lookback period (default 8) to catch larger structural SMTs
• Automatically filters significant moves to prevent noise
• Labels are placed clearly outside of price action for better visibility
• Toggle between showing all SMTs or only significant liquidity sweeps
Compare any two instruments to spot divergences in their price action. Particularly useful for:
- Futures vs Spot markets
- Related currency pairs
- Index vs its components
- Any correlated instruments
Default settings are optimized for intraday trading but can be adjusted for different timeframes.
Note: This indicator works best when comparing closely correlated instruments and should be used alongside other technical analysis tools.
Early MACD Reversal IndicatorThis indicator should provide early warnings of potential price reversal based on the difference between the MACD and its signal line. The keys of the reversal come from creating a histogram of the difference between the two lines and further monitoring the first indications of breadth decrease. The first change when trending up will paint a red vertical line and downward triangle to indicate potential trend reversal to the low side. The opposite with a green vertical line and upward triangle signals potential upside movement soon.
Enjoy!
Reversal Opportunity📌 Indicator Description – Reversal Opportunity 🎯
🔍 General Overview
The Reversal Opportunity indicator is designed to identify ideal conditions for Reversal Trading, but it does not provide trade entry signals. Instead, it helps traders determine whether the market conditions are favorable for a potential reversal.
It is specifically designed for traders who execute Reversal trades (Long or Short) and want a clear indication of whether the market is currently suitable for such setups.
💡 What does this indicator do?
- Identifies strong momentum before a reversal (a sharp upward or downward move).
- Detects momentum slowdown (decreasing volume and smaller candles).
- Checks if the RSI is at an extreme level (above 70 or below 30), indicating potential overbought or oversold conditions.
- Displays a table at the top center of the screen with the following key data:
- Are the conditions for a reversal met?
- Is there a slowdown in momentum?
- Is RSI at an extreme level?
- Was there strong uptrend momentum before a possible Short Reversal?
- Was there strong downtrend momentum before a possible Long Reversal?
⚙️ How Does the Indicator Work?
The indicator displays a table in the center of the screen, updating every 5 candles to indicate whether the market conditions are ideal for a reversal trade.
📊 Main Status Row:
- ✔ Ideal Reversal Setup → Conditions for a reversal trade are met (not a trade recommendation).
- ✖ Not Ideal → Reversal conditions are not met; it may be better to wait.
📌 Key Criteria Displayed in the Table:
1. ⚠️ Momentum Slowdown
- Yes → Momentum is weakening (a good sign for reversal trades).
- No → The market is still moving strongly, and a reversal might not be ready yet.
2. 📈 RSI Extreme
- Yes → RSI is above 70 (overbought) or below 30 (oversold), indicating a potential reversal.
- No → RSI is still in a normal range, suggesting that waiting for further confirmation might be wise.
3. 📊 Uptrend Momentum Before Reversal
- Yes → There was a strong uptrend over multiple consecutive candles, potentially setting up for a Short Reversal.
- No → No strong upward momentum was detected, meaning conditions for a Short Reversal may not be ideal.
4. 📉 Downtrend Momentum Before Reversal
- Yes → There was a strong downtrend over multiple consecutive candles, potentially setting up for a Long Reversal.
- No → No strong downward momentum was detected, meaning conditions for a Long Reversal may not be ideal.
🛠️ How to Use the Indicator?
- If "✔ Ideal Reversal Setup" appears, there is a high probability of a market reversal – use your personal entry strategy for further confirmation.
- If Momentum Slowdown = Yes, RSI Extreme = Yes, and strong momentum occurred beforehand, this is an ideal setup for a reversal trade.
- If any conditions are missing ("No"), it may be better to wait for further confirmation instead of entering too early.
- The indicator does NOT provide trade entries! Use your existing trading system for confirmation before entering a trade.
👥 Who Is This Indicator For?
- Reversal traders (entering against the current trend after a strong move).
- Intraday traders looking for reversal trades at extreme market levels.
- Technical traders who rely on Price Action and Volume for trade setups.
⚠️ Disclaimer:
This indicator does not recommend trade entries but provides insight into market conditions. The trader is responsible for risk management and decision-making.
It is best used in combination with additional confirmations such as reversal candles, Order Flow, Bookmap, or Volume Profile to improve accuracy.
🚀 The indicator is ready to use – add it to TradingView and get instant feedback on whether the market is ideal for a Reversal trade!
ELHAI Futures Trend Checker (ES, NQ, YM)The ELHAI Futures Trend Checker is a powerful TradingView indicator designed for futures traders who want to monitor the trend synchronization of the three major U.S. futures indices:
✅ E-mini S&P 500 (ES1!)
✅ E-mini Nasdaq 100 (NQ1!)
✅ E-mini Dow Jones (YM1!)
This indicator checks whether all three futures indices are bullish or bearish during each candle formation. If one of them is out of sync (e.g., two indices are bullish while one is bearish), the indicator triggers an alert and highlights the background in red, helping traders identify potential market indecision or divergence.
Key Features
📌 Designed for Futures Traders – Focuses on ES, NQ, and YM futures contracts.
📌 Live Market Monitoring – Works in real-time and updates dynamically with each tick.
📌 Bullish/Bearish Trend Confirmation – Detects when all three indices are in sync.
📌 Mismatch Detection – Alerts you when at least one index is out of trend.
📌 Custom Alerts – Set up TradingView alerts to be notified instantly when a trend mismatch occurs.
📌 Visual Background Highlight – A red background warns of a market divergence.
How It Works
The script retrieves open and close prices for ES, NQ, and YM.
Determines whether each futures index is bullish (close > open) or bearish (close < open).
If all three indices are bullish or all are bearish, it remains neutral.
If one index is different, an alert is triggered and the background turns red.
How to Use
Apply the indicator to your TradingView chart.
Choose any timeframe – Works well on intraday, daily, or higher timeframes.
Enable alerts: Go to Alerts → Create Alert, select "Futures Trend Mismatch", and set your preferred alert frequency.
Use alongside other indicators like moving averages, RSI, or MACD for better trade confirmation.
Best Use Cases
✔ Day traders & scalpers – Quickly spot market divergence in live trading.
✔ Swing traders – Identify when futures markets lose synchronization.
✔ Trend followers – Confirm if all major futures markets are aligned before making a move.
Final Notes
This indicator was built for Elhai to provide real-time trend analysis across major U.S. futures indices. Use it as a confirmation tool to improve market timing and decision-making.
EUR/USD vs USD/CHF SpreadA typical Pine Script for spread trading would include:
Fetching Data: Getting the real-time price of EUR/USD and USD/CHF.
Calculating the Synthetic EUR/CHF Price: Since EUR/USD * USD/CHF ≈ EUR/CHF, we use this relation to analyze deviations.
Computing the Spread: Taking the difference between EUR/USD and the synthetic EUR/CHF price.
Z-Score Normalization: Measuring how far the spread deviates from the mean (Mean Reversion).
Overlay and Visuals: Plotting the spread and key levels to visualize trading signals.
MACD with Candle DisplayMACD Calculation:
Uses user-defined Fast Length, Slow Length, and Signal Smoothing parameters to compute MACD.
Supports SMA (Simple Moving Average) or EMA (Exponential Moving Average) for the MACD line and signal line
Histogram-Based Candle Coloring:
The script categorizes histogram bars into four states:
0 (Very Bullish) → Green
1 (Likely Bearish) → Blue
2 (Likely Bullish) → Orange
3 (Very Bearish) → Red
Histogram Plot:
Displays histogram bars with distinct colors based on price momentum changes.
Market Sentiment Display in Status Line & Price Scale:
Instead of adding a label on the chart (which could obstruct candles), a text display is shown in the price scale and status line:
"0 Very Bullish"
"1 Likely Bearish"
"2 Likely Bullish"
"3 Very Bearish"
The text appears in the top-right corner with white font on a black background.
Purpose:
This indicator enhances the standard MACD by incorporating candle coloring and a cleaner sentiment display in the price scale, helping traders quickly interpret market momentum without cluttering the chart.
ICT Killzones + Macros [TakingProphets]The ICT Killzones indicator is a powerful tool designed to visualize key trading sessions and market timing elements used in ICT (Inner Circle Trader) methodology. It includes:
• Session Markers:
- Asia Session
- London Session
- NY AM Session
- NY Lunch Session
- NY PM Session
• Key Price Levels:
- Session high/low levels that extend until violated
- Midnight Open price level (dotted line)
- True Day Open price level (6 PM EST, dotted line)
• ICT Macro Timing:
- First Macro: 9:45 AM - 10:15 AM EST
- Second Macro: 10:45 AM - 11:15 AM EST
- Distinctive L-shaped brackets marking start and end times
Features:
• Fully customizable colors and styles for all elements
• Adjustable label positions and sizes
• Toggle options for each component
• Smart timeframe filtering
• Clean, uncluttered visual design
This indicator helps traders identify key market structure points, session transitions, and optimal trading windows based on ICT concepts.
Earnings Expansion ProjectionThis indicator has no counterpart in the platform and is a professional-grade earnings visualization tool that plots EPS expansion directly on your charts, inspired by institutional-level technical analysis platforms.
The indicator creates a distinctive earnings expansion projection curve that can be a leading indicator of price direction moves.
Key features:
Clean, institutional-style, EPS-expansion projection line overlaid on price action
Visual earnings surprise indicators with beat/miss multipliers
Dashboard for rapid fundamental assessment including the stocks win rate on beatings / missing earnings historically and other fundamental information not readily available on Tradingview
What is it doing?
It collects all earnings results available and will interpolate the numbers so that we see earnings expansion as a curve.
The video below describes usage
Note: Valid on the weekly time-frame only.
Average Price in Time PeriodsThis Pine Script calculates and displays average prices for two specific time ranges during a trading day: from 09:00 to 22:30 and from 22:30 to 09:00. It updates the average prices by summing the closing prices in each time frame and then plots them as green and red lines, respectively. The script also displays black lines outside these specific time ranges to prevent "gaps" in the chart during off-peak hours. The displayed lines are dynamically adjusted based on the current time, with the green line for 09:00-22:30 and the red line for 22:30-09:00.
Anchored VWAPAnchored VWAP with 3 Standard Deviation Bands
📈 Version: Pine Script v5
📌 Author: Aymen Haddaji
🔍 Overview
This indicator calculates an Anchored Volume-Weighted Average Price (AVWAP), allowing traders to anchor the VWAP calculation from a user-defined date and time. It also plots three standard deviation bands above and below the AVWAP to help identify potential areas of overbought and oversold conditions.
📊 Features & Functionality
✔ Custom Anchor Point: Select a specific date and time to start the AVWAP calculation.
✔ OHLC/4 Calculation: Uses the average of Open, High, Low, and Close to smooth the price input.
✔ Three Standard Deviation Bands:
1st Deviation (Green): Moderate volatility zone.
2nd Deviation (Orange): High volatility zone.
3rd Deviation (Red): Extreme overbought/oversold areas.
✔ Real-Time Calculation: Updates dynamically with each price movement.
✔ Clear Visuals:
AVWAP (Blue Line) represents the fair market price from the anchor.
Deviation Bands (Dashed Lines) show potential support and resistance levels.
🛠 How It Works
VWAP Calculation
Uses a cumulative sum of price × volume divided by cumulative volume.
Calculation starts from the user-defined anchor time.
Standard Deviation Bands
Measures the price dispersion around the AVWAP.
The wider the bands, the higher the volatility.
When price touches or exceeds the 3rd deviation, a potential reversal zone is indicated.
Trading Strategies with AVWAP & Deviation Bands
Trend Confirmation:
Price above AVWAP = Uptrend (bullish).
Price below AVWAP = Downtrend (bearish).
Support & Resistance:
AVWAP acts as dynamic support or resistance.
1st & 2nd deviations often act as secondary levels.
Mean Reversion Trading:
When price reaches the 3rd standard deviation, a pullback is likely.
Breakout Confirmation:
A strong close above/below the 3rd deviation may indicate trend continuation.
⚙️ Input Settings
📍 Anchor Time: Allows you to set the exact date and time to start the AVWAP calculation.
🎯 Ideal For
✅ Intraday traders looking for short-term mean reversion plays.
✅ Swing traders identifying key support/resistance zones.
✅ Trend traders confirming long-term market direction.
✅ Volatility traders using standard deviation for trade entries.
RoGr75 Adaptive EMA CrossDescription:
The RoGr75 Adaptive EMA Cross indicator dynamically combines exponential moving averages (EMAs) with ATR-based volatility buffers to generate buy and sell signals across multiple timeframes. This script uses customizable settings for short and long EMAs, ATR, and volume filters, ensuring that signals are both volatility-adjusted and timeframe-aware. It includes features such as adaptive buffers, distinct price level filters for buying and selling, and a reset mechanism to prevent redundant signals. Additionally, the indicator manages signal labels efficiently to keep your chart uncluttered.
Warning:
This script is provided for testing and educational purposes only. It is not intended as financial advice, and past performance does not guarantee future results. Use at your own risk. Always conduct your own research before making any trading decisions.
Higher Timeframe Input: Choose a specific timeframe for the indicator’s calculations; leave blank to use the chart’s current timeframe.
Signal Distance: Sets the distance of signal labels from the candles as a multiple of the ATR.
Exact Value Offset: Adjusts the secondary marker’s position for precision on the chart.
ATR Length: Defines the period used to calculate the Average True Range for volatility measurement.
EMA Lengths: Specify the periods for the short and long exponential moving averages.
Buy/Sell Buffer ATR Multipliers: Dynamically adjust the trigger distance beyond the EMA crossovers based on volatility.
Price Level Filter: Activates a filter so that buy signals only occur above a set price and sell signals only occur below that price (0 disables the filter).
Volume Filter: Optionally requires current volume to exceed a set multiple of a 20-period average for signal confirmation.
Reset Period: Resets the last signal memory after a specified number of bars to avoid suppressing valid repeat signals.
EMA Colors & Line Width: Customize the appearance of the short and long EMAs.
Label Colors & Styles: Choose colors, text colors, and styles for the buy and sell signal labels.
Background Highlighting: Optionally colors the background when a buy or sell signal occurs.
Label Management: Automatically removes the oldest labels when a set maximum is reached to keep the chart clean.
Alerts: Predefined conditions allow you to set TradingView alerts when buy or sell signals are generated.
Warning: This indicator is for testing purposes only and is not financial advice. Use it at your own risk.
EMA Study Script for Price Action Traders, v2JR_EMA Research Tool Documentation
Version 2 Enhancements
Version 2 of the JR_EMA Research Tool introduces several powerful features that make it particularly valuable for studying price action around Exponential Moving Averages (EMAs). The key improvements focus on tracking and analyzing price-EMA interactions:
1. Cross Detection and Counting
- Implements flags for crossing bars that instantly identify when price crosses above or below the EMA
- Maintains running counts of closes above and below the EMA
- This feature helps students understand the persistence of trends and the frequency of EMA interactions
2. Bar Number Tracking
- Records the specific bar number when EMA crosses occur
- Stores the previous crossing bar number for reference
- Enables precise measurement of time between crosses, helping identify typical trend durations
3. Variable Reset Management
- Implements sophisticated reset logic for all counting variables
- Ensures accuracy when analyzing multiple trading sessions
- Critical for maintaining clean data when studying patterns across different timeframes
4. Cross Direction Tracking
- Monitors the direction of the last EMA cross
- Helps students identify the current trend context
- Essential for understanding trend continuation vs reversal scenarios
Educational Applications
Price-EMA Relationship Studies
The tool provides multiple ways to study how price interacts with EMAs:
1. Visual Analysis
- Customizable EMA bands show typical price deviation ranges
- Color-coded fills help identify "normal" vs "extreme" price movements
- Three different band calculation methods offer varying perspectives on price volatility
2. Quantitative Analysis
- Real-time tracking of closes above/below EMA
- Running totals help identify persistent trends
- Cross counting helps understand typical trend duration
Research Configurations
EMA Configuration
- Adjustable EMA period for studying different trend timeframes
- Customizable EMA color for visual clarity
- Ideal for comparing different EMA periods' effectiveness
Bands Configuration
Three distinct calculation methods:
1. Full Average Bar Range (ABR)
- Uses the entire range of price movement
- Best for studying overall volatility
2. Body Average Bar Range
- Focuses on the body of the candle
- Excellent for studying conviction in price moves
3. Standard Deviation
- Traditional statistical approach
- Useful for comparing to other technical studies
Signal Configuration
- Optional signal plotting for entry/exit studies
- Helps identify potential trading opportunities
- Useful for backtesting strategy ideas
Using the Tool for Study
Basic Analysis Steps
1. Start with the default 20-period EMA
2. Observe how price interacts with the EMA line
3. Monitor the data window for quantitative insights
4. Use band settings to understand normal price behavior
Advanced Analysis
1. Pattern Recognition
- Use the cross counting system to identify typical pattern lengths
- Study the relationship between cross frequency and trend strength
- Compare different timeframes for fractal analysis
2. Volatility Studies
- Compare different band calculation methods
- Identify market regimes through band width changes
- Study the relationship between volatility and trend persistence
3. Trend Analysis
- Use the closing price count system to measure trend strength
- Study the relationship between trend duration and subsequent reversals
- Compare different EMA periods for optimal trend following
Best Practices for Research
1. Systematic Approach
- Start with longer timeframes and work down
- Document observations about price behavior in different market conditions
- Compare results across multiple symbols and timeframes
2. Data Collection
- Use the data window to record significant events
- Track the number of bars between crosses
- Note market conditions when signals appear
3. Optimization Studies
- Test different EMA periods for your market
- Compare band calculation methods for your trading style
- Document which settings work best in different market conditions
Technical Implementation Notes
This tool is particularly valuable for educational purposes because it combines visual and quantitative analysis in a single interface, allowing students to develop both intuitive and analytical understanding of price-EMA relationships.