Candle Data AnalyzerCandle Data Analyzer
Overview
The Candle Data Analyzer is a powerful TradingView script designed to provide traders with insights into price action patterns within specific time sessions. By analyzing historical candle data, this indicator offers predictive suggestions for future price movements, helping traders make more informed decisions.
Key Features
**Custom Session Analysis**: Analyze price action within user-defined time sessions.
**Bias Selection**: Choose between Bullish, Bearish, or Neutral bias for predictions.
**Daily/Weekly Toggle**: Option to use daily or weekly results for broader context.
**Visual Predictions**: Display predicted high, low, and open levels for the next session.
**Detailed Statistics**: View average time and price movements for highs and lows.
**Interactive Table**: Optional table display showing current and historical data.
How It Works
1. The script collects and analyzes candle data from user-defined sessions.
2. It calculates average time and price movements for highs and lows.
3. Based on the selected bias, it predicts the next session's open, high, and low levels.
4. These predictions are visually represented on the chart using colored lines.
5. A detailed statistics table can be displayed for in-depth analysis.
Usage Guide
Setup
1. Add the indicator to your chart.
2. Configure the session time in the format "HHMM-HHMM" (e.g., "0300-0500" for 3:00 AM to 5:00 AM).
3. Select your bias: Bullish, Bearish, or Neutral.
4. Choose whether to use daily results or not.
5. Decide if you want to display the detailed statistics table.
Interpreting the Results
**Blue Line**: Open level for the next session.
**Green Line**: Predicted high level for the next session.
**Red Line**: Predicted low level for the next session.
**Vertical Lines**: Estimated times for the high (green) and low (red) to occur.
Using the Statistics Table
If enabled, the table provides:
- Previous session's OHLC data with timestamps.
- Average price movements (as percentages) from open to high and open to low.
- Average time for highs and lows to occur (in minutes).
- Count of analyzed candles matching the selected bias.
Trading Applications
**Session Trading**: Use predictions to plan entries and exits for session-based trading strategies.
**Risk Management**: Set stop-loss and take-profit levels based on predicted price ranges.
**Trend Analysis**: Compare current price action to predicted levels to gauge trend strength.
**Time-Based Strategies**: Utilize timing predictions for high-probability trade entries.
Best Practices
- Combine this indicator with other technical analysis tools for confirmation.
- Regularly adjust the session times and bias to adapt to changing market conditions.
- Use the statistics table to gain deeper insights into historical price patterns.
- Remember that predictions are based on averages and should not be considered guaranteed outcomes.
Conclusion
The Candle Data Analyzer offers a unique approach to understanding and predicting price action within specific time frames. By leveraging historical data and user-defined parameters, it provides traders with valuable insights to enhance their trading strategies and decision-making processes.
Future Developments
- Weekly and Daily Projections
- User defined line styles
Cari dalam skrip untuk "weekly"
PDL PWL [Dans]PDL PWL
Overview:
The PDL PWL indicator is a simple-designed for traders seeking to visualize key price levels derived from previous daily and weekly trading sessions. By incorporating significant price points such as Previous Day High (PDH), Previous Day Low (PDL), Previous Week High (PWH), and Previous Week Low (PWL), this indicator helps to make informed decisions based on historical price action.
Key Features:
Toggle Options:
Easily toggle the visibility of Previous Daily Levels and Previous Weekly Levels. This flexibility allows you to customize your chart according to your trading style and preferences.
Customizable Colors :
Personalize your chart by selecting colors for PDH, PDL, PWH, and PWL.
Equilibrium Levels:
The indicator calculates and displays equilibrium levels (EQ) for both daily and weekly levels.
Dynamic Updates:
The indicator automatically updates at 18:00 NY time, ensuring that you always have the latest previous high and low levels on your chart.
Daily Divider:
A daily divider line is drawn at the start of each trading day, helping you distinguish between trading sessions (daily) easily.
How to Use: Simply add the PDL PWL indicator to your chart, adjust the settings to fit your trading style, and observe how price interacts with the key levels.
Hope you will find this insightful !
Love,
Dans.
S&R Precision Cloud by Dr. Abiram Sivprasad -4 directional biasDescription of the Script
**Script Name:** S&R Precision Cloud by Dr. Abhiram Sivprasad
**Overview:**
This script is designed to identify key support and resistance levels using the Central Pivot Range (CPR) methodology along with daily, weekly, and monthly pivots. It incorporates the Lagging Span from the Ichimoku Cloud to enhance decision-making in trading strategies for intraday, swing, and long-term positions mainly for directional bias.
---
### Key Components:
1. **Central Pivot Range (CPR):**
- **Central Pivot (CP):** Calculated as the average of the high, low, and close prices. This serves as a reference point for price action.
- **Below Central Pivot (BC) and Top Central Pivot (TC):** Derived to create a range that aids in identifying support and resistance levels.
2. **Support and Resistance Levels:**
- The script computes three support (S1, S2, S3) and resistance (R1, R2, R3) levels based on the Central Pivot.
- These levels are plotted for daily, weekly, and monthly time frames, providing traders with multiple reference points.
3. **Lagging Span:**
- The Lagging Span is plotted as the closing price shifted backward by 26 periods (as per Ichimoku settings).
- This serves as a filter for trade entries, where positions should only be taken in the direction opposite to where the price is relative to this line.
4. **User Inputs:**
- The script allows customization through checkboxes to plot daily, weekly, and monthly support and resistance levels as needed.
- Users can choose whether to display CPR and various support/resistance levels for better visual clarity.
5. **Color Coding:**
- The support and resistance lines are color-coded to distinguish between different levels (green for support, red for resistance, and blue for pivots).
---
### Trading Strategies:
- **Intraday Trading:**
- Utilize price movements around the Lagging Span and support/resistance levels for quick trades.
- **Swing Trading:**
- Identify potential reversal points at S2 and R2 levels, confirmed by divergences in price movement.
- **Long-Term Trading:**
- Monitor price behavior against the Lagging Span and significant pivot levels to capture longer trends.
---
### Summary:
This script equips traders with essential tools for technical analysis by clearly defining critical price levels and incorporating the Lagging Span for directional bias. It is suitable for various trading styles, including intraday, swing, and long-term strategies, making it a versatile addition to any trader’s toolkit.
Universal Trend Following Valuation | viResearch Universal Trend Following Valuation | viResearch
Conceptual Foundation and Innovation
The "Universal Trend Following Valuation" script represents a comprehensive approach to trend-following systems. It combines multiple technical indicators and methods to assess market trends, integrating Sharpe, Sortino, and Omega ratios with various moving averages and Z-score calculations. By utilizing advanced statistical tools, the script provides traders with a well-rounded evaluation of trend strength, direction, and potential reversals. The inclusion of Z-scores and custom ratios allows for a more in-depth and accurate market analysis, making it a valuable tool for trend valuation.
Technical Composition and Calculation
This script is built on various performance metrics and trend-following methods. It features ratio calculations, such as Sharpe, Sortino, and Omega, which provide insight into the risk-adjusted performance of assets, helping traders gauge the strength of market trends. Weekly RSI values are smoothed using dema, ema, and median methods to offer a clearer view of trend momentum. Additionally, Z-scores are applied to these ratios and the weekly RSI, offering a standardized assessment of trend deviations from historical performance. A custom scoring system is used to generate a cumulative trend score, highlighting potential market reversals or confirmations.
Key Indicators and Features
The script uses weekly RSI and EMA/Dema smoothing to reduce market noise and produce clearer trend signals. The Sharpe, Sortino, and Omega ratio calculations help assess market performance and volatility, with Z-scores adding another analytical layer. Different moving averages (HMA, DEMA, SMMA) are incorporated to evaluate both short-term and long-term trends, making the script adaptable to various market conditions. Furthermore, the script provides trend confirmation through multiple layers by using indicators like the Supertrend and the Average True Range (ATR) factor to cross-check trends for increased reliability.
Practical Applications
This script is ideal for traders looking to systematically evaluate market trends and effectively position themselves. The combination of advanced statistical tools and customizable moving averages and ratios ensures that the script remains both flexible and powerful. It is particularly useful for confirming trends and highlighting potential reversals, giving traders a reliable signal for either trend continuation or reversals. The inclusion of Sharpe and Sortino ratios allows traders to focus on trends that offer a favorable risk-reward profile.
Advantages and Strategic Value
The "Universal Trend Following Valuation" script offers a detailed, multifaceted approach to trend analysis. Its use of advanced statistical tools provides a more precise evaluation of market trends, making it valuable for both novice and experienced traders. The script reduces noise while ensuring that the core trend signals remain accurate, helping traders make more informed decisions in volatile market conditions.
Summary and Usage Tips
Incorporating the "Universal Trend Following Valuation" into your trading system can significantly enhance your ability to follow and confirm trends. With its customizable parameters and alerts, this script offers a powerful and reliable tool for navigating market volatility and optimizing trade entries and exits. By combining trend-following signals with performance metrics, traders can refine their strategies with increased confidence.
Disclaimer: Backtests are based on past results and are not indicative of future performance.
TFC Alerts Multi Time Frame
TFC Alerts Multi Time Frame
The TFC Alerts Multi Time Frame indicator is a powerful tool designed to monitor full timeframe continuity (FTFC) across multiple symbols and multiple timeframes simultaneously. This indicator tracks the performance of four selected symbols (e.g., SPY, QQQ, DIA, IWM) across four distinct timeframes, providing visual alerts when all selected symbols are in full continuity.
### Key Features:
- **Multi-Timeframe Monitoring:** Track up to four different symbols across four separate timeframes (e.g., 60-minute, daily, weekly, monthly) in a single indicator, offering a comprehensive view of market continuity over various time horizons.
- **FTFC Alerts:** The indicator provides visual labels on the chart when all selected symbols are in full continuity across the chosen timeframes. Green labels indicate that all symbols are above their open prices across all timeframes (bullish FTFC), while red labels show that all symbols are below their open prices (bearish FTFC).
- **Versatile Timeframe Selection:** Each symbol is monitored across four customizable timeframes. Traders can adjust these to fit their trading strategy, whether they are looking at shorter intraday intervals like 5-minute, 15-minute, 30-minute, and 60-minute, or longer-term perspectives such as daily, weekly, monthly, and even quarterly timeframes.
### Image Explanation:
- **Full Timeframe Continuity Overview:** This image illustrates the indicator set to monitor the 5-minute, 15-minute, 30-minute, and 60-minute timeframes for each of the four symbols (SPY, QQQ, DIA, IWM). The FTFC labels plot on the chart when all four timeframes for each symbol align in the same direction. This setup is flexible and can easily be adjusted to longer timeframes such as the 60-minute, daily, weekly, and monthly intervals, depending on the trader’s preferred time horizon.
### Most Powerful Use Case:
The most powerful way to use this indicator is to confirm market trends across your chosen timeframes by monitoring major indices or sector ETFs. For short-term traders, setting the indicator to track 5-minute, 15-minute, 30-minute, and 60-minute timeframes allows for quick identification of intraday trends. For longer-term traders, adjusting the timeframes to 60-minute, daily, weekly, and monthly (or even quarterly and yearly) provides a robust analysis of market alignment over extended periods. This versatility makes it invaluable for executing trades that align with broader market momentum, regardless of the trading horizon.
MTF AnalysisMTF Analysis - Multi-Timeframe TradingView Script
Overview: The "MTF Analysis" script provides a comprehensive approach to analyzing price trends across daily, weekly, and monthly timeframes using linear regression channels. It helps traders identify strong and weak bullish or bearish conditions based on the relationship between the current price and regression lines derived from multiple timeframes.
Key Features:
User-Defined Inputs:
Regression Lengths: Customize regression lengths for daily, weekly, and monthly timeframes.
Smoothing Length: Apply smoothing to regression lines.
Near-Zero Threshold: Filter out signals near a defined slope threshold for more refined analysis.
Daily Time Frame Filter: Optional filter to consider daily regression slope in signal generation.
Regression Line Calculation:
The script calculates linear regression lines for each timeframe (daily, weekly, monthly) and applies a smoothing function to refine the signals.
Signal Conditions:
Strong Bullish/Bearish: Signals generated when the price is consistently above/below weekly and monthly regression lines, with the option to apply the daily timeframe filter.
Weak Bullish/Bearish: Signals generated when the price is above/below the monthly regression line alone.
Visual Indicators:
The script plots regression lines on the chart with different colors for easy identification.
It also displays arrows on the chart to indicate strong or weak bullish/bearish signals.
Alerts:
Custom alerts for each signal condition help traders stay informed of potential trading opportunities.
This script is highly customizable, allowing traders to tailor it to their specific trading style and preferences.
This summary can be used to introduce the script to other traders or for publication on platforms like TradingView.
ICT NWOG/NDOG Gaps [TradingFinder] New Opening Gaps🔵 Introduction
🟣 Understanding ICT Opening Gaps
In the realm of technical analysis, mastering the art of recognizing market behavior and pinpointing key price levels is vital for making sound trading decisions. Among the array of tools available, the concept of opening gaps stands out for its ability to provide crucial insights.
The ICT (Inner Circle Trader) methodology offers a distinctive approach to understanding the importance of New Day Opening Gaps (NDOG), New Week Opening Gaps (NWOG), and New Monthly Opening Gaps (NMOG).
These gaps, representing the price differences between the close of a previous period and the open of the next, serve as key reference points that can greatly impact price movements.
The ICT trading approach highlights these gaps as potential zones of support and resistance. Prices often respond to these areas, either bouncing off or passing through and then retesting them. Within these gaps, significant levels such as the high and low are particularly important.
Additionally, the Event Horizon PD Array (EHPDA) concept, which is an intermediate level calculated from the average of neighboring NWOGs or NDOGs, adds another layer to this analysis.
This guide delves into ICT's New Daily, Weekly, and Monthly Opening Ranges, showing how these gaps can be effectively utilized in trading. By grasping the nuances of these gaps, traders can better forecast market behavior, identify key support and resistance levels, and refine their trading strategies.
🟣 The Gaps
1. New Week Opening Gap (NWOG) : The NWOG is the price gap between Friday's closing price and Sunday's opening price. This gap is particularly crucial for traders who monitor weekly trends. Depending on the direction of the gap, the NWOG often serves as a pivotal support or resistance level.
2. New Day Opening Gap (NDOG) : The NDOG signifies the price difference between the closing price of the previous day and the opening price of the current day. Much like the NWOG, the NDOG is a key reference point for intraday traders.
Prices typically react to these levels, either reversing or continuing through the gap after a retest. NDOGs are instrumental in identifying short-term support and resistance levels, aiding traders in making decisions based on daily price movements.
3. New Monthly Opening Gap (NMOG) : The NMOG represents the gap between the closing price of the previous month and the opening price of the current month.
This gap is especially valuable for traders focusing on long-term trends and macroeconomic factors. As with NWOGs and NDOGs, the NMOG can act as a significant support or resistance level.
🔵 How to Use
Identifying Support and Resistance : Opening gaps often indicate potential zones where prices might reverse or find support/resistance. For example, if a new day opens below the previous day’s close (creating a NDOG), this gap could act as resistance, prompting traders to consider short positions if the price retests this level without breaking through.
Conversely, if the price opens above the previous day’s close, the gap might serve as support, offering a potential entry point for long trades.
Gap Fill Strategy : A popular strategy associated with opening gaps is the "gap fill" approach, where traders anticipate that the price will eventually return to fill the gap.
For instance, if there’s a significant NDOG at market open, a trader might expect the price to retrace back to the previous day’s close, effectively "filling" the gap. This strategy is particularly effective in markets that exhibit mean-reverting behavior.
Combining Gaps with Other Indicators : Traders often enhance their analysis of NDOG, NWOG, and NMOG by integrating other technical indicators. Aligning gap levels with tools such as Fibonacci retracements, moving averages, or existing support and resistance zones can provide additional confirmation for trade entries and exits.
🔵 Setting
Show and Color : You can control the display or non-display of the range as well as the color of the range.
Max Opening Range Update Method : You can control the number of ranges that are updated. If it is "All", all ranges that are not mitigated will be displayed. If "Custom", the ranges will be updated based on the number you specify.
Max Opening Range Update : The number of ranges to update.
🔵 Conclusion
The ICT New Daily, Weekly, and Monthly Opening Ranges provide traders with a systematic approach to understanding market dynamics and identifying critical support and resistance levels.
By analyzing these gaps, traders can gain deeper insights into potential price movements, spot high-probability trade setups, and strengthen their overall trading strategy. Whether you are focused on short-term day trading or long-term market trends, incorporating NDOG, NWOG, and NMOG analysis into your trading plan can be a powerful addition to your toolkit.
Oster's Fair Economy (OFE)Overview:
Oster's Fair Economy (OFE) is a powerful tool designed to give traders and investors a comprehensive assessment of the fair value of major stock indices . Unlike conventional indicators that focus solely on technical analysis, OFE emphasizes economic metrics to offer a deeper understanding of the market's intrinsic value. By applying Oster's method (explained below), OFE determines the fundamental fair price of key indices, making it an invaluable tool for top-down analysis and market confirmation. It is particularly useful for swing trading on indices and as a top-down confirmation for individual stock trades.
Important Note:
OFE is designed for use with indices, not individual stocks : Stocks are often driven by their own fundamental factors, such as earnings, revenue, and dividend yields, which may not align with broad economic metrics. While OFE can sometimes provide insights into individual stocks, particularly those highly correlated with broader market trends, it is specifically intended for index analysis.
OFE is optimized for Weekly Candles (W ): OFE is most effective when used with weekly data, as it aligns with the longer-term outlook of economic analyses. While it can be used with smaller timeframes, weekly data is recommended for the most accurate insights.
Innovative Approach to Economic Analysis:
OFE integrates a unique combination of key economic metrics , including:
Gross National Product (GNP)
Consumer Price Index (CPI)
Unemployment Rate (UR)
Interest Rate (e.g., FED)
Nonfarm Payrolls (NFP)
Retail Sales (RS)
Industrial Production (IP)
Balance Of Trade (BOT)
Money Supply M2 (M2)
Consumer Confidence Index (CCI)
These metrics are tailored for 20 different markets : United States (US), Canada (CA), European Union (EU), Germany (DE), United Kingdom (GB), France (FR), Italy (IT), Switzerland (CH), Spain (ES), Australia (AU), New Zealand (NZ), Japan (JP), China (CN), Hong Kong (HK), South Korea (KR), India (IN), Russia (RU), Brazil (BR), Mexico (MX), and Saudi Arabia (SA).
This comprehensive set of data allows traders to gauge the potential for growth, inflation, and overall market conditions . OFE's weighting system reflects the importance of these metrics in determining the fair value of indices according to Oster's methodology .
How OFE Works:
OFE's calculation methodology is designed to provide insights into whether an index is fundamentally overvalued, undervalued, or trading at fair value by comparing its price dynamics with economic data. Here’s a step-by-step breakdown of how OFE works:
Economic Data Collection : OFE retrieves relevant economic data from the selected region, such as GDP, CPI, and interest rates. If specific market data is unavailable, OFE defaults to the US market as a fallback.
Normalization and Weighting : The collected economic metrics are normalized against historical trends to ensure that the data reflects both current levels and long-term averages. For example, GDP growth rates are normalized based on historical data, allowing for a comparison across different economic periods. Similarly, CPI and unemployment rates are adjusted to account for historical context, ensuring that high inflation or unemployment is appropriately weighed relative to past conditions. However, all other macroeconomic key figures are also processed in the same way.
Relating Economic Metrics to Price Dynamics : OFE calculates specific ratios by comparing the selected index’s price with the normalized economic data. These ratios, such as the GNP ratio, are then analyzed within the context of historical performance. The goal is to establish a relationship between the economic indicators and the index’s historical price behavior. For instance, if the GNP ratio is currently higher than historical norms, it could suggest that the index is overvalued relative to the economy’s actual productivity.
Fair Value Calculation : Based on the derived ratios and their historical correlations with index prices, OFE computes a fair value for the index. This calculation integrates multiple economic indicators, each weighted according to its perceived importance in influencing the index. For example, in a high-growth environment, GDP and industrial production might carry more weight, whereas in a recession, unemployment and interest rates could become more influential. The resulting fair value reflects the index's price adjusted for the current economic environment.
Price Comparison : The calculated fair value is then compared to the current market price of the index. If the market price significantly deviates from the fair value, it suggests that the index is either overvalued or undervalued. For example, if the fair value of the S&P 500 is calculated to be 10% lower than its current market price, OFE would indicate that the index might be overvalued, potentially signaling a market correction. The fair price line basically acts as a kind of magnet that keeps attracting the index price. This is because, in the longer term, the broad market is always guided by the economic health of the country in concerned.
Market Dynamics Consideration : By adjusting the "Strictness" level in OFE, users can control how sensitive the fair value calculation is to economic fundamentals. A higher strictness level would highlight discrepancies between the fair value and the market price more aggressively, suggesting a higher likelihood of market mispricing. Conversely, a lower strictness level allows for greater flexibility, acknowledging that markets can sometimes deviate from fundamental values without immediate correction.
Customizable Parameters for Tailored Analysis:
OFE offers extensive customization options to align with your specific investment strategy. Users can:
Select or deselect economic metrics for inclusion.
Adjust the weighting of each metric to reflect its importance in their analysis.
Fine-tune the strictness of the valuation process (as explained above).
Additionally, users can compare different indices with various macroeconomic data sets . For example, you might select the DAX index and apply US economic data to see how the index would perform if driven by US market fundamentals. This feature enables a highly tailored and region-specific analysis, empowering traders to align OFE with their individual perspectives and market outlooks.
Interpretation:
If the calculated fair price is above the current index value, the index is considered fundamentally undervalued, indicating potential for price increases. Conversely, if the fair price is below the current index value, the index is seen as overvalued, suggesting potential risks or a possible correction. The fair price acts as a gravitational force, pulling the index toward its true economic value over time.
This over- or undervaluation can also serve as an overarching economic confirmation for stock trading . For example, it might be advantageous to buy individual stocks when the broader market is fundamentally undervalued, as the general upward potential of the market could support stock price increases. Conversely, selling or avoiding stocks when the broader market is overvalued could help mitigate potential risks, as the market may be primed for a correction.
Conclusion:
Oster's Fair Economy (OFE) bridges the gap between technical simplicity and the depth of macroeconomic analysis . By integrating complex economic metrics with user-friendly customization, OFE empowers traders and investors to assess the fair valuation of indices confidently . This tool is ideal for confirming market trends and gaining a broader understanding of the economic landscape, making it a valuable asset in any investment toolkit.
MACD Screener [Luxmi AI] MTFMulti-Timeframe Stock Screener with MACD
Introduction
In the world of trading, having a reliable stock screener is crucial for identifying potential trading opportunities. One of the most effective tools for this purpose is the Moving Average Convergence Divergence (MACD) indicator. By using MACD crossovers and crossunders with the signal line as trend change indicators, traders can make informed decisions. This guide explores how to utilize a multi-timeframe stock screener built in Pine Script v5 that leverages the MACD indicator to its fullest potential.
Understanding the MACD Indicator
The MACD is a momentum indicator that shows the relationship between two moving averages of a security’s price. It consists of three main components:
MACD Line - The difference between the 12-period EMA (Exponential Moving Average) and the 26-period EMA.
Signal Line - A 9-period EMA of the MACD line.
Histogram - The difference between the MACD line and the signal line.
A crossover occurs when the MACD line crosses above the signal line, indicating a potential bullish trend. Conversely, a crossunder occurs when the MACD line crosses below the signal line, signaling a potential bearish trend.
Why Multi-Timeframe Analysis Matters
A multi-timeframe approach provides a more comprehensive view of the market by analyzing trends across different timeframes. This method enhances the reliability of trading signals, as it reduces the likelihood of false signals. For instance, a MACD crossover on both daily and weekly charts offers a stronger indication of a trend change than a single timeframe signal.
Using Your Multi-Timeframe Stock Screener
Here’s how to effectively use it:
1. Setting Up Your Screener
Ensure that your stock screener is configured correctly to analyze multiple timeframes. You should be able to input the desired timeframes (e.g., daily and weekly) and set the conditions for MACD crossovers and crossunders.
2. Selecting Stocks for Analysis
Start by choosing a universe of stocks to analyze. This can be a list of stocks from major indices like the S&P 500, Nifty50 or specific sectors you are interested in. The screener will then apply the MACD criteria to these stocks.
3. Interpreting the Signals
- Bullish Signal (UP): A MACD crossover on both the daily and weekly charts suggests a strong bullish trend. This indicates that the stock is likely to move upward in the near future.
- Bearish Signal (DOWN): A MACD crossunder on both the daily and weekly charts signals a strong bearish trend. This indicates that the stock is likely to decline.
4. Confirming Signals with Other Indicators
While the MACD is a powerful indicator, it’s always a good idea to confirm its signals with other technical indicators such as the Relative Strength Index (RSI) or moving averages. This multi-indicator approach can help you make more informed decisions and reduce the risk of false signals.
5. Monitoring and Adjusting
Regularly monitor the performance of the stocks' trend identified by your screener. Adjust the screener settings if necessary to improve its accuracy. Market conditions can change, and it’s important to ensure your screener adapts to these changes.
6. Backtesting and Validation
Before fully relying on the signals from your screener, backtest it using historical data. This will help you validate its effectiveness and fine-tune the parameters to achieve the best results.
Conclusion
Your multi-timeframe stock screener with MACD crossover and crossunder as trend change indicators is a powerful tool for identifying potential trading opportunities. By analyzing trends across different timeframes, you can gain a comprehensive view of the market and make more informed trading decisions. Remember to confirm signals with other indicators and regularly monitor the screener’s performance to ensure it remains effective in different market conditions. Happy trading!
Support and resistance levels (Day, Week, Month) + EMAs + SMAs(ENG): This Pine 5 script provides various tools for configuring and displaying different support and resistance levels, as well as moving averages (EMA and SMA) on charts. Using these tools is an essential strategy for determining entry and exit points in trades.
Support and Resistance Levels
Daily, weekly, and monthly support and resistance levels play a key role in analyzing price movements:
Daily levels: Represent prices where a cryptocurrency has tended to bounce within the current trading day.
Weekly levels: Reflect strong prices that hold throughout the week.
Monthly levels: Indicate the most significant levels that can influence price movement over the month.
When trading cryptocurrencies, traders use these levels to make decisions about entering or exiting positions. For example, if a cryptocurrency approaches a weekly resistance level and fails to break through it, this may signal a sell opportunity. If the price reaches a daily support level and starts to bounce up, it may indicate a potential long position.
Market context and trading volumes are also important when analyzing support and resistance levels. High volume near a level can confirm its significance and the likelihood of subsequent price movement. Traders often combine analysis across different time frames to get a more complete picture and improve the accuracy of their trading decisions.
Moving Averages
Moving averages (EMA and SMA) are another important tool in the technical analysis of cryptocurrencies:
EMA (Exponential Moving Average): Gives more weight to recent prices, allowing it to respond more quickly to price changes.
SMA (Simple Moving Average): Equally considers all prices over a given period.
Key types of moving averages used by traders:
EMA 50 and 200: Often used to identify trends. The crossing of the 50-day EMA with the 200-day EMA is called a "golden cross" (buy signal) or a "death cross" (sell signal).
SMA 50, 100, 150, and 200: These periods are often used to determine long-term trends and support/resistance levels. Similar to the EMA, the crossings of these averages can signal potential trend changes.
Settings Groups:
EMA Golden Cross & Death Cross: A setting to display the "golden cross" and "death cross" for the EMA.
EMA 50 & 200: A setting to display the 50-day and 200-day EMA.
Support and Resistance Levels: Includes settings for daily, weekly, and monthly levels.
SMA 50, 100, 150, 200: A setting to display the 50, 100, 150, and 200-day SMA.
SMA Golden Cross & Death Cross: A setting to display the "golden cross" and "death cross" for the SMA.
Components:
Enable/disable the display of support and resistance levels.
Show level labels.
Parameters for adjusting offset, display of EMA and SMA, and their time intervals.
Parameters for configuring EMA and SMA Golden Cross & Death Cross.
EMA Parameters:
Enable/disable the display of 50 and 200-day EMA.
Color and style settings for EMA.
Options to use bar gaps and the "LookAhead" function.
SMA Parameters:
Enable/disable the display of 50, 100, 150, and 200-day SMA.
Color and style settings for SMA.
Options to use bar gaps and the "LookAhead" function.
Effective use of support and resistance levels, as well as moving averages, requires an understanding of technical analysis, discipline, and the ability to adapt the strategy according to changing market conditions.
(RUS) Данный Pine 5 скрипт предоставляет разнообразные инструменты для настройки и отображения различных уровней поддержки и сопротивления, а также скользящих средних (EMA и SMA) на графиках. Использование этих инструментов является важной стратегией для определения точек входа и выхода из сделок.
Уровни поддержки и сопротивления
Дневные, недельные и месячные уровни поддержки и сопротивления играют ключевую роль в анализе движения цен:
Дневные уровни: Представляют собой цены, на которых криптовалюта имела тенденцию отскакивать в течение текущего торгового дня.
Недельные уровни: Отражают сильные цены, которые сохраняются в течение недели.
Месячные уровни: Указывают на наиболее значимые уровни, которые могут влиять на движение цены в течение месяца.
При торговле криптовалютами трейдеры используют эти уровни для принятия решений о входе в позицию или закрытии сделки. Например, если криптовалюта приближается к недельному уровню сопротивления и не удается его преодолеть, это может стать сигналом для продажи. Если цена достигает дневного уровня поддержки и начинает отскакивать вверх, это может указывать на возможность открытия длинной позиции.
Контекст рынка и объемы торговли также важны при анализе уровней поддержки и сопротивления. Высокий объем при приближении к уровню может подтвердить его значимость и вероятность последующего движения цены. Трейдеры часто комбинируют анализ различных временных рамок для получения более полной картины и улучшения точности своих торговых решений.
Скользящие средние
Скользящие средние (EMA и SMA) являются еще одним важным инструментом в техническом анализе криптовалют:
EMA (Exponential Moving Average): Экспоненциальная скользящая средняя, которая придает большее значение последним ценам. Это позволяет более быстро реагировать на изменения в ценах.
SMA (Simple Moving Average): Простая скользящая средняя, которая равномерно учитывает все цены в заданном периоде.
Основные виды скользящих средних, которые используются трейдерами:
EMA 50 и 200: Часто используются для выявления трендов. Пересечение 50-дневной EMA с 200-дневной EMA называется "золотым крестом" (сигнал на покупку) или "крестом смерти" (сигнал на продажу).
SMA 50, 100, 150 и 200: Эти периоды часто используются для определения долгосрочных трендов и уровней поддержки/сопротивления. Аналогично EMA, пересечения этих средних могут сигнализировать о возможных изменениях тренда.
Группы настроек:
EMA Golden Cross & Death Cross: Настройка для отображения "золотого креста" и "креста смерти" для EMA.
EMA 50 & 200: Настройка для отображения 50-дневной и 200-дневной EMA.
Уровни поддержки и сопротивления: Включает настройки для дневных, недельных и месячных уровней.
SMA 50, 100, 150, 200: Настройка для отображения 50, 100, 150 и 200-дневных SMA.
SMA Golden Cross & Death Cross: Настройка для отображения "золотого креста" и "креста смерти" для SMA.
Компоненты:
Включение/отключение отображения уровней поддержки и сопротивления.
Показ ярлыков уровней.
Параметры для настройки смещения, отображения EMA и SMA, а также их временных интервалов.
Параметры для настройки EMA и SMA Golden Cross & Death Cross.
Параметры EMA:
Включение/отключение отображения 50 и 200-дневных EMA.
Настройки цвета и стиля для EMA.
Опции для использования разрыва баров и функции "LookAhead".
Параметры SMA:
Включение/отключение отображения 50, 100, 150 и 200-дневных SMA.
Настройки цвета и стиля для SMA.
Опции для использования разрыва баров и функции "LookAhead".
Эффективное использование уровней поддержки и сопротивления, а также скользящих средних, требует понимания технического анализа, дисциплины и умения адаптировать стратегию в зависимости от изменяющихся условий рынка.
COT IndexReference:
Trade Stocks and Commodities with the Insiders
Secrets of the COT Report by Larry Williams pg34
The equation is as below:
Current week's value- Lowest value of last three years
---------------------------------------------------------------------------- X 100%
Highest high of last three years-Lowest low of last three years
According to Larry Williams, traders should follow commercials direction. When the commercial index line (yellow line) is above 80, this indicates commercials are bullish. Hence, traders can look for potential buy setup. Conversely, when commercials index line (yellow line) is below 20, this indicates commercials are bearish, we can look for sell setup.
Do note that this is only applicable on Weekly chart as COT reports come out on weekly basis.
Modification from the original COT index from Larry Williams:
1) I've added 1year and 6months period, so traders maybe can look for pullback using shorter period. By default, Larry Williams uses 3 years Commercial index.
2) I've added non-commercials and retail traders index, they basically trade opposite way of commercials.
This indicator should not be used as a timing tool or entry tool, you can use it as your weekly or monthly bias tool. For more information, please read the books. Feel free to modify the code, if u have a better version of this, you may share to me if you want, I will be very grateful!
Pivot Points ++The Pivot Points is a classical indicator that aims to assess the Location in which a market is trading and infer hints about its directional movement. Its concept idea has been evolving along the XX century, tracing back to traders like Jesse Livermore, Nicholas Darvis, William O’Neil and Mark Minervini.
This is a Leading Indicator which computes a series of key levels that might act as Support and Resistance over the selected time frame period.
This version of the Pivot Points delivers a convenient way to visualize its information. It’s been designed for it to be useful to a variety of trading styles: from the ones that use it to detect reversal points, to the ones that gauge the market at a single glance.
HOW TO READ THE PIVOT POINTS
Pivot Points set a series of price levels which remain constant through the time period (which could be: daily, weekly, monthly, yearly or multi-yearly).
At the beginning of a new time period, it calculates the main Pivot Point Level (PP), and depending on the type, it can compute up to 5 Support Levels (S1 to S5) and 5 Resistance Levels (R1 to R5).
Being such a universal indicator, there exist many ways of reading the Pivot Levels. Now, let’s see some common uses of the indicator.
Warning: Please don’t rely on a single indicator to make your trading decisions, but rather integrate it into a coherent system combining it with complementary signals.
Support and Resistance : This is a straightforward approach. Each Pivot Level may act as Support or Resistance. For instance the level S1 initially behaves as Support. As price gets closer, one may observe that the level is being respected and price bounces around the level. Or in case it would get broken, then it would automatically shift its role into a Resistance Level.
Mood Gauge : One can quickly gauge the mood of the market by seeing where price stands in relation to the Main Pivot Point Level (PP). Above the Pivot point is generally interpreted as bullish, whilst standing below implies a bearish tone.
Stop Loss and Profit Levels : When entering on a trade, one can use the Pivot Levels to set the Stop Loss behind it, or set the Take Profit in an area surrounding it.
Agreement with Fibonacci Retracements or Expansions : One can combine the power of these 2 leading indicators in search for Agreement areas where to find both a significant Pivot Level and a Relevant Fibonacci Level.
Volume or Volatility Squeezes : Some traders focus on the Pivot Levels in combination with Volume or Volatility readings, in order to anticipate turning points or continuation legs.
WHY WOULD YOU BE INTERESTED IN THIS INDICATOR?
Pivot Points ++ has been designed to address the needs of dedicated traders. Let’s review its main features.
Display up to 9 sets of Pivot Points simultaneously
Long term view: As an analyst and as a trader, being able to display many sets of Pivot Points simultaneously is of great advantage when assessing long term views on the market.
Pivot Levels clearly Identified: Each set of Pivot Points get clearly identified with a prefaced letter indicating its time frame, i.e. Yearly Pivot Point appears as YPP and Monthly Pivot Resistance 1 appears as MR1 .
Minimalistic coloring: The Main Pivot Levels are highlighted in color to stand out, yet the intention of the indicator is to be as minimalistic and keep the chart as clean as possible.
Display Pivots as a Panel
Panel View: Display the Pivot Points’ information in the way that better suits your charting style. In addition to displaying the lines over the price chart, the indicator allows displaying the data on a Panel. The Panel view can be used together with the Line view, or it can be used in isolation.
Fully customizable: Its location, size and its design parameters can be customized through the Settings tab.
Common sense formatting: It displays a column for each of the selected time frames, and a row for each of the selected Pivot Levels. When a Pivot Level displays in colors, it means that price is currently trading above (green) or below (red) that level. Moreover, when the current price is trading just near the Pivot Level, the color shifts to Dark Red when it’s acting as a Resistance, and Dark Green when it acts as Support.
Keep your Chart Clean!
Disciplined traders keep their charts clean. One needs proper focus to trade in the zone.
Please check how the chart on the left looks compared to the one on the right. Both display exactly the same Pivot Points.
The chart on the left contributes to a more minimalistic display of information, as for when a trader wishes to quickly check where the price is trading in relation to the Pivot Points. Moreover, the chart on the right has the advantage to display clearly the Reversals and Price Reactions in relation to the Pivot Points. The decision is yours.
Show only Pivots Relevant to the Current Time Frame
The sets of Pivot Points belonging to time frames Below or Near the current Time Frame get hidden to prevent overcrowding the chart with lines. Nevertheless, this feature can be disabled through the Settings tab.
These are the preset Time Frames:
Intraday/Scalping: Those operating on time frames below 1H will be able to see the whole range of Pivot Levels.
1H: Traders operating on 1-Hour Charts display Pivots from Weekly and above. Daily Pivot Points get hidden.
4H: On 4-Hour Charts, Monthly Pivots and above get displayed. Weekly Pivot Points get hidden.
D: On Daily Charts, Quarterly Pivots and above get displayed. Monthly Pivot Points get hidden.
W: On Weekly Charts, Yearly Pivots and above get displayed. Quarterly Pivot Points get hidden.
M: On Monthly Charts, Tri-Yearly Pivots and above get displayed. Yearly and Bi-Yearly Pivot Points get hidden.
3M and 12M: Above Monthly Charts, only Decennial Pivots get displayed. All the rest get hidden.
Good Looking right off the box
It looks good: The indicator will look just fine on most of the charts. It displays well on dark themed charts and on light themed charts. No need to mess up with the coloring of the indicator for it to display properly.
Fully customizable: Nevertheless, you can easily override the defaults and customize the Colors and Line Styles for each Pivot Level.
Displays True on Heikin Ashi Charts
That’s good news for scalpers, because Pivot Points get computed correctly even when being displayed over Heiken Ashi charts.
SETTINGS
Now let’s dive into the settings of this indicator.
Display : It allows to enable/disable the display of the following:
Lines and Panel : Switch on/off the general view of the Lines over the chart or the Panel.
Pivot, R1 to R5, S1 to S5 : Select which Pivot Levels will be displayed.
Labels and Price : It applies only to Lines. Allows to select which information to display near the Pivot Level, and whether to place it right or left of the line.
Auto Hide Pivots from Near Time Frames : By default it hides the sets of Pivot Points from time frames near the current one. Disabling this one allows to display all the Pivot Points from higher time frames, regardless whether they are near.
Move Pivots to the Right : This selection moves all the current Pivot Points to the Right Hand Side of the Chart, in order to keep the main area of the chart clean of lines. This setting allows customizing the how far to the right from the last candle (Offset) and how wide to draw the levels (Width).
Pivots : It sets up the conditions for each of the 9 sets of Pivot Levels. It includes the following:
General checkmark : Allows displaying or hiding that set of Pivots.
Time Frame : Select the time frame for which the Pivot Point will be computed.
Type : Select the type of Pivot Point: Traditional, Fibonacci, Woodie, Classic, DM or Camarilla.
Lines : Enable/Disable the display of this Pivot as Lines over the chart.
Panel : Enable/Disable the display of this Pivot in the Panel.
Panel Display : It allows customizing the position of the Panel. It includes the following:
Vertical Position : Top, Middle or Bottom of the chart.
Horizontal Position : Left, Center or Right of the chart.
Size of the Panel : Auto, Huge, Large, Normal, Small or Tiny.
Parameters : It applies only to the Line View. It includes the following:
Pivots Back : By default the indicator only shows the current Pivot Levels, but it can display up to 10 past instances of each pivot.
Support and Resistance Price Reference : It allows to specify which price should it take into account to define a Pivot Level acting as Support or Resistance.
Support and Resistance % Area : It defines the size of the zone around each Pivot Level in which it acts as Support or Resistance.
Theming Panel : It applies only to the Panel View. It allows customizing every color used in the Panel.
Theming Pivot #1 to #9 : It applies only to the Line View. It includes the following:
Thickness : Customize the line thickness for all the lines within that set of Pivot Points.
Style : Customize the line style for all the lines within that set of Pivot Points. It can be drawn as a Solid, Dotted or Dashed line.
Colors : Customize the color for each Pivot Level.
Auto Gann KEYLVLS "Auto Gann KEYLVLS" indicator can be a valuable tool for traders, especially those who employ Gann theory in their analysis. Here are some ways to effectively use this indicator:
Identifying Key Price Levels: Gann lines are known for their ability to identify key support and resistance levels. Use the plotted Gann lines to identify significant price levels where the market may react.
Confirmation of Trend Reversals: When price approaches a Gann line, observe how the price reacts. A bounce off a Gann line can confirm the continuation of the trend, while a break of a Gann line may indicate a potential trend reversal.
Entry and Exit Points: Gann lines can serve as entry and exit points for trades. Look for confluence between Gann lines and other technical indicators or patterns to identify high-probability trade setups.
Trading with the Trend: In an uptrend, consider buying opportunities near Gann support levels, while in a downtrend, look for selling opportunities near Gann resistance levels.
Risk Management: Use Gann lines to set stop-loss and take-profit levels. Place stop-loss orders below Gann support levels for long trades and above Gann resistance levels for short trades to manage risk effectively.
Timeframe Analysis: Utilize the flexibility of this indicator to plot Gann lines on different timeframes. Compare Gann lines across multiple timeframes to identify alignment or divergence, which can provide additional confirmation for trading decisions.
Combination with Other Indicators: Combine the information provided by Gann lines with other technical indicators, such as moving averages, RSI, or MACD, to strengthen your trading decisions.
Input Parameters:
The script defines several input parameters that control the behavior of the Gann lines, such as the number of weeks to look back for highs and lows, the number of Gann lines to plot, line extension settings, and options to show or hide specific Gann lines like .25, .37, .50, .63, and .75.
Auto Gann Functionality:
The script calculates the highest high and lowest low for the specified number of weeks, hours, and minutes.
It then calculates quartile levels (0.25, 0.50, 0.75) based on the weekly high and low.
Gann lines are drawn based on these levels, with options to extend them left and/or right.
Labels are added to the Gann lines indicating their values.
Weekly Gann Lines:
The script plots Gann lines and labels based on the weekly high and low levels.
Labels are added to these lines indicating their values.
Sub Gann Lines:
Additional Gann lines are plotted based on the weekly high and low levels, with subdivisions for lower timeframes like H4, H1, M15, and M1.
Label Management:
Labels are managed based on user preferences, including options to show labels once on the left side, redraw labels on the right side, or not show labels at all.
B A N K $ - Opening Lines / Daily Separators This is a simple indicator that aids the trader in being able to visualise each trading day of the week;
Key Features
Weekly Open Line
Daily Open Line
Option for Background Lines
Weekly & Daily Open Lines
Information ℹ️
These are vertical lines that are anchored to the hour of the Weekly Open and the hour of each Daily Candle Open. The settings are customisable, allowing to you edit the Width, Style & Colour. You can also select Monday as the Weekly Open if Monday is a no-trade day for you.
Settings ⚙️
1h Toggle - by default Daily Open Lines are only visible under the 1h, you can select to also make them visible on the 1h.
Background Lines - you can replace the chart lines with background lines, this can improve performance and allow you to load more lines on the chart when going back in price.
Show Days of Week - this prints the current day on the chart.
Auto Price LevelsMain Function:
This script creates horizontal lines on the chart at the market open price levels for different timeframes (4H, Daily, Weekly, Monthly). It helps traders track the open price levels and analyze their impact on the current price movements.
Unique Features:
Multi-Timeframe Support: The script allows users to display horizontal lines for 4-hour, daily, weekly, and monthly timeframes, providing a comprehensive view of market open prices across different periods.
Customization Options: Users can customize the line color, width, and style (solid, dotted, or dashed) for each timeframe separately, offering flexibility to match their charting preferences.
Sensitivity Setting: The script includes a sensitivity setting to filter lines based on the price movement percentage, allowing traders to focus on significant price levels.
Day Filter: Users can enable a day filter to limit the display of lines to a specific number of days, which helps in reducing chart clutter and focusing on recent price levels.
Automatic Updates: The script automatically updates the lines based on the latest market data, ensuring that traders always have the most relevant information.
Alerts: Integrated alert conditions notify traders when the price crosses above or below the open price on any of the specified timeframes, enabling timely decision-making.
How It Works:
Line Creation: For each selected timeframe, the script calculates the open price and compares it to the close price to determine the level at which the horizontal line should be drawn.
Line Management: The script manages the creation and deletion of lines to ensure only relevant lines are displayed, based on the user-defined sensitivity and day filter settings.
Customization: Through the input settings, traders can personalize the appearance and behavior of the lines to suit their specific trading strategies and preferences.
Alerts: The script sets up alert conditions that trigger notifications when the price crosses the open price levels, helping traders stay informed of critical market movements.
How to Use:
Select Timeframes: Enable or disable the display of lines for 4-hour, daily, weekly, and monthly timeframes as needed.
Customize Lines: Adjust the line color, width, and style for each timeframe using the input settings.
Set Sensitivity: Define the sensitivity percentage to filter lines based on significant price movements.
Enable Day Filter: If desired, enable the day filter and set the number of days to display lines.
Monitor Alerts: Set up alerts to receive notifications when the price crosses the open price levels on any of the chosen timeframes.
This script is designed to enhance traders' ability to monitor key price levels and make informed trading decisions. Its unique features and customization options provide a valuable tool for analyzing market open prices across multiple timeframes.
Dynamic Support & Resistance TrackerThe "Dynamic Support & Resistance Tracker" is a powerful Pine Script study designed to identify and visualize key support and resistance levels on a trading chart. This study dynamically adjusts to market conditions, providing traders with valuable insights for making informed trading decisions.
Key Features:
Dynamic Support & Resistance Lines:
The script identifies and plots support and resistance levels using pivot points based on a user-defined number of left and right bars.
Resistance lines are plotted in red, while support lines are plotted in blue, making it easy to distinguish between the two.
Toggle Breaks:
Users can choose to display or hide break signals for support and resistance levels using a simple toggle input.
Volume Threshold:
The study includes daily and weekly high and low calculations to provide a comprehensive view of market ranges.
Previous high and low lines are plotted for both daily and weekly timeframes, aiding in identifying potential breakout or breakdown levels.
Regular Market Hours:
The script defines regular market hours and tracks sessions, ensuring that support and resistance levels are relevant to active trading periods.
Midline and Extension Lines:
The study calculates and plots a midline between the previous high and low, along with extension lines above and below the range. These lines help identify potential target levels and extensions beyond the current range.
Real-time Updates:
The script ensures that all lines are updated in real-time, adjusting to new bars as they form. This dynamic feature keeps the levels relevant and accurate throughout the trading session.
Usage Instructions:
Adjust the number of left and right bars to define the sensitivity of the support and resistance levels.
Toggle the display of break signals to highlight significant breaks in support or resistance.
Monitor the daily and weekly high and low lines to understand the broader market context.
Utilize the midline and extension lines to set potential price targets and manage risk effectively.
This study provides traders with a robust tool for identifying and reacting to key market levels, enhancing their trading strategies with dynamic and real-time insights.
Juice LevelsSupply and Demand Key Levels
These levels encompass key price points derived from various timeframes, providing crucial insights into market dynamics and potential trading opportunities. These levels include daily, prior day, day before yesterday, weekly, prior weekly, monthly, and prior monthly levels.
Daily, Prior Day, Day Before Yesterday Levels
Offer intraday reference points and historical context for analyzing short-term price movements.
Weekly, Prior Weekly Levels
Provide insights into longer-term trends and potential areas of price consolidation or breakout over a one-week timeframe.
Monthly, Prior Monthly Levels
Offer significant insights into macroeconomic trends and investor sentiment over longer timeframes, spanning one month.
Equilibrium Levels
Indicate points where supply and demand are relatively balanced, often serving as pivot points for price movements.
Supply and Demand Zones
Highlight areas on a price chart where significant buying or selling pressure is expected, aiding traders in identifying potential reversal or breakout zones.
These levels and zones are essential tools for traders to analyze market sentiment, identify support and resistance levels, and make informed trading decisions across various timeframes.
Gann Square 9GANN SQUARE 9 TradingView Indicator
Overview
The GANN SQUARE 9 TradingView Indicator is a powerful analytical tool designed for traders who utilize the principles of W.D. Gann's Square of 9. This indicator provides calculated levels for intraday, daily, and weekly timeframes, offering up to 7 levels of support and resistance. By incorporating this indicator into your trading strategy, you can identify potential price turning points, forecast market movements, and enhance your decision-making process.
Key Features
1. Multi-Timeframe Analysis :
-> Intraday Levels : Calculate and display up to 7 support and resistance levels based on intraday price action, providing traders with granular insights for short-term trades.
-> Daily Levels : Determine critical daily support and resistance levels to guide your trading decisions over a single trading session.
-> Weekly Levels : Identify broader market trends and significant price zones for the week, helping you to plan and execute longer-term trades.
2. Up to 7 Support and Resistance Levels :
-> The indicator calculates and displays up to 7 levels above (resistance) and below (support) the current price, offering a comprehensive view of potential market reactions.
3. Customization :
-> Flexible settings allow you to customize the calculation parameters to fit your specific trading style and market conditions.
-> Options to adjust the look and feel of the indicator, including colors and line styles, for better visual clarity.
4. User-Friendly Interface :
-> Easy to interpret and integrate into your existing TradingView charts.
-> Clear labeling and visual representation of support and resistance levels to enhance your trading experience.
Benefits
-> Precision : Leverage the mathematical precision of Gann's Square of 9 to pinpoint exact price levels where the market is likely to react.
-> Versatility : Suitable for various trading styles, including scalping, day trading, and swing trading.
-> Enhanced Decision Making : Gain a deeper understanding of market dynamics and make more informed trading decisions by incorporating these calculated levels into your analysis.
How It Works
The GANN SQUARE 9 TradingView Indicator uses the principles of the Square of 9 to calculate price levels. It applies Gann's time and price harmonics to identify key support and resistance zones, which are crucial for determining potential reversal points and market trends.
Practical Application
-> Intraday Traders : Use the intraday levels to enter and exit trades with precision, maximizing profits by capitalizing on short-term price movements.
-> Day Traders : Rely on the daily levels to set stop-loss orders and profit targets, ensuring you stay on the right side of the market.
-> Swing Traders : Utilize weekly levels to understand the broader market context and plan your trades with a longer-term perspective.
Incorporate the GANN SQUARE 9 TradingView Indicator into your trading toolkit to unlock the potential of Gann's methodologies and elevate your trading performance.
Single Prints - BrightSingle Prints - Bright is a Pine Script indicator designed to identify and visualize significant price levels based on the concept of "single prints." Single prints are price levels where trading activity occurred but with little or no follow-up trading. This indicator plots these levels as lines on the chart, allowing traders to easily identify areas of potential support and resistance.
Features:
Customizable Line Distance: Adjust the distance between single print lines to suit your trading style and time frame.
Maximum Array Size: Set the maximum number of single print lines to be displayed on the chart.
Remove Gaps: Option to remove lines if the price gaps over them.
Multiple Time Frames: Choose to display single prints for daily, weekly, monthly, or yearly sessions.
Color Gradient: Lines are color-coded from red (oldest) to green (newest), providing a visual indication of their relative age.
Thicker, Lime-Colored Lines: Improved visibility with thicker lines and a more lime-like color scheme for easier identification on the chart.
How to Use:
Adding the Indicator:
Open TradingView and navigate to the chart where you want to apply the indicator.
Click on "Indicators" in the top menu.
Select "Pine Editor" and paste the provided Pine Script code into the editor.
Click "Add to Chart" to apply the indicator to your chart.
Configuring the Indicator:
Distance Between Lines (i_line_distance): Set the distance between single print lines. Adjust this value based on the volatility and time frame of the asset you are trading.
Maximum Array Size (i_max_array): Define the maximum number of single print lines to be displayed on the chart. This helps in managing the clutter on the chart.
Remove Gaps (i_remove_gaps): Enable or disable the option to remove lines if the price gaps over them.
Show Daily Single Prints (ShowDailySP): Enable or disable the display of daily single print lines.
Show Daily Extended Single Prints (ShowDailyExtendSP): Enable or disable the display of extended daily single print lines.
Show Weekly Single Prints (ShowWeeklySP): Enable or disable the display of weekly single print lines.
Show Monthly Single Prints (ShowMonthlySP): Enable or disable the display of monthly single print lines.
Show Yearly Single Prints (ShowYearlySP): Enable or disable the display of yearly single print lines.
Interpreting the Lines:
Color Gradient: The lines are color-coded to indicate their relative age. Red lines are the oldest, transitioning through orange and yellow to green, which are the newest. This color gradient helps in identifying how long a particular level has been significant.
Support and Resistance: Use the lines as potential support and resistance levels. Multiple lines close together indicate stronger levels of support or resistance.
Volatility Analysis: The number of lines within a gap can provide insights into market volatility. More lines indicate higher volatility and multiple potential reversal points within that range.
Trading Strategies:
Entry Points: Consider using the single print lines as entry points. For example, if the price approaches a support level with multiple lines, it may be a good buying opportunity.
Stop Loss and Take Profit: Use the single print lines to set stop-loss and take-profit levels. Placing stop-loss orders below multiple support lines can provide additional protection.
Trend Analysis: Analyze the overall trend and momentum in conjunction with the single print lines to make informed trading decisions. If the price is in an uptrend and approaching resistance lines, watch for potential breakouts or reversals.
Gann SquareIntroduction
Legendary trader W.D. Gann illuminated the cyclical nature of financial markets, revealing their adherence to predictable patterns rooted in geometry, astronomy, and numerology. With his own trading results as evidence, Gweaklann showcased the efficacy of these principles in uncovering market dynamics, including breakouts, reversals, and crucial price levels acting as support and resistance.
Introducing Gann Square
Gann Square, also known as the Gann Box, stands as a cornerstone of technical analysis, offering traders a powerful tool to decipher market movements and anticipate future price action. Built upon primary angles, notably the 45-degree (1x1 angle) ascending from the origin to the top-right corner and its corresponding negative angle descending from the top-right to the bottom-left corner, Gann Square epitomizes precision and foresight in chart analysis.
Unveiling Points of Setup
Central to Gann Square's functionality is the identification of points of setup. These critical junctures mark significant highs or lows in price movements, serving as pivotal reference points for traders seeking to navigate market shifts and capitalize on emerging opportunities.
Time scale: Calendar or Trading days
A lot of effort was spent to realize a precise relationship between time and price, as angles of price arise with time or with chart bars. The best of these two options is related to the type of instrument used, and is usually could be determines empirically.
For example, consider a ticker that is at market five days per week. By using TradingDays we have a match between candles on the chart and days as time, so the angle arises in a linear way. Instead of using Calendar option, from Monday to Monday we have 7 days, and the algorithm takes care of this and the angle arise faster. Look at the pictures below, with Calendar option there's a little step every time there is day's jump between consecutive candles.
Same square on TradingDays and Calendar
Timeframe independence
In Gann analysis, the correlation between angles and time periods is inherently cyclical, where each degree corresponds to approximately one day, and a full circle of 360 degrees symbolizes a year. This timeless relationship allows Gann indicators to transcend individual timeframes, ensuring consistency while preserving the critical balance between time and price dynamics.
Gann indicators operate seamlessly across multiple timeframes, yet they remain steadfastly anchored to the daily timeframe as the primary reference point. This deliberate choice maintains the integrity of the time-price relationship, essential for accurate analysis and interpretation.
Preserving Proportion Amidst Time Shifts
When an angle intersects a pivot point during a timeframe transition, the Gann indicator upholds its proportional integrity without compromise. Whether examining daily, weekly, or monthly intervals, the indicator seamlessly aligns with pivotal price levels, ensuring continuity and precision in analysis.
Illustrating Consistency in Practice
Visualize the power of timeframe independence through a single Gann fan spanning both daily and weekly intervals. Witness how each angle touches the same pivotal point, meticulously maintaining proportionality across varying timeframes, as depicted in the accompanying illustration.
Same square on daily and weekly
Intraday daily and hourly
Handle TradingView bounds
By placing a square at the limits of the chart you risk going beyond the limits of the TradingView drawable area which is 500 bars in the future. In this case the indicator manages this eventuality by truncating the drawing and trying to calculate the theoretical measurement anyway to draw the angles inside it. This leads to having a square with some geometric errors but still allows you to proceed with the analysis.
Summary of features
Automatic price placement: the indicator look at the trend and decide autonomously if angle starts from candle low or high;
Manual price placement: it's possible to disable automatic placement and specify a start price;
Angle extension to present: draw angle until last available bar;
Extension to future: draw angle and square in the future after the latest available bar ( actual TradingView limit is 500 bars in the future );
Multiple timeframe are supported ( more details below);
Trading days: time is considered in number of bars, for example the ticker AAPL usually has 5 daily bars per week;
Calendar: time is considered in number of days, for example the ticker AAPL usually has 7 days per week;
Future bars: It's possible to draw until 500 bars after the latest ( TradingView bound);
Square over bound handling (explained above);
Operating Instructions
Placing the Gann Square on the chart
When positioning the Gann Square, ensure that the positive square is placed on an important pivot low, while the negative angle should be positioned on a pivot high. By default, the script automatically selects the pivot price based on the trend of the previous candle. However, it's important to note that automatic price selection may not always be accurate, especially in certain market conditions. In such cases, users have the option to manually specify the pivot price.
Exercise caution when using automatic price selection in conjunction with changing timeframes. For instance, the pivot low of a monthly candle may not align perfectly with a daily candle. In such scenarios, it is advisable to either opt for manual price selection or initially place the indicator using the daily timeframe before switching to a wider timeframe, such as monthly.
In intraday trading, transitioning to a daily or wider timeframe while maintaining angle proportionality between timeframes may pose challenges with automatic price selection. In this particular scenario, it is recommended to utilize manual price selection for accuracy.
Furthermore, it's beneficial to differentiate between intraday operations and daily or longer-term operations when utilizing the Gann Square, as each may require distinct considerations and approaches for optimal effectiveness.
Price unit, Factor and divisor
The size of the Gann Square can be customized using the following settings:
Price Unit (Scale) : The Price Unit, also known as the scale, determines the increment along the main angle (45°) of the Gann Square. Adjusting the Price Unit allows you to fine-tune the relationship between price and time, enabling the adaptation of the square to suit the characteristics of any financial instrument.
Factor : The Factor setting provides additional flexibility in adjusting the scale of the Gann Square. By modifying the Factor, you can further refine the proportions of the square to align with specific trading strategies or market conditions.
Divisor : The Divisor setting enables you to divide the square size by a specified factor (e.g., 2, 4, etc.). This feature offers a convenient way to adjust the size of the square while maintaining proportionality and symmetry, enhancing the versatility of the Gann Square tool.
By utilizing these settings in combination, traders can effectively tailor the Gann Square to their preferences and requirements, empowering them to conduct detailed technical analysis and make informed trading decisions across various financial instruments and market environments.
Point of setup
The Gann Square provides settings to divide the square by vertical lines, allowing for enhanced analysis and identification of key points of setup. Users can choose to divide the square by four, by three, or both, providing flexibility in their analysis approach.
Utilizing Vertical Lines
These vertical lines play a crucial role in identifying important candles, price levels, and time intervals where trend reversals or significant market movements may occur. By dividing the square into smaller sections, traders can pinpoint potential areas of interest with greater precision.
Intersection of Angles
The points of setup identified by the vertical lines also correspond to the intersection of various angles drawn on the square. These intersections serve as focal points for analysis, indicating potential shifts in market dynamics and offering valuable insights into future price movements.
By leveraging the point of setup settings and paying attention to the intersection of angles, traders can enhance their understanding of market trends and make more informed trading decisions.
Setting examples
NQ1! (D, W):
price unit: 4, 8
Factor: 1
Square Division: 1
CL1! (D, W):
price unit: 0.5
Factor: 8
Square Division: 0.25
BTCUSD (4h):
price unit: 512
Factor: 1
Square Division: 4
WARNING
This indicator is for educational purpose only. I am in no way responsible for bad setups, strategies and possible losses or gains of money as a result!
Danger Signals from The Trading MindwheelThe " Danger Signals " indicator, a collaborative creation from the minds at Amphibian Trading and MARA Wealth, serves as your vigilant lookout in the volatile world of stock trading. Drawing from the wisdom encapsulated in "The Trading Mindwheel" and the successful methodologies of legends like William O'Neil and Mark Minervini, this tool is engineered to safeguard your trading journey.
Core Features:
Real-Time Alerts: Identify critical danger signals as they emerge in the market. Whether it's a single day of heightened risk or a pattern forming, stay informed with specific danger signals and a tally of signals for comprehensive decision-making support. The indicator looks for over 30 different signals ranging from simple closing ranges to more complex signals like blow off action.
Tailored Insights with Portfolio Heat Integration: Pair with the "Portfolio Heat" indicator to customize danger signals based on your current positions, entry points, and stops. This personalized approach ensures that the insights are directly relevant to your trading strategy. Certain signals can have different meanings based on where your trade is at in its lifecycle. Blow off action at the beginning of a trend can be viewed as strength, while after an extended run could signal an opportunity to lock in profits.
Forward-Looking Analysis: Leverage the 'Potential Danger Signals' feature to assess future risks. Enter hypothetical price levels to understand potential market reactions before they unfold, enabling proactive trade management.
The indicator offers two different modes of 'Potential Danger Signals', Worst Case or Immediate. Worst Case allows the user to input any price and see what signals would fire based on price reaching that level, while the Immediate mode looks for potential Danger Signals that could happen on the next bar.
This is achieved by adding and subtracting the average daily range to the current bars close while also forecasting the next values of moving averages, vwaps, risk multiples and the relative strength line to see if a Danger Signal would trigger.
User Customization: Flexibility is at your fingertips with toggle options for each danger signal. Tailor the indicator to match your unique trading style and risk tolerance. No two traders are the same, that is why each signal is able to be turned on or off to match your trading personality.
Versatile Application: Ideal for growth stock traders, momentum swing traders, and adherents of the CANSLIM methodology. Whether you're a novice or a seasoned investor, this tool aligns with strategies influenced by trading giants.
Validation and Utility:
Inspired by the trade management principles of Michael Lamothe, the " Danger Signals " indicator is more than just a tool; it's a reflection of tested strategies that highlight the importance of risk management. Through rigorous validation, including the insights from "The Trading Mindwheel," this indicator helps traders navigate the complexities of the market with an informed, strategic approach.
Whether you're contemplating a new position or evaluating an existing one, the " Danger Signals " indicator is designed to provide the clarity needed to avoid potential pitfalls and capitalize on opportunities with confidence. Embrace a smarter way to trade, where awareness and preparation open the door to success.
Let's dive into each of the components of this indicator.
Volume: Volume refers to the number of shares or contracts traded in a security or an entire market during a given period. It is a measure of the total trading activity and liquidity, indicating the overall interest in a stock or market.
Price Action: the analysis of historical prices to inform trading decisions, without the use of technical indicators. It focuses on the movement of prices to identify patterns, trends, and potential reversal points in the market.
Relative Strength Line: The RS line is a popular tool used to compare the performance of a stock, typically calculated as the ratio of the stock's price to a benchmark index's price. It helps identify outperformers and underperformers relative to the market or a specific sector. The RS value is calculated by dividing the close price of the chosen stock by the close price of the comparative symbol (SPX by default).
Average True Range (ATR): ATR is a market volatility indicator used to show the average range prices swing over a specified period. It is calculated by taking the moving average of the true ranges of a stock for a specific period. The true range for a period is the greatest of the following three values:
The difference between the current high and the current low.
The absolute value of the current high minus the previous close.
The absolute value of the current low minus the previous close.
Average Daily Range (ADR): ADR is a measure used in trading to capture the average range between the high and low prices of an asset over a specified number of past trading days. Unlike the Average True Range (ATR), which accounts for gaps in the price from one day to the next, the Average Daily Range focuses solely on the trading range within each day and averages it out.
Anchored VWAP: AVWAP gives the average price of an asset, weighted by volume, starting from a specific anchor point. This provides traders with a dynamic average price considering both price and volume from a specific start point, offering insights into the market's direction and potential support or resistance levels.
Moving Averages: Moving Averages smooth out price data by creating a constantly updated average price over a specific period of time. It helps traders identify trends by flattening out the fluctuations in price data.
Stochastic: A stochastic oscillator is a momentum indicator used in technical analysis that compares a particular closing price of an asset to a range of its prices over a certain period of time. The theory behind the stochastic oscillator is that in a market trending upwards, prices will tend to close near their high, and in a market trending downwards, prices close near their low.
While each of these components offer unique insights into market behavior, providing sell signals under specific conditions, the power of combining these different signals lies in their ability to confirm each other's signals. This in turn reduces false positives and provides a more reliable basis for trading decisions
These signals can be recognized at any time, however the indicators power is in it's ability to take into account where a trade is in terms of your entry price and stop.
If a trade just started, it hasn’t earned much leeway. Kind of like a new employee that shows up late on the first day of work. It’s less forgivable than say the person who has been there for a while, has done well, is on time, and then one day comes in late.
Contextual Sensitivity:
For instance, a high volume sell-off coupled with a bearish price action pattern significantly strengthens the sell signal. When the price closes below an Anchored VWAP or a critical moving average in this context, it reaffirms the bearish sentiment, suggesting that the momentum is likely to continue downwards.
By considering the relative strength line (RS) alongside volume and price action, the indicator can differentiate between a normal retracement in a strong uptrend and a when a stock starts to become a laggard.
The integration of ATR and ADR provides a dynamic framework that adjusts to the market's volatility. A sudden increase in ATR or a character change detected through comparing short-term and long-term ADR can alert traders to emerging trends or reversals.
The "Danger Signals" indicator exemplifies the power of integrating diverse technical indicators to create a more sophisticated, responsive, and adaptable trading tool. This approach not only amplifies the individual strengths of each indicator but also mitigates their weaknesses.
Portfolio Heat Indicator can be found by clicking on the image below
Danger Signals Included
Price Closes Near Low - Daily Closing Range of 30% or Less
Price Closes Near Weekly Low - Weekly Closing Range of 30% or Less
Price Closes Near Daily Low on Heavy Volume - Daily Closing Range of 30% or Less on Heaviest Volume of the Last 5 Days
Price Closes Near Weekly Low on Heavy Volume - Weekly Closing Range of 30% or Less on Heaviest Volume of the Last 5 Weeks
Price Closes Below Moving Average - Price Closes Below One of 5 Selected Moving Averages
Price Closes Below Swing Low - Price Closes Below Most Recent Swing Low
Price Closes Below 1.5 ATR - Price Closes Below Trailing ATR Stop Based on Highest High of Last 10 Days
Price Closes Below AVWAP - Price Closes Below Selected Anchored VWAP (Anchors include: High of base, Low of base, Highest volume of base, Custom date)
Price Shows Aggressive Selling - Current Bars High is Greater Than Previous Day's High and Closes Near the Lows on Heaviest Volume of the Last 5 Days
Outside Reversal Bar - Price Makes a New High and Closes Near the Lows, Lower Than the Previous Bar's Low
Price Shows Signs of Stalling - Heavy Volume with a Close of Less than 1%
3 Consecutive Days of Lower Lows - 3 Days of Lower Lows
Close Lower than 3 Previous Lows - Close is Less than 3 Previous Lows
Character Change - ADR of Last Shorter Length is Larger than ADR of Longer Length
Fast Stochastic Crosses Below Slow Stochastic - Fast Stochastic Crosses Below Slow Stochastic
Fast & Slow Stochastic Curved Down - Both Stochastic Lines Close Lower than Previous Day for 2 Consecutive Days
Lower Lows & Lower Highs Intraday - Lower High and Lower Low on 30 Minute Timeframe
Moving Average Crossunder - Selected MA Crosses Below Other Selected MA
RS Starts Curving Down - Relative Strength Line Closes Lower than Previous Day for 2 Consecutive Days
RS Turns Negative Short Term - RS Closes Below RS of 7 Days Ago
RS Underperforms Price - Relative Strength Line Not at Highs, While Price Is
Moving Average Begins to Flatten Out - First Day MA Doesn't Close Higher
Price Moves Higher on Lighter Volume - Price Makes a New High on Light Volume and 15 Day Average Volume is Less than 50 Day Average
Price Hits % Target - Price Moves Set % Higher from Entry Price
Price Hits R Multiple - Price hits (Entry - Stop Multiplied by Setting) and Added to Entry
Price Hits Overhead Resistance - Price Crosses a Swing High from a Monthly Timeframe Chart from at Least 1 Year Ago
Price Hits Fib Level - Price Crosses a Fib Extension Drawn From Base High to Low
Price Hits a Psychological Level - Price Crosses a Multiple of 0 or 5
Heavy Volume After Significant Move - Above Average and Heaviest Volume of the Last 5 Days 35 Bars or More from Breakout
Moving Averages Begin to Slope Downward - Moving Averages Fall for 2 Consecutive Days
Blow Off Action - Highest Volume, Largest Spread, Multiple Gaps in a Row 35 Bars or More Post Breakout
Late Buying Frenzy - ANTS 35 Bars or More Post Breakout
Exhaustion Gap - Gap Up 5% or Higher with Price 125% or More Above 200sma
Periodic Activity Tracker [LuxAlgo]The Periodic Activity Tracker tool periodically tracks the cumulative buy and sell volume in a user-defined period and draws the corresponding matching bars and volume delta for each period.
Users can select a predefined aggregation period from the following options: Hourly, Daily, Weekly, and Monthly.
🔶 USAGE
This tool provides a simple and clear way of analyzing volumes for each aggregated period and is made up of the following elements:
Buy and sell volumes by period as red and green lines with color gradient area
Delta (difference) between buy & sell volume for each period
Buy & sell volume bars for each period
Separator between lines and bars, and period tags below each pair of bars for ease of reading
On the chart above we can see all the elements displayed, the volume level on the lines perfectly matches the volume level on the bars for each period.
In this case, the tool has the default settings so the anchor period is set to Daily and we can see how the period tag (each day of the week) is displayed below each pair of bars.
Users can disable the delta display and adjust the bar size.
🔹 Reading The Tool
In trading, assessing the strength of the bulls (buyers) and bears (sellers) is key to understanding the current trading environment. Which side, if any, has the upper hand? To answer this question, some traders look at volume in relation to price.
This tool provides you with a view of buy volume versus sell volume, allowing you to compare both sides of the market.
As with any volume tool, the key is to understand when the forces of the two groups are balanced or unbalanced.
As we can observe on the chart:
NOV '23: Buy volume greater than sell volume, both moving up close together, flat delta. We can see that the price is in range.
DEC '23: Buy volume bigger than Sell volume, both moving up but with a bigger difference, bigger delta than last month but still flat. We can see the price in the range above last month's range.
JAN '24: Buy and sell volume tied together, no delta whatsoever. We can see the price in range but testing above and below last month's range.
FEB '24: Buy volume explodes higher and sell volume cannot keep up, big growing delta. Price explodes higher above last month's range.
Traders need to understand that there is always an equal number of buyers and sellers in a liquid market, the quality here is how aggressive or passive they are. Who is 'attacking' and who is 'defending', who is using market orders to move prices, and who is using limit orders waiting to be filled?
This tool gives you the following information:
Lines: if the top line is green, the buyers are attacking, if it is red, the sellers are attacking.
Delta: represents the difference in their strength, if it is above 0 the buyers are stronger, if it is below 0 the sellers are stronger.
Bars: help you to see the difference in strength between buyers and sellers for each period at a glance.
🔹 Anchor Period
By default, the tool is set to Hourly. However, users can select from a number of predefined time periods.
Depending on the user's selection, the bars are displayed as follows:
Hourly : hours of the current day
Daily : days of the current week
Weekly : weeks of the current month
Monthly : months of the current year
On the chart above we can see the four periods displayed, starting at the top left and moving clockwise we have hourly, daily, weekly, and monthly.
🔶 DETAILS
🔹 Chart TimeFrame
The chart timeframe has a direct impact on the visualization of the tool, and the user should select a chart timeframe that is compatible with the Anchor period in the tool's settings panel.
For the chart timeframe to be compatible it must be less than the Anchor period parameter. If the user selects an incompatible chart timeframe, a warning message will be displayed.
As a rule of thumb, the smaller the chart timeframe, the more data the tool will collect, returning indications for longer-term price variations.
These are the recommended chart timeframes for each period:
Hourly : 5m charts or lower
Daily : 1H charts or lower
Weekly : 4H charts or lower
Monthly : 1D charts or lower
🔹 Warnings
This chart shows both types of warnings the user may receive
At the top, we can see the warning that is given when the 'Bar Width' parameter exceeds the allowed value.
At the bottom is the incompatible chart timeframe warning, which prompts the user to select a smaller chart timeframe or a larger "Anchor Period" parameter.
🔶 SETTINGS
🔹 Data Gathering
Anchor period: Time period representing each bar: hours of the day, days of the week, weeks of the month, and months of the year. The timeframe of the chart must be less than this parameter, otherwise a warning will be displayed.
🔹 Style
Bars width: Size of each bar, there is a maximum limit so a warning will be displayed if it is reached.
Volume color
Delta: Enable/Disable Delta Area Display
AWR - Chris - V3Calculates the AWR based on Dr. Coles formula. Takes the last 12 weeks (not including the current one) highs and lows, adds them and then divides by twelve, give the average weekly range. Then takes the AWR and show the playing field based on the high and low of the current weekly candle. Must be used on the weekly chart to get the data needed then manually plot your lines on the required charts.