Twitter Model ICT [TradingFinder] MMXM ERL D + FVG + M15 MSS/SMT🔵 Introduction
The Twitter Model ICT is a trading approach based on ICT (Inner Circle Trader) models, focusing on price movement between external and internal liquidity in lower timeframes. This model integrates key concepts such as Market Structure Shift (MSS), Smart Money Technique (SMT) divergence, and CISD level break to identify precise entry points in the market.
The primary goal of this model is to determine key liquidity levels, such as the previous day’s high and low (PDH/PDL) and align them with the Fair Value Gap (FVG) in the 1-hour timeframe. The overall strategy involves framing trades around the 1H FVG and using the M15 Market Structure Shift (MSS) for entry confirmation.
The Twitter Model ICT is designed to utilize external liquidity levels, such as PDH/PDL, as key entry zones. The model identifies FVG in the 1-hour timeframe, which acts as a magnet for price movement. Additionally, traders confirm entries using M15 Market Structure Shift (MSS) and SMT divergence.
Bullish Twitter Model :
In a bullish setup, the price sweeps the previous day’s low (PDL), and after confirming reversal signals, buys are executed in internal liquidity zones. Conversely, in a bearish setup, the price sweeps the previous day’s high (PDH), and after confirming weakness signals, sells are executed.
Bearish Twitter Model :
In short setups, entries are only executed above the Midnight Open, while in long setups, entries are taken below the Midnight Open. Adhering to these principles allows traders to define precise entry and exit points and analyze price movement with greater accuracy based on liquidity and market structure.
🔵 How to Use
The Twitter Model ICT is a liquidity-based trading strategy that analyzes price movements relative to the previous day’s high and low (PDH/PDL) and Fair Value Gap (FVG). This model is applicable in both bullish and bearish directions and utilizes the 1-hour (1H) and 15-minute (M15) timeframes for entry confirmation.
The price first sweeps an external liquidity level (PDH or PDL) and then provides an entry opportunity based on Market Structure Shift (MSS) and SMT divergence. Additionally, the entry should be positioned relative to the Midnight Open, meaning long entries should occur below the Midnight Open and short entries above it.
🟣 Bullish Twitter Model
In a bullish setup, the price first sweeps the previous day’s low (PDL) and reaches an external liquidity level. Then, in the 1-hour timeframe (1H), a bullish Fair Value Gap (FVG) forms, which serves as the price target.
To confirm the entry, a Market Structure Shift (MSS) in the 15-minute timeframe (M15) should be observed, signaling a trend reversal to the upside. Additionally, SMT divergence with correlated assets can indicate weakness in selling pressure.
Under these conditions, a long position is taken below the Midnight Open, with a stop-loss placed at the lowest point of the recent bearish move. The price target for this trade is the FVG in the 1-hour timeframe.
🟣 Bearish Twitter Model
In a bearish setup, the price first sweeps the previous day’s high (PDH) and reaches an external liquidity level. Then, in the 1-hour timeframe (1H), a bearish Fair Value Gap (FVG) is identified, serving as the trade target.
To confirm entry, a Market Structure Shift (MSS) in the 15-minute timeframe (M15) should form, signaling a trend shift to the downside. If an SMT divergence is present, it can provide additional confirmation for the trade.
Once these conditions are met, a short position is taken above the Midnight Open, with a stop-loss placed at the highest level of the recent bullish move. The trade's price target is the FVG in the 1-hour timeframe.
🔵 Settings
Bar Back Check : Determining the return of candles to identify the CISD level.
CISD Level Validity : CISD level validity period based on the number of candles.
Daily Position : Determines whether only the first signal of the day is considered or if signals are evaluated throughout the entire day.
Session : Specifies in which trading sessions the indicator will be active.
Second Symbol : This setting allows you to select another asset for comparison with the primary asset. By default, "XAUUSD" (Gold) is set as the second symbol, but you can change it to any currency pair, stock, or cryptocurrency. For example, you can choose currency pairs like EUR/USD or GBP/USD to identify divergences between these two assets.
Divergence Fractal Periods : This parameter defines the number of past candles to consider when identifying divergences. The default value is 2, but you can change it to suit your preferences. This setting allows you to detect divergences more accurately by selecting a greater number of candles.
The indicator allows displaying sessions based on various time zones. The user can select one of the following options :
UTC (Coordinated Universal Time)
Local Time of the Session
User’s Local Time
Show Open Price : Displays the New York market opening price.
Show PDH / PDL : Displays the previous day’s high and low to identify potential entry points.
Show SMT Divergence : Displays lines and labels for bullish ("+SMT") and bearish ("-SMT") divergences.
🔵 Conclusion
The Twitter Model ICT is an effective approach for analyzing and executing trades in financial markets, utilizing a combination of liquidity principles, market structure, and SMT confirmations to identify optimal entry and exit points.
By analyzing the previous day’s high and low (PDH/PDL), Fair Value Gaps (FVG), and Market Structure Shift (MSS) in the 1H and M15 timeframes, traders can pinpoint liquidity-driven trade opportunities. Additionally, considering the Midnight Open level helps traders avoid random entries and ensures better trade placement.
By applying this model, traders can interpret market movements based on liquidity flow and structural changes, allowing them to fine-tune their trading decisions with higher precision. Ultimately, the Twitter Model ICT provides a structured and logical approach for traders who seek to trade based on liquidity behavior and trend shifts in the market.
Indicadores y estrategias
[GrandAlgo] MTF Historical Highs and LowsMany traders rely on weekly highs and lows to identify key market levels, but what if you could see how price reacted to these levels in past weeks, months, or even years? With MTF Historical Highs and Lows, you can visualize all past highs, lows, and midpoints from any timeframe, allowing you to refine your strategy and make more informed trading decisions.
This indicator retrieves and plots historical highs, lows, and midpoints based on a user-selected timeframe (default: Weekly). It dynamically updates, ensuring that all significant price levels remain visible on your chart. Additionally, smart filtering helps you focus only on relevant levels, and alerts notify you when price interacts with key zones.
Key Features:
✅ Automatically Fetches & Plots Historical Highs, Lows, and Midpoints
✅ Customizable Timeframes (default: Weekly, but adjustable)
✅ Visibility Filtering – Hides lines that are too far from the current price
✅ Alerts for Key Levels – Get notified when price touches an important historical level
✅ Customizable Colors & Display Preferences for clarity
How It Works:
1️⃣ Select a Date Range – Focus on historical levels that are most relevant to the current market conditions
2️⃣ Choose a Timeframe – Use Weekly, Monthly, or any timeframe that suits your strategy.
3️⃣ Enable Highs, Lows, and Midpoints – Customize what you want to see.
4️⃣ Adjust Filtering – Hide lines that are too far from the current price to reduce clutter.
5️⃣ Get Alerts – Be notified when price reaches a historical level for potential trade setups.
Ideal for Traders Who:
Trade Support & Resistance Levels – Understand how price reacts at historical highs and lows.
Analyze Market Structure – Identify key areas where price may reverse or break out.
Want Smart Alerts – Stay informed without staring at charts all day.
E9 MM Nuke signalScript identifies wickless candles on a specified higher timeframe and plots them on a lower timeframe (If desired), such as 15 minutes. It includes options to adjust the margin for error (e.g. 5 tick wick), higher timeframe, and toggle the volume filter with period adjustment.
Wickless candles signal strong market sentiment shifts, indicating areas of significant buying or selling pressure. These areas can become key levels of support or resistance, making them crucial to monitor for potential price revisits.
Why Price Revisits Wickless Areas
Manipulators often create artificial wickless candles to deceive traders. However, genuine market movements can also produce wickless candles, indicating a strong consensus among market participants. In either case, the price is likely to revisit these areas as traders and investors react to the perceived market sentiment shift.
Key Features:
Margin Input:
Description: Allows users to specify the margin in 0.01 tick increments to account for small wicks due to spread issues.
Example: A margin of 0.05 ticks means the script will consider candles wickless if the high is within 0.05 ticks of the open and the low is within 0.05 ticks of the open.
Volume Filter:
Description: Users can enable or disable a volume filter to consider only candles with a volume greater than the average volume over a specified period.
Default: Enabled by default.
Volume Period Input: Users can specify the period for calculating the average volume (e.g., 9 periods).
Higher Timeframe Input:
Description: Allows users to select the higher timeframe on which to identify wickless candles.
Options: H4 ("240"), Daily ("D"), Weekly ("W"), Monthly ("M").
Plotting:
Bearish Wickless Candles: Plotted with a red circle and a "🐻" emoji above the bar.
Bullish Wickless Candles: Plotted with a green circle and a "🐂" emoji below the bar.
Draw on Liquidity [PhenLabs]📊 Draw on Liquidity (DOL) Indicator
Version: PineScript™ v6
Description
The Draw on Liquidity (DOL) indicator is an advanced technical analysis tool designed to identify and visualize significant liquidity zones in the market. It combines volume analysis, pivot point detection, and real-time proximity alerts to help traders identify potential support and resistance levels where significant trading activity occurs. The indicator features dual display modes, adaptive volume thresholds, and a comprehensive real-time dashboard.
🔧 Components
• Liquidity Detection: Advanced pivot point analysis with volume validation
• Volume Analysis: Adaptive volume threshold system
• Display Modes: Historical and Current visualization options
• Proximity Detection: Real-time price-to-level distance monitoring
• Visual Dashboard: Dynamic status display with alert system
🚨 Important Dashboard Features 🚨
The dashboard provides real-time information about:
• High Draw Zones: Resistance levels with significant liquidity
• Low Draw Zones: Support levels with high trading activity
• Current Price: Real-time price monitoring
• Active Alerts: Proximity warnings when price approaches liquidity zones
📈 Visualization
• Historical Mode: Displays all past and present liquidity zones
• Current Mode: Shows only active, unhit liquidity levels
• Color-coded lines: Blue for high liquidity, Red for low liquidity
• Dynamic line extension: Updates with price movement
• Alert indicators: Visual signals when price approaches zones
Historical Visualization
Current Visualization
📌 Usage Guidelines
The indicator is highly customizable with several key parameters:
Pivot Settings:
• Shorter lengths (3-7): More frequent zones, suitable for scalping
• Longer lengths (7-15): Major zones, better for swing trading
Volume Analysis:
• Lower multiplier (1.5-2.0): More zones, higher sensitivity
• Higher multiplier (2.0-3.0): Major zones only, reduced noise
✅ Best Practices:
• Start with default settings and adjust based on timeframe
• Use Historical mode for analysis, Current mode for active trading
• Monitor dashboard alerts for potential trade setups
• Combine with trend analysis for better entry/exit points
⚠️ Limitations
• Requires sufficient volume data for accurate analysis
• Performance varies with market volatility
• Historical mode may become visually cluttered on longer timeframes
• Best performance during regular market hours
What Makes This Unique
• Dual Display System: Choose between historical analysis and current trading modes
• Volume-Validated Zones: Only marks levels with significant trading activity
• Real-time Proximity Alerts: Dynamic warnings when approaching liquidity zones
• Adaptive Threshold System: Automatically adjusts to market conditions
• Comprehensive Dashboard: All-in-one view of current market status
🔧 How It Works
The indicator processes market data through three main components:
1. Liquidity Detection (40% weight):
• Identifies pivot points using customizable lookback periods
• Validates levels with volume analysis
• Marks significant zones based on combined criteria
2. Volume Analysis (40% weight):
• Calculates dynamic volume thresholds
• Compares current volume to moving average
• Filters out low-volume noise
3. Proximity Analysis (20% weight):
• Monitors price distance to active zones
• Triggers alerts based on customizable thresholds
• Updates dashboard status in real-time
💡 Note: For optimal results, combine with price action analysis and consider using multiple timeframes for confirmation. The indicator performs best in markets with consistent volume and clear trend structure.
DCA KuCoin Strategy Backtesting [ScrimpleAI]This script is a backtester for a Dollar Cost Averaging (DCA) strategy on KuCoin, developed for TradingView. It allows users to simulate recurring investments in an asset, test different configurations, and find the best parameters to maximize performance. The script provides a detailed simulation of a DCA strategy, analyzing the impact of different configurations on investments over time. It is designed to be open-source on TradingView, offering a free tool to optimize the use of DCA bots on KuCoin.
Strategy Settings
The script uses an initial capital of 10,000 euros and sets a commission of 0.07 percent per trade. The invested amount is set as a percentage of equity, supporting up to 100 open trades simultaneously. Orders are processed at the close of each candle, and trading is conducted in euros.
Customizable Parameters
The script allows users to choose the investment interval, ranging from a minimum of one hour to a maximum of two weeks. Users can set the amount invested per trade, with a default value of 1,000 USDT and a minimum of 2 USDT. A maximum investment limit can also be defined, preventing further trades once this limit is reached. Additionally, a profit target is available, expressed as a percentage, indicating the profit level at which all positions will be closed.
Backtesting Period Selection
Users can select a specific time range to test the strategy. The bot will execute trades only within this period.
Strategy Logic
The bot makes the first purchase when no trades are open, using the current closing price to calculate the quantity of assets to buy. Subsequent purchases occur at the specified frequency, provided the invested capital does not exceed the set maximum limit. When total equity surpasses the initial value plus the profit target, the bot closes all positions to secure the profit. A check is implemented to prevent errors related to opening and closing trades simultaneously.
Error Management
The script ensures that the selected timeframe is compatible with the chosen investment interval. If the timeframe is too high compared to the investment frequency, an error is triggered. Additionally, if available capital becomes negative, the script stops execution and suggests modifying the test parameters.
Dynamic Deviation Levels [BigBeluga]Dynamic Deviation Levels is an innovative indicator designed to analyze price deviations relative to a smoothed midline. It provides traders with visual cues for overbought/oversold zones, price momentum, levels through labeled deviations and gradient candle coloring.
🔵Key Features:
Smoothed Midline:
A central line calculated as a smoothed median of the price source, serving as the baseline for price deviation analysis.
Dynamic Deviation Levels:
- Three deviation levels are plotted above and below the midline, with labels (1, 2, 3, -1, -2, -3) marking significant price movements.
- Helps traders identify overbought and oversold market conditions.
Heat-Colored Candles:
- Candle colors shift in intensity based on the deviation level, with four gradient shades for both upward and downward movements.
- Quickly highlights market extremes or stable zones.
Interactive Color Scale:
- A gradient scale at the bottom right of the chart visually represents deviation values.
- A triangle marker indicates the current price deviation in real time.
Optional Deviation Levels Display:
- Traders can enable all dynamic levels on the chart to visualize support and resistance areas dynamically.
🔵Usage and Benefits:
Identify Overbought/Oversold Zones: Use labeled deviation levels and heat-colored candles to spot stretched market conditions.
Track Trend Reversals and Momentum: Monitor price interactions with deviation levels for potential trend continuation or reversal signals.
Real-Time Deviation Insights: Leverage the color scale and triangle marker for live deviation tracking and actionable insights.
Map Dynamic Support and Resistance: Enable dynamic levels to highlight key areas where price reactions are likely to occur.
Dynamic Deviation Levels is an indispensable tool for traders aiming to combine price dynamics, momentum analysis, and visual clarity in their trading strategies.
Swing Profile Analyzer [ChartPrime]Swing Profile Analyzer
The Swing Profile Analyzer is a comprehensive tool designed to provide traders with valuable insights into swing frequency profiles, enabling them to identify key price levels and areas of market interest.
⯁ KEY FEATURES
Swing Frequency Profiles
Automatically plots frequency profiles for each swing, highlighting price distribution and key levels of significance.
Point of Control (POC) Line
Marks the price level with the highest number of closes within a swing, acting as a key area for potential price reactions.
Customizable Trend Display
Allows users to toggle between displaying profiles for bullish swings, bearish swings, or both, offering tailored analysis.
Integrated ZigZag Lines
Visualizes swing highs and lows, providing a clear picture of market trends and reversals.
Dynamic Profile Visualization
Profiles are color-coded to indicate the frequency of closes, with the highest value bins distinctly marked for easy recognition.
Max Frequency Highlight
Displays numerical values for the most active price level within each profile, showing how many closes occurred at the peak bin.
Updates only after swing formed
Profiles and POC lines automatically appear after swing is done
⯁ HOW TO USE
Identify Critical Price Levels
Use the POC line and frequency distribution to locate levels where price is likely to react or consolidate.
Analyze Swing Characteristics
Observe swing profiles to understand the strength, duration, and behavior of market trends.
Plan Entries and Exits
Leverage significant price levels and high-frequency bins to make more informed trading decisions.
Focus on Specific Trends
Filter profiles to analyze bullish or bearish swings based on your trading strategy.
⯁ CONCLUSION
The Swing Profile Analyzer is an essential tool for traders seeking to understand price dynamics within market swings. By combining frequency profiles, POC levels, and trend visualization, it enhances your ability to interpret and act on market movements effectively.
Moving Average Hamming-RKMoving Average Hamming
Description:
A Moving Average using a Hamming window is a technique used in technical analysis to smooth price data. The Hamming window applies weighted smoothing, reducing sharp variations and edge effects in the data. This helps in identifying trends more effectively while minimizing noise.
It can be used in combination with other technical indicators for better market analysis.
Technical Use:
The Hamming Moving Average reduces high-frequency noise, making trends clearer.
It applies different weights to data points, giving more importance to the center of the window while reducing the impact of abrupt changes.
This method is particularly useful in trend-following strategies as it minimizes false breakouts.
It can also be integrated into algorithmic trading systems for improved price fluctuation filtering.
When to Take a Position:
Buy Signal: When the price crosses above the Hamming Moving Average, indicating a potential uptrend.
Sell Signal: When the price crosses below the Hamming Moving Average, signaling a possible downtrend.
Confirmation: Combine with other indicators like RSI or MACD to confirm the trend before entering a trade.
Avoid Choppy Markets: The indicator works best in trending markets; avoid using it in sideways or ranging conditions.
This approach helps traders refine their analysis, making informed decisions while reducing market noise.
Daily Bubble Risk AdjustmentThis script calculates the ratio of the asset's closing price to its 20-week moving average (20W MA) and visualizes it as a color-coded line chart. The script also includes a customizable moving average (default: 111-day MA) to help smooth the ratio trend.
It identifies overbought and oversold conditions relative to the 20W MA, making it a valuable tool for long-term trend analysis.
Sadosi Gap SelecterThis indicator is designed to be used on daily charts. Please note that it will not work with weekly or hourly data.
The Sadosi Gap Selecter is a powerful indicator designed to identify price gaps that occur between specific dates on the chart. It allows users to easily analyze price movements between selected weeks and days, highlighting these periods with visual boxes. This helps traders spot potential trend reversals and key price levels more effectively. It’s particularly valuable for those utilizing gap trading strategies to identify market inefficiencies.
The core functionality of this indicator is based on detecting price differences between two selected days within a defined date range. With the Start Day (day1) and End Day (day2) options, you can choose the exact days of the week you’d like to analyze. For instance, if you want to focus on price movements from Friday to Monday, simply select those days. Additionally, the Start Week (week1) and End Week (week2) settings allow you to narrow down the time frame on a weekly basis, making it easy to analyze price behavior during specific periods of the year.
For visual customization, several options are available. The Color (renk) setting lets you choose between red and yellow for the highlighted boxes. The Transparency (op) control adjusts the background opacity from 0% (fully opaque) to 100% (completely transparent), allowing you to manage how prominently the boxes appear on your chart. Furthermore, the Border (hat) option enables you to add or remove borders around the boxes, helping reduce visual clutter or emphasize certain areas depending on your preference.
Once applied to the chart, the indicator automatically generates boxes for the specified date ranges. The upper and lower bounds of each box are determined based on the price movement within that period, providing insights into the direction and strength of the trend. However, this tool does not generate definitive buy or sell signals on its own. It is recommended to use it alongside other technical analysis tools to make more informed trading decisions.
With the Sadosi Gap Selecter, you can gain clearer insights into price behavior, strengthen your trend analyses using historical data, and fully customize the settings to match your trading style for more effective results.
This indicator is designed to be used on daily charts. Please note that it will not work with weekly or hourly data
Market Trend Scanner [Afnan]This Market Strength Scanner indicator is designed to provide traders with a clear and concise overview of market trends using a single table. It helps you quickly determine which sectors and indices are strong, weak, or choppy, allowing you to make informed trading decisions with ease.
How This Indicator Helps You:
✅ Identify Strong Sectors & Indices
🔹By analyzing this table, you can instantly see which sectors and indices are performing well.
🔹Focus on stocks within strong sectors to find high-probability buying opportunities.
✅ Avoid Weak or Choppy Markets
🔹The indicator highlights bearish or consolidating sectors, helping you avoid poor trading conditions.
🔹Stay away from sectors that are weak or moving sideways to reduce unnecessary risks.
✅ Understand Market Sentiment in Seconds
🔹If most sectors are bullish, the market is in an uptrend—giving you confidence to take long positions.
🔹If the majority are bearish, the market is weak, signaling caution.
🔹A mix of bullish and bearish sectors indicates a choppy market, warning you to avoid trading or adjust your strategy.
✅ Powered by 4 Customizable EMAs
🔹The indicator uses 4 Exponential Moving Averages (EMAs) to determine trends for each sector and index.
🔹These EMAs are fully modifiable, allowing you to adjust them based on your preferred strategy.
✅ Covers 25 Major Indices (Fully Customizable)
🔹By default, the indicator tracks 25 key indices, giving you a broad market perspective.
🔹You can customize the list to focus on the indices that matter most to you.
Why Use This Indicator?
🔹 Saves Time – No need to analyze multiple charts manually. The table gives you everything at a glance.
🔹 Improves Trade Selection – Focus only on strong sectors for better trade accuracy.
🔹 Works in All Market Conditions – Whether the market is trending or consolidating, this tool keeps you informed.
🔹 Fully Customizable – Adjust the EMAs and indices according to your trading preferences.
With just this one powerful indicator, you get a complete market overview, helping you align your trades with the current trend effortlessly! 🚀
Market Cap & Volume Tracker with TrendsMarket Cap & Volume Tracker with Trends
This indicator provides a compact, at-a-glance view of key market data directly on your chart, specifically focusing on Market Cap, Volume, and Volume Trends over various time intervals. It helps traders and investors monitor price action and volume shifts in real-time.
Key Features:
Market Cap: Displays the market capitalization of the selected asset, calculated as the Close Price multiplied by Volume, and formatted in Millions (M).
Volume Data: Shows the volume for:
Pre-market (the volume before the main market session starts)
Current Volume (real-time volume during the current session)
After-hours Volume (volume traded after the market closes)
All volumes are formatted in Thousands (K) for easy readability.
Volume Trends: Monitors volume movement across multiple time intervals:
15-Minutes
30-Minutes
45-Minutes
1 Hour
The indicator tracks whether the volume is Increasing or Decreasing in each of these time frames to help identify trends and potential market shifts.
Customization:
Easily adjustable colors for the table background, text, and header for clear visibility and user preferences.
Option to choose the display position of the table (top or bottom right corner).
Use Case:
This indicator is ideal for traders who want quick insights into the market's activity without the need to look at multiple charts or external data points. It helps spot volume changes and trends over various time frames and supports decision-making for entries, exits, and overall market sentiment.
Overextension Oscillator [by DanielM]The Overextension Oscillator is an indicator that detects when a market move has extended significantly beyond its typical range, signaling potential areas for a correction or reversal. Unlike traditional oscillators that rely on fixed overbought/oversold levels, this tool dynamically adjusts its thresholds based on historical swing high and swing low movements.
By analyzing all swing points on the chart, the indicator determines the expected range of price movements and identifies when the price extends beyond normal levels. Since every asset has different price behavior and volatility, swing lengths may vary from asset to asset, ensuring that overextension is measured relative to each market's historical price behavior.
How It Works
1️⃣ Swing Detection & Data Collection
The indicator scans all available swing highs and swing lows on the chart to gather a complete dataset of past price fluctuations.
It records the percentage differences between swings to determine how much price typically moves in a given market.
2️⃣ Overextension Calculation
Using the stored swing data, the indicator calculates:
Average Swing Difference – Measures the average percentage difference between swings.
Average Move Percentage – Determines the typical magnitude of price moves within a trend cycle.
These values are used to create dynamic overextension thresholds that adjust based on historical data.
3️⃣ Price Distance & Overextension Measurement
The indicator calculates the distance between the current price and the closest historical swing point. If this distance exceeds the predefined threshold based on past swings, the move is considered overextended. The greater the deviation, the higher the probability of a pullback or short-term reversal.
4️⃣ Buy/Sell Signal Generation
A Buy signal is generated when the price has dropped below an overextended threshold relative to a past swing low.
A Sell signal is generated when the price has risen beyond an overextended threshold relative to a past swing high.
These signals indicate that the price has reached a level where it historically tends to slow down or reverse.
Pearson Correlation CoefficientDescription: The Pearson Correlation Coefficient measures the strength and direction of the linear relationship between two data series. Its value ranges from -1 to +1, where:
+1 indicates a perfect positive linear correlation: as one asset increases, the other asset increases proportionally.
0 indicates no linear correlation: variations in one asset have no relation to variations in the other asset.
-1 indicates a perfect negative linear correlation: as one asset increases, the other asset decreases proportionally.
This measure is widely used in technical analysis to assess the degree of correlation between two financial assets. The "Pearson Correlation (Manual Compare)" indicator allows users to manually select two assets and visually display their correlation relationship on a chart.
Features:
Correlation Period: The time period used for calculating the correlation can be adjusted (default: 50).
Comparison Asset: Users can select a secondary asset for comparison.
Visual Plots: The chart includes reference lines for perfect correlations (+1 and -1) and strong correlations (+0.7 and -0.7).
Alerts: Set alerts for when the correlation exceeds certain threshold values (e.g., +0.7 for strong positive correlation).
How to Select the Second Asset:
Primary Asset Selection: The primary asset is the one you select for viewing on the chart. This can be done by simply opening the chart for the desired asset.
Secondary Asset Selection: To select the secondary asset for comparison, use the input field labeled "Comparison Asset" in the script settings. You can manually enter the ticker symbol of the secondary asset you want to compare with the primary asset.
This indicator is ideal for traders looking to identify relationships and correlations between different financial assets to make informed trading decisions.
ATR stop lossPlots the stop loss level based on average true range (ATR) and a multiplier of choice (1 to 2.5, default is 1.5), subtracted from closing price.
Additions in this version:
You can now show percentage labels to help evaluate the level of risk.
The color of the plotted line and the text labels can be picked by the user.
Classic Nacked Z-Score ArbitrageThe “Classic Naked Z-Score Arbitrage” strategy employs a statistical arbitrage model based on the Z-score of the price spread between two assets. This strategy follows the premise of pair trading, where two correlated assets, typically from the same market sector, are traded against each other to profit from relative price movements (Gatev, Goetzmann, & Rouwenhorst, 2006). The approach involves calculating the Z-score of the price spread between two assets to determine market inefficiencies and capitalize on short-term mispricing.
Methodology
Price Spread Calculation:
The strategy calculates the spread between the two selected assets (Asset A and Asset B), typically from different sectors or asset classes, on a daily timeframe.
Statistical Basis – Z-Score:
The Z-score is used as a measure of how far the current price spread deviates from its historical mean, using the standard deviation for normalization.
Trading Logic:
• Long Position:
A long position is initiated when the Z-score exceeds the predefined threshold (e.g., 2.0), indicating that Asset A is undervalued relative to Asset B. This signals an arbitrage opportunity where the trader buys Asset B and sells Asset A.
• Short Position:
A short position is entered when the Z-score falls below the negative threshold, indicating that Asset A is overvalued relative to Asset B. The strategy involves selling Asset B and buying Asset A.
Theoretical Foundation
This strategy is rooted in mean reversion theory, which posits that asset prices tend to return to their long-term average after temporary deviations. This form of arbitrage is widely used in statistical arbitrage and pair trading techniques, where investors seek to exploit short-term price inefficiencies between two assets that historically maintain a stable price relationship (Avery & Sibley, 2020).
Further, the Z-score is an effective tool for identifying significant deviations from the mean, which can be seen as a signal for the potential reversion of the price spread (Braucher, 2015). By capturing these inefficiencies, traders aim to profit from convergence or divergence between correlated assets.
Practical Application
The strategy aligns with the Financial Algorithmic Trading and Market Liquidity analysis, emphasizing the importance of statistical models and efficient execution (Harris, 2024). By utilizing a simple yet effective risk-reward mechanism based on the Z-score, the strategy contributes to the growing body of research on market liquidity, asset correlation, and algorithmic trading.
The integration of transaction costs and slippage ensures that the strategy accounts for practical trading limitations, helping to refine execution in real market conditions. These factors are vital in modern quantitative finance, where liquidity and execution risk can erode profits (Harris, 2024).
References
• Gatev, E., Goetzmann, W. N., & Rouwenhorst, K. G. (2006). Pairs Trading: Performance of a Relative-Value Arbitrage Rule. The Review of Financial Studies, 19(3), 1317-1343.
• Avery, C., & Sibley, D. (2020). Statistical Arbitrage: The Evolution and Practices of Quantitative Trading. Journal of Quantitative Finance, 18(5), 501-523.
• Braucher, J. (2015). Understanding the Z-Score in Trading. Journal of Financial Markets, 12(4), 225-239.
• Harris, L. (2024). Financial Algorithmic Trading and Market Liquidity: A Comprehensive Analysis. Journal of Financial Engineering, 7(1), 18-34.
dynamic support and resistance v3**Automatic Multi-Timeframe & Dynamic Support/Resistance Indicator**
This indicator automatically identifies and plots key Support and Resistance levels across multiple timeframes (1H, 4H, Daily) and dynamically adapts to the chart's current timeframe. It provides a comprehensive view of potential price reversal zones, helping traders make more informed decisions.
**Key Features:**
* **Multi-Timeframe Analysis:** Automatically calculates and displays Support and Resistance levels derived from the 1-hour, 4-hour, and Daily timeframes. This allows you to see the bigger picture and anticipate potential price reactions at significant levels. Levels from higher timeframes are often stronger.
* **Dynamic Support & Resistance:** Beyond the fixed timeframe levels, the indicator also dynamically calculates and plots Support and Resistance based on the *currently visible* timeframe of your chart. This ensures you always have relevant levels, regardless of whether you're zoomed in on a 1-minute chart or looking at a weekly view. This dynamic calculation adapts to changing market conditions.
* **Combined View:** All identified Support and Resistance levels (from all timeframes) are plotted on the same chart. This gives you a clear and concise overview of potential areas of interest, simplifying your analysis. Different colors or styles can be used to distinguish between timeframes (e.g., Daily levels could be thicker lines, 4H thinner, and 1H dashed).
* **Customizable:** (Optional - Mention if you offer customization) The indicator may include customizable settings, such as:
* Lookback period for dynamic S/R calculation.
* Strength/sensitivity adjustments for identifying levels.
* Color and style customization for different timeframes.
* Option to toggle visibility of specific timeframe levels.
**Benefits:**
* **Saves Time:** No more manually drawing Support and Resistance lines. The indicator does the work for you.
* **Improved Accuracy:** The automated calculations can help identify key levels that might be missed by manual analysis.
* **Enhanced Visualization:** Seeing all relevant S/R levels on one chart provides a clearer picture of potential price action.
* **Adaptable to Any Timeframe:** Whether you're a scalper or a long-term investor, the dynamic S/R adapts to your trading style.
**How to Use:**
Simply add the indicator to your TradingView chart. The Support and Resistance levels will be automatically calculated and displayed. Use these levels to identify potential entry and exit points, stop-loss placements, and areas where price might encounter resistance or find support.
**Disclaimer:**
This indicator is for informational and educational purposes only. It should not be considered financial advice. Trading involves risk, and you should always do your own research before making any investment decisions. Past performance is not indicative of future results.
Advanced Trend and Volatility Indicator with Alerts by ZaimonThis script presents a comprehensive analytical tool that integrates multiple technical indicators to provide a holistic view of market trends and volatility. By uniquely combining Moving Averages (MA), Relative Strength Index (RSI), Stochastic Oscillator, Bollinger Bands, and Average True Range (ATR), it offers nuanced insights into price movements and helps identify potential trading opportunities.
---
### **Key Features and Integration:**
1. **Moving Averages (MA20 & MA50):**
- **Trend Identification:**
- **Methodology:** Calculates two Simple Moving Averages—MA20 (short-term) and MA50 (long-term).
- **Bullish Trend:** When MA20 crosses above MA50, indicating upward momentum.
- **Bearish Trend:** When MA20 crosses below MA50, signaling downward momentum.
- **Golden Cross & Death Cross Alerts:**
- **Golden Cross:** MA20 crossing above MA50 generates a bullish alert and visual symbol.
- **Death Cross:** MA20 crossing below MA50 triggers a bearish alert and visual symbol.
- **Integration:**
- Serves as the foundational trend indicator, influencing interpretations of other indicators within the script.
2. **Relative Strength Index (RSI):**
- **Momentum Measurement:**
- **Methodology:** Calculates RSI to assess the speed and change of price movements over a 14-period length.
- **Overbought/Oversold Conditions:** Customizable thresholds set at 70 (overbought) and 30 (oversold).
- **Alerts:**
- Generates alerts when RSI crosses above or below the specified thresholds.
- **Integration:**
- Confirms trend strength identified by MAs.
- Overbought/Oversold signals can precede potential trend reversals, especially when aligned with MA crossovers.
3. **Stochastic Oscillator:**
- **Momentum and Reversal Signals:**
- **Methodology:** Uses %K and %D lines to evaluate price momentum relative to high-low range over recent periods.
- **Bullish Signal:** %K crossing above %D in oversold territory (below 20).
- **Bearish Signal:** %K crossing below %D in overbought territory (above 80).
- **Alerts:**
- Provides alerts on bullish and bearish crossovers in extreme regions.
- **Integration:**
- Enhances RSI signals by providing additional momentum confirmation.
- When both RSI and Stochastic indicate overbought/oversold conditions, it strengthens the likelihood of a reversal.
4. **Bollinger Bands:**
- **Volatility Visualization:**
- **Methodology:** Plots upper and lower bands based on standard deviations from a moving average (BB Basis).
- **Dynamic Support/Resistance:** Prices touching or exceeding the bands may indicate potential reversals.
- **Integration:**
- Works with RSI and Stochastic to identify overextended price movements.
- Helps in assessing volatility alongside trend and momentum indicators.
5. **Average True Range (ATR):**
- **Volatility Assessment:**
- **Methodology:** Calculates ATR over a 14-period length to measure market volatility.
- **ATR Bands:** Plots upper and lower bands relative to the current price using an ATR multiplier.
- **Integration:**
- Assists in setting stop-loss and take-profit levels based on current volatility.
- Complements Bollinger Bands for a comprehensive volatility analysis.
6. **Information Table:**
- **Real-Time Data Display:**
- Shows current values of MA20, MA50, RSI, Stochastic %K and %D, BB Basis, ATR, and Trend Status.
- **Trend Status Indicator:**
- Displays "Bullish," "Bearish," or "Sideways" based on MA conditions.
- **Integration:**
- Provides a consolidated view for quick decision-making without analyzing individual indicators separately.
7. **Periodic Labels:**
- **Enhanced Visibility:**
- Adds labels every 50 bars showing RSI and Stochastic values.
- **Integration:**
- Helps track momentum changes over time and spot longer-term patterns.
---
### **How the Components Work Together:**
- **Synergistic Analysis:**
- **Trend Confirmation:** MA crossovers establish the primary trend, while RSI and Stochastic confirm momentum within that trend.
- **Volatility Context:** Bollinger Bands and ATR provide context on market volatility, refining entry and exit points suggested by trend and momentum indicators.
- **Signal Strength:** Concurrent signals from multiple indicators increase confidence in trading decisions.
---
### **Usage Guidelines:**
1. **Trend Analysis:**
- **Identify Trend Direction:**
- Observe MA20 and MA50 crossovers.
- Refer to the Trend Status in the information table.
- **Confirm with Momentum Indicators:**
- Ensure RSI and Stochastic support the identified trend.
2. **Entry and Exit Points:**
- **Overbought/Oversold Conditions:**
- Look for RSI and Stochastic reaching extreme levels.
- Consider entering positions when oversold in a bullish trend or overbought in a bearish trend.
- **Bollinger Band Interactions:**
- Use price interactions with Bollinger Bands to identify potential reversal zones.
3. **Risk Management:**
- **ATR-Based Levels:**
- Set stop-loss and take-profit levels using ATR bands to account for current volatility.
- **Adjusting to Volatility:**
- Modify position sizes and targets based on Bollinger Band width and ATR values.
4. **Alerts Setup:**
- **Customize Alert Thresholds:**
- Configure alerts for MA crossovers, RSI levels, and Stochastic crossovers according to your trading strategy.
- **Stay Informed:**
- Use alerts to monitor key events without constant chart observation.
---
### **Customization:**
- **Flexible Parameters:**
- All indicator lengths, thresholds, and settings are adjustable to suit different trading styles and timeframes.
- **Adjustable Visuals:**
- Modify plot colors, line styles, and label positions to enhance chart readability.
---
### **Originality and Value Addition:**
This script differentiates itself by:
- **Integrated Approach:**
- Seamlessly combining multiple indicators to provide a more comprehensive analysis than using each indicator separately.
- **Enhanced Visualization:**
- Utilizing plots, fills, labels, and an information table to present data intuitively.
- **User-Friendly Features:**
- Pre-configured alerts and real-time data displays reduce the need for manual monitoring.
By explaining how each component interacts and contributes to the overall analysis, the script adds substantial value to traders seeking a multi-faceted tool for market analysis.
---
### **Additional Notes:**
- **Learning Resource:**
- The script is well-commented, serving as an educational tool for those learning Pine Script and technical analysis integration.
- **Further Enhancements:**
- Opportunities exist to incorporate additional indicators like MACD or ADX, and to develop advanced alert logic, such as RSI or Stochastic divergences.
---
### **Disclaimer:**
- **Educational Purpose Only:**
- This script is provided for informational purposes and should not be construed as financial advice.
- **Risk Acknowledgment:**
- Trading involves significant risk; past performance is not indicative of future results.
- **Due Diligence:**
- Users should conduct their own analysis and consider consulting a financial professional before making trading decisions.
---
By providing detailed explanations of the methodologies and the synergistic use of multiple indicators, this script aligns with TradingView's guidelines for originality and usefulness. It offers traders a unique tool that enhances market analysis through the thoughtful integration of technical indicators.
Modified Volume IndicatorThis indicator colors volume bars based on price and range conditions for a given period:
Green Bars:
The close is at least 70% of the way up the daily range (from the low).
The close is also 1% or more above the low.
Red Bars:
The close is at least 70% of the way down the daily range (from the high).
The close is also 1% or more below the high.
Gray Bars:
Volume bars that don’t meet the above conditions are neutral.
Purpose
Green Bars highlight strong upward closes.
Red Bars indicate weak downward closes.
Gray Bars show neutral or inconclusive price movement.
This indicator helps traders identify momentum shifts and trend strength in real-time.
the rainbow unicornScript Name: The Rainbow Unicorn
Description:
The Rainbow Unicorn is a unique visual indicator designed to add a touch of color and fun to your trading charts. This indicator colors the bars, wicks, and borders using rainbow colors, making technical analysis more enjoyable and visually appealing.
Features:
Rainbow Colors: Bars, wicks, and borders are colored in red, orange, yellow, green, blue, and purple, creating a dynamic rainbow effect.
Customization: Colors are applied cyclically, offering a continuous and smooth visualization of market data.
Ease of Use: No complex configuration is required. Simply add the indicator to your chart to see the rainbow colors in action.
How It Works:
The indicator uses a function to generate rainbow colors and applies them to the bars on the chart based on their index. The colors are defined in an array and are applied cyclically, meaning each bar receives a different rainbow color.
Usage:
Add the "The Rainbow Unicorn" indicator to your chart.
Observe the rainbow-colored bars for a more visual and fun trading experience.
Use this indicator in conjunction with your other technical analysis tools for better visualization of trends and price movements.
Underlying Concepts:
This indicator is primarily designed to enhance the visual experience of traders by adding vibrant and dynamic colors to the charts. It does not rely on complex calculations or trend detection methods but aims to make technical analysis more enjoyable and engaging.
Overlay Daily Candle [odnac]This script is designed to visually overlay the daily candle on various timeframes, allowing traders to quickly assess the shape of the daily candle, its high and low points, and the relationship between the open and close prices.
Additionally, it helps to intuitively identify upward and downward movements by using color-coded bullish and bearish candles.
Key Features
Candle Color Indication: Bullish candles are shown in green, while bearish candles are shown in red.
Candle Body Box: The box represents the body of the daily candle, based on the open and close prices.
Candle Wick: The wicks of the daily candle are drawn to represent the high and low prices.
Date Change Detection: When a new date begins, the previous data is reset, and new boxes and lines are drawn according to the updated date.
How to Use
You can adjust the script’s options to customize the color of bullish and bearish candles, as well as the transparency of the boxes, to suit your personal style.
29&71 Goldbach levelsThe indicator automatically plots horizontal lines at the 29 and 71 price levels on your chart. These levels serve as psychological barriers in the market, where price action may react or consolidate, just as prime numbers are fundamental in the theory of numbers.
---
Features:
- 29 Level: Identifies significant areas where market participants may encounter support or resistance, similar to the importance of prime numbers in Goldbach's conjecture.
- 71 Level: Marks another key zone that might indicate possible price breakouts or reversals, offering traders a reference point for decision-making.
- Customizable: You can adjust the colors, line styles, or alerts associated with these levels to fit your trading preferences.
How to Use:
- Use the 29 and 71 levels to spot potential areas of support or resistance on the chart.
- Watch for price reactions at these levels for possible breakout or reversal setups.
- Combine the levels with other technical indicators for added confirmation.
---
This indicator blends the theory of prime numbers with market analysis, offering traders a novel approach to identifying key levels that might influence price movements.
Chart Box Session Indicator [ScrimpleAI]This indicator allows highlighting specific time sessions within a chart by creating colored boxes to represent the price range of the selected session. Is an advanced and flexible tool for graphically segmenting trading sessions. Thanks to its extensive customization options and advanced visualization features, it allows traders to gain a clear representation of key market areas based on chosen time intervals.
The indicator offers two range calculation modes:
- Body to Body : considers the range between the opening and closing price.
- Wick to Wick : considers the range between the session's low and high.
Key Features
1. Session Configuration
- Users can select the time range of the session of interest.
- Option to choose the day of the week for the calculation.
- Supports UTC timezone selection to correctly align data.
2. Customizable Visualization
- Option to display session price lines.
- Ability to show a central price line.
- Extension of session lines beyond the specified duration.
3. Graphical Display Configuration
- Three different background configurations to suit light and dark themes.
- Two gradient modes for session coloring:
- Centered : the color is evenly distributed.
- Off-Centered : the gradient is asymmetrical.
How It Works
The indicator determines whether the current time falls within the selected session, creating a colored box that highlights the corresponding price range.
Depending on user preferences, the indicator draws horizontal lines at the minimum and maximum price levels and, optionally, a central line.
During the session:
- The lowest and highest session prices are dynamically updated.
- The range is divided into 10 bands to create a gradient effect.
- A colored box is generated to visually highlight the chosen session.
If the Extend Lines option is enabled, price lines continue even after the session ends, keeping the range visible for further analysis.
Usage
This indicator is useful for traders who want to analyze price behavior in specific timeframes. It is particularly beneficial for strategies based on market sessions (e.g., London or New York open) or for identifying accumulation and distribution zones.