Average Price Range Screener [KFB Quant]Average Price Range Screener  
 Overview: 
The Average Price Range Screener   is a technical analysis tool designed to provide insights into the average price volatility across multiple symbols over user-defined time periods. The indicator compares price ranges from different assets and displays them in a visual table and chart for easy reference. This can be especially helpful for traders looking to identify symbols with high or low volatility across various time frames.
 Key Features: 
 
 
 Multiple Symbols Supported: 
The script allows for analysis of up to 10 symbols, such as major cryptocurrencies and market indices. Symbols can be selected by the user and configured for tracking price volatility.
 
 Dynamic Range Calculation: 
The script calculates the average price range of each symbol over three distinct time periods (default are 30, 60, and 90 bars). The price range for each symbol is calculated as a percentage of the bar's high-to-low difference relative to its low value.
 
 Range Visualization: 
The results are visually represented using:
- A color-coded table showing the calculated average ranges of each symbol and the current chart symbol.
- A line plot that visually tracks the volatility for each symbol on the chart, with color gradients representing the range intensity from low (red/orange) to high (blue/green).
 
 Customizable Inputs: 
- Length Inputs: Users can define the time lengths (default are 30, 60, and 90 bars) for calculating average price ranges for each symbol.
- Symbol Inputs: 10 symbols can be tracked at once, with default values set to popular crypto pairs and indices.
- Color Inputs: Users can customize the color scheme for the range values displayed in the table and chart.
 
 Real-Time Ranking: 
The indicator ranks symbols by their average price range, providing a clear view of which assets are exhibiting higher volatility at any given time.
Each symbol's range value is color-coded based on its relative volatility within the selected symbols (using a gradient from low to high range).
 
 Data Table: 
The table shows the average range values for each symbol in real-time, allowing users to compare volatility across multiple assets at a glance. The table is dynamically updated as new data comes in.
 
 Interactive Labels: 
The indicator adds labels to the chart, showing the average range for each symbol. These labels adjust in real-time as the price range values change, giving users an immediate view of volatility rankings.
 
 How to Use: 
 
 Set Time Periods: Adjust the time periods (lengths) to match your trading strategy's timeframe and volatility preference.
 Symbol Selection: Add and track the price range for your preferred symbols (cryptocurrencies, stocks, indices).
 Monitor Volatility: Use the visual table and plot to identify symbols with higher or lower volatility, and adjust your trading strategy accordingly.
 Interpret the Table and Chart: Ranges that are color-coded from red/orange (lower volatility) to blue/green (higher volatility) allow you to quickly gauge which symbols are most volatile.
 
 Disclaimer: This tool is provided for informational and educational purposes only and should not be considered as financial advice. Always conduct your own research and consult with a licensed financial advisor before making any investment decisions.
Cari dalam skrip untuk " TABLE "
Market Bias IndicatorOverview
This Pine Script™ code generates a "Market Sentiment Dashboard" on TradingView, providing a visual summary of market sentiment across multiple timeframes. This tool aids traders in making informed decisions by displaying real-time sentiment analysis based on Exponential Moving Averages (EMA).
Key Features
Panel Positioning:
Custom Placement: Traders can position the dashboard at the top, middle, or bottom of the chart and align it to the left, centre, or right, ensuring optimal integration with other chart elements.
Customizable Colours:
Sentiment Colours: Users can define colours for bullish, bearish, and neutral market conditions, enhancing the dashboard's readability.
Text Colour: Customizable text colour ensures clarity against various background colours.
Label Size:
Scalable Labels: Adjustable label sizes (from very small to very large) ensure readability across different screen sizes and resolutions.
Market Sentiment Calculation:
EMA-Based Sentiment: The dashboard calculates sentiment using a 9-period EMA. If the EMA is higher than two bars ago, the sentiment is bullish; if lower, it's bearish; otherwise, it's neutral.
Multiple Timeframes: Sentiment is calculated for several timeframes: 30 minute, 1 hour, 4 hour, 6 hour, 8 hour, 12 hour, 1 day, and 1 week. This broad analysis provides a comprehensive view of market conditions.
Dynamic Table:
Structured Display: The dashboard uses a table to organize and display sentiment data clearly.
Real-Time Updates: The table updates in real-time, providing traders with up-to-date market information.
How It Works
EMA Calculation: The script requests EMA(9) values for each specified timeframe and compares the current EMA with the EMA from two bars ago to determine market sentiment.
Colour Coding: Depending on the sentiment (Bullish, Bearish, or Neutral), the corresponding cell in the table is color-coded using predefined colours.
Table Display: The table displays the timeframe and corresponding sentiment, allowing traders to quickly assess market trends.
Benefits to Traders
Quick Assessment: Traders can quickly evaluate market sentiment across multiple timeframes without switching charts or manually calculating indicators.
Enhanced Visualization: The color-coded sentiment display makes it easy to identify trends at a glance.
Multi-Timeframe Analysis: Provides a broad view of short-term and long-term market trends, helping traders confirm trends and avoid false signals.
This dashboard enhances the overall trading experience by providing a comprehensive, customizable, and easy-to-read summary of market sentiment.
Usage Instructions
Add the Script to Your Chart: Apply the "Market Sentiment Dashboard" indicator to your TradingView chart.
Customize Settings: Adjust the panel position, colours, and label sizes to fit your preferences.
Interpret Sentiment: Use the color-coded table to quickly understand the market sentiment across different timeframes and make informed trading decisions.
RV- Dynamic Trend AnalyzerRV Dynamic Trend Analyzer 
The RV Dynamic Trend Analyzer is a powerful TradingView indicator designed to help traders identify and capitalize on trends across multiple time frames—daily, weekly, and monthly. With dynamic adjustments to key technical indicators like EMA and MACD, the tool adapts to different chart periods, ensuring more accurate signals. Whether you are swing trading or holding longer-term positions, this indicator provides reliable buy/sell signals, breakout opportunities, and customizable visual elements to enhance decision-making. Its intelligent use of EMAs and MACD values ensures high potential returns, making it suitable for traders seeking strong, data-driven strategies. Below are its core features and their respective benefits.
 Supertrend Indicator: 
 Importance:  The Supertrend is a trend-following tool that helps traders identify the market’s direction by offering clear buy and sell signals based on price movement relative to the Supertrend line.
 Benefits: 
 
 Helps filter out market noise and enables traders to stay in trends longer.
 The pullback detection feature enhances trade timing by identifying potential entry points during retracements.
 
 ATH/ATL & 52-Week High/Low with Candle Coloring: 
 Importance:  Tracking all-time highs (ATH), all-time lows (ATL), and 52-week high/low levels helps traders identify key support and resistance levels.
 Benefits: 
 
 Offers insights into the strength of price movements and potential reversal zones.
 Candle coloring improves visual analysis, allowing quick identification of bullish or bearish conditions at critical levels.
 
 Multi-Time Frame Analysis 
 Importance:  The ability to view indicators like RSI and MACD across multiple time frames provides a more in-depth and comprehensive view of market behavior, allowing traders to make informed decisions that align with both short-term and long-term trends.
 Benefits: 
 
 Align Strategies Across Time frames:  By using multiple time frames, traders can align their strategies with larger trends (such as weekly or daily) while executing trades on lower time frames (like 1-minute or 5-minute charts). This improves the accuracy of trade entries and exits.
 Reduce False Signals:  Viewing key technical indicators like RSI and MACD across different time frames reduces the likelihood of false signals by offering a broader market context, filtering out noise from smaller time frames.
 Customization of Table Display:  Traders can customize the position and size of a table that displays RSI and MACD values for selected time frames. This flexibility enhances visibility and ease of analysis.
 Time frame-Specific Data:  The code allows for displaying RSI and MACD data for up to seven different time frames, making it highly customizable for traders depending on their preferred analysis period.
 Visual Clarity:  The table displays key values such as RSI and MACD histogram readings in a visually clear format, with color coding to quickly indicate overbought/oversold levels or MACD crossovers.
 
 Pivot Points: 
 Importance:  Pivot points serve as key support and resistance levels that help predict potential price movements.
 Benefits: 
 
 Assists in identifying potential reversal zones and breakout points, aiding in trade planning.
 Displaying pivot points across multiple time frames enhances market insight and improves strategic planning.
 
 Quarterly Earnings Table: 
 Importance:  Understanding a company’s quarterly earnings releases is crucial, as these events often lead to significant price volatility. Traders can leverage this information to adjust their strategies around earnings reports and prevent unexpected losses.
 Benefits: 
 
 Helps traders anticipate potential price movements due to earnings reports.
 Allows traders to avoid sudden losses by being aware of important earnings announcements and adjusting positions accordingly.
 Customizable Visuals for Traders: 
 
Dark Mode: Toggle between dark and light themes based on your chart's color scheme.
Mini Mode: A condensed version that visually simplifies the data, making it quicker to interpret through color-coded traffic lights (green for positive, red for negative).
Table Size & Position: Customize the size and position of the table for better visibility on your charts.
Data Period (FQ vs FY): Easily switch between displaying quarterly or yearly data based on the selected period.
Top-Left Cell Display: Option to display Free Float or Market Cap in the top-left cell for quick reference.
 Exponential Moving Averages (EMAs) with Adjustable Lengths: 
 Importance:  EMAs are essential for identifying trends and generating reliable buy/sell signals. The indicator plots four EMAs that dynamically adjust based on the selected time frame.
 Benefits: 
 
 Dynamic Time frame Logic:  EMA lengths and sources automatically adapt based on whether the user selects daily, weekly, or monthly time frames. This ensures the EMAs are relevant for the chosen strategy.
 Multiple EMAs:  By incorporating four different EMAs, users can observe both short-term and long-term trends simultaneously, improving their ability to identify key trend shifts.
 
 Breakout Arrow Functionality: 
 Importance:  This feature visually signals potential buy/sell opportunities based on the interaction between EMAs and MACD crossovers.
 Benefits: 
 
 Crossover Signals:  Arrows are plotted when EMAs and MACD cross, indicating breakout opportunities and aiding in quick trade decisions.
 RSI Filter Option:  Users can apply an optional RSI filter to refine buy/sell signals, reducing false signals and improving overall accuracy.
 
 Disclaimer: 
 Before engaging in actual trading, we strongly recommend back testing the this indicator to ensure it fits your trading style and risk tolerance. Be sure to adjust your risk-reward ratio and set appropriate stop-loss levels to safeguard your investments. Proper risk management is key to successful trading. 
Memecoin TrackerMemecoin Z-Score Tracker with Buy/Sell Table - Technical Explanation
 
How it Works:
This indicator calculates the Z-scores of various memecoins based on their price movements, using historical funding rates across multiple exchanges. A Z-score measures the deviation of the current price from its moving average, expressed in standard deviations. This provides insight into whether a coin is overbought (positive Z-score) or oversold (negative Z-score) relative to its recent history.
 Key Components: 
- Z-Score Calculation
- The lookback period is dynamically adjusted based on the chart’s timeframe to ensure consistency across different time intervals:
- For lower timeframes (e.g., minutes), the base lookback period is scaled to match approximately 240 minutes.
- For daily and higher timeframes, the base lookback period is fixed (e.g., 14 bars).
 Memecoin Selection: 
The indicator tracks several popular memecoins, including DOGE, SHIB, PEPE, FLOKI, and others.
Funding rates are fetched from exchanges like Binance, Bybit, and MEXC using the request.security() function, ensuring accurate real-time price data.
 Thresholds for Buy/Sell Signals: 
Users can set custom Z-score thresholds for buy (oversold) and sell (overbought) signals:
Default upper threshold: 2.5 (indicates overbought condition).
Default lower threshold: -2.5 (indicates oversold condition).
When a memecoin’s Z-score crosses above or below these thresholds, it signals potential buy or sell conditions.
 Buy/Sell Table: 
A table with two columns (BUY and SELL) is dynamically populated with memecoins that are currently oversold (buy signal) or overbought (sell signal).
Each column can hold up to 20 entries, providing a clear overview of current market opportunities.
 Visual Feedback: 
The Z-scores of each memecoin are plotted as a line on the chart, with color-coded feedback:
Red for overbought (Z-score > upper threshold),
Green for oversold (Z-score < lower threshold),
Other colors indicate neutral conditions.
Horizontal lines representing the upper and lower thresholds are plotted for reference.
How to Use It:
 Adjust Thresholds: 
You can modify the upper and lower Z-score thresholds in the settings to customize sensitivity. Lower thresholds will increase the likelihood of triggering buy/sell signals for smaller price deviations, while higher thresholds will focus on more extreme conditions.
View Real-Time Signals:
The table shows which memecoins are currently oversold (buy column) or overbought (sell column), updating dynamically as price data changes. Traders can monitor this table to identify trading opportunities quickly.
 Use with Different Timeframes: 
The Z-score lookback period adjusts automatically based on the chart's timeframe, making this indicator suitable for intraday and long-term traders.
Use shorter timeframes (e.g., 1-minute, 5-minute charts) for faster signals, while longer timeframes (e.g., daily, weekly) may yield more stable, trend-based signals.
 Who It Is For: 
Short-Term Traders: Those looking to capitalize on short-term price imbalances (e.g., day traders, scalpers) can use this indicator to identify quick buy/sell opportunities as memecoins oscillate around their moving averages.
Swing Traders: Swing traders can use the Z-score tracker to identify overbought or oversold conditions across multiple memecoins and ride the reversals back toward equilibrium.
Crypto Enthusiasts and Memecoin Investors: Anyone involved in the volatile memecoin market can use this tool to better time entries and exits based on market extremes.
This indicator is for traders seeking quantitative analysis of price extremes in memecoins. By tracking the Z-scores across multiple coins and dynamically updating buy/sell opportunities in a table, it provides a systematic approach to identifying trade setups.
Interest Rate Trading (Manually Added Rate Decisions) [TANHEF]Interest Rate Trading: How Interest Rates Can Guide Your Next Move. 
 How were interest rate decisions added? 
All interest rate decision dates were manually retrieved from the 'Record of Policy Actions' and 'Minutes of Actions' on the Federal Reserve's website due to inconsistent dates from other sources. These were manually added as Pine Script currently only identifies rate changes, not pauses.
 █ Simple Explanation: 
This script is designed for analyzing and backtesting trading strategies based on U.S. interest rate decisions which occur during Federal Open Market Committee (FOMC) meetings, to make trading decisions. No trading strategy is perfect, and it's important to understand that expectations won't always play out. The script leverages historical interest rate changes, including increases, decreases, and pauses, across multiple economic time periods from 1971 to the present. The tool integrates two key data sources for interest rates—USINTR and FEDFUNDS—to support decision-making around rate-based trades. The focus is on identifying opportunities and tracking trades driven by interest rate movements.
 █ Interest Rate Decision Sources: 
As noted above, each decision date has been manually added from the 'Record of Policy Actions' and 'Minutes of Actions' documents on the Federal Reserve's website. This includes +50 years of more than 600 rate decisions. 
 █ Interest Rate Data Sources: 
 
 USINTR: Reflects broader U.S. interest rate trends, including Treasury yields and various benchmarks. This is the preferred option as it corresponds well to the rate decision dates.
 FEDFUNDS: Tracks the Federal Funds Rate, which is a more specific rate targeted by the Federal Reserve. This does not change on the exact same days as the rate decisions that occur at FOMC meetings.
 
 █ Trade Criteria: 
A variety of trading conditions are predefined to suit different trading strategies. These conditions include:
 
 Increase/Decrease: Standard rate increases or decreases.
 Double/Triple Increase/Decrease: A series of consecutive changes.
 Aggressive Increase/Decrease: Rate changes that exceed recent movements.
 Pause: Identification of no changes (pauses) between rate decisions, including double or triple pauses.
 Complex Patterns: Combinations of pauses, increases, or decreases, such as "Pause after Increase" or "Pause or Increase."
 
 █ Trade Execution and Exit: 
The script allows automated trade execution based on selected criteria:
 
 Auto-Entry: Option to enter trades automatically at the first valid period.
 Max Trade Duration: Optional exit of trades after a specified number of bars (candles).
 Pause Days: Minimum duration (in days) to validate rate pauses as entry conditions. This is especially useful for earlier periods (prior to the 2000s), where rate decisions often seemed random compared to the consistency we see today.
 
 █ Visualization: 
Several visual elements enhance the backtesting experience:
 
 Time Period Highlighting: Economic time periods are visually segmented on the chart, each with a unique color. These periods include historical phases such as "Stagflation (1971-1982)" and "Post-Pandemic Recovery (2021-Present)".
 Trade and Holding Results: Displays the profit and loss of trades and holding results directly on the chart.
 Interest Rate Plot: Plots the interest rate movements on the chart, allowing for real-time tracking of rate changes.
 Trade Status: Highlights active long or short positions on the chart.
 
 █ Statistics and Criteria Display: 
 
 Stats Table: Summarizes trade results, including wins, losses, and draw percentages for both long and short trades.
 Criteria Table: Lists the selected entry and exit criteria for both long and short positions.
 
 █ Economic Time Periods: 
The script organizes interest rate decisions into well-defined economic periods, allowing traders to backtest strategies specific to historical contexts like:
 
 (1971-1982) Stagflation
 (1983-1990) Reaganomics and Deregulation
 (1991-1994) Early 1990s (Recession and Recovery)
 (1995-2001) Dot-Com Bubble
 (2001-2006) Housing Boom
 (2007-2009) Global Financial Crisis
 (2009-2015) Great Recession Recovery
 (2015-2019) Normalization Period
 (2019-2021) COVID-19 Pandemic
 (2021-Present) Post-Pandemic Recovery
 
 █ User-Configurable Inputs: 
 
 Rate Source Selection: Choose between USINTR or FEDFUNDS as the primary interest rate source.
 Trade Criteria Customization: Users can select the criteria for long and short trades, specifying when to enter or exit based on changes in the interest rate.
 Time Period: Select the time period that you want to isolate testing a strategy with.
 Auto-Entry and Pause Settings: Options to automatically enter trades and specify the number of days to confirm a rate pause.
 Max Trade Duration: Limits how long trades can remain open, defined by the number of bars.
 
 █ Trade Logic: 
The script manages entries and exits for both long and short trades. It calculates the profit or loss percentage based on the entry and exit prices. The script tracks ongoing trades, dynamically updating the profit or loss as price changes.
 █ Examples: 
One of the most popular opinions is that when rate starts begin you should sell, then buy back in when rate cuts stop dropping. However, this can be easily proven to be a difficult task. Predicting the end of a rate cut is very difficult to do with the the exception that assumes rates will not fall below 0.25%.
 2001-2009 
Trade Result: +29.85%
Holding Result: -27.74%
  
 1971-2024 
Trade Result: +533%
Holding Result: +5901%
 
 █ Backtest and Real-Time Use: 
This backtester is useful for historical analysis and real-time trading. By setting up various entry and exit rules tied to interest rate movements, traders can test and refine strategies based on real historical data and rate decision trends.
This powerful tool allows traders to customize strategies, backtest them through different economic periods, and get visual feedback on their trading performance, helping to make more informed decisions based on interest rate dynamics. The main goal of this indicator is to challenge the belief that future events must mirror the 2001 and 2007 rate cuts. If everyone expects something to happen, it usually doesn’t.
DataDoodles ATR RangeThe "DataDoodles ATR Range" indicator provides a comprehensive visual representation of the Average True Range (ATR) levels based on  the previous bar's close price . It includes both the raw ATR and an Exponential Moving Average (EMA) of the ATR to offer a smoother view of the range volatility. This indicator is ideal for traders who want to quickly assess potential price movements relative to recent volatility.
Key Features:
ATR Levels Above and Below Close: The indicator calculates and displays three levels of ATR-based ranges above and below the previous close price. These levels are visualized on the chart using distinct colors:
- 1ATR Above/Below
- 2ATR Above/Below
- 3ATR Above/Below
 EMA of ATR 
Includes the EMA of ATR to provide a smoother trend of the ATR values, helping traders identify long-term volatility trends.
Color-Coded Ranges: The plotted ranges are color-coded for easy identification, with warm gradient tones applied to the corresponding data table for quick reference.
Customizable Table: A data table is displayed at the bottom right corner of the chart, providing real-time values for ATR, EMA ATR, and the various ATR ranges.
 Usage 
This indicator is useful for traders who rely on volatility analysis to set stop losses, take profit levels, or simply understand the current market conditions. By visualizing ATR ranges directly on the chart, traders can better anticipate potential price movements and adjust their strategies accordingly.
 Customization 
ATR Length: The default ATR length is set to 14 but can be customized to fit your trading strategy.
Table Positioning: The data table is placed in the bottom right corner by default but can be moved as needed.
 How to Use 
Add the "DataDoodles ATR Range" indicator to your chart.
Observe the plotted lines for potential support and resistance levels based on recent volatility.
Use the data table for quick reference to ATR values and range levels.
 Disclaimer: This indicator is a tool for analysis and should be used in conjunction with other indicators and analysis methods. Always practice proper risk management and consider market conditions before making trading decisions.
Qty CalculatorThis Pine Script indicator, titled "Qty Calculator," is a customizable tool designed to assist traders in managing their trades by calculating key metrics related to risk management. It takes into account your total capital, entry price, stop-loss level, and desired risk percentage to provide a comprehensive overview of potential trade outcomes.
Key Features:
User Inputs:
Total Capital: The total amount of money available for trading.
Entry Price: The price at which the trader enters the trade.
Stop Loss: The price level at which the trade will automatically close to prevent further losses.
Risk Percentage: The percentage of the total capital that the trader is willing to risk on a single trade.
Customizable Table:
Position: The indicator allows you to choose the position of the table on the chart, with options including top-left, top-center, top-right, bottom-left, bottom-center, and bottom-right.
Size: You can adjust the number of rows and columns in the table to fit your needs.
Risk Management Calculations:
Difference Calculation: The difference between the entry price and the stop-loss level.
Risk Per Trade: Calculated as a percentage of your total capital.
Risk Levels: The indicator evaluates multiple risk levels (0.10%, 0.25%, 0.50%, 1.00%) and calculates the quantity, capital per trade, percentage of total capital, and the risk amount associated with each level.
R-Multiples Calculation:
The indicator calculates potential profit levels at 2x, 3x, 4x, and 5x the risk (R-Multiples), showing the potential gains if the trade moves in your favor by these multiples.
Table Display:
The table includes the following columns:
CapRisk%: Displays the risk percentage.
Qty: The quantity of the asset you should trade.
Cap/Trade: The capital allocated per trade.
%OfCapital: The percentage of total capital used in the trade.
Risk Amount: The monetary risk taken on each trade.
R Gains: Displays potential gains at different R-Multiples.
This indicator is particularly useful for traders who prioritize risk management and want to ensure that their trades are aligned with their capital and risk tolerance. By providing a clear and customizable table of critical metrics, it helps traders make informed decisions and better manage their trading strategies.
Bearish vs Bullish ArgumentsThe Bearish vs Bullish Arguments Indicator is a tool designed to help traders visually assess and compare the number of bullish and bearish arguments based on their custom inputs. This script enables users to input up to five bullish and five bearish arguments, dynamically displaying the bias on a clean and customizable table on the chart. This provides traders with a clear, visual representation of the market sentiment they have identified.
Key Features:
Customizable Inputs: Users can input up to five bullish and five bearish arguments, which are displayed in a table on the chart.
Bias Calculation: The script calculates the bias (Bullish, Bearish, or Neutral) based on the number of bullish and bearish arguments provided.
Color Customization: Users can customize the colors for the table background, text, and headers, ensuring the table fits seamlessly into their charting environment.
Reset Functionality: A reset switch allows users to clear all input arguments with a single click, making it easy to start fresh.
How It Works:
Input Fields: The script provides input fields for up to five bullish and five bearish arguments. Each input is a simple text field where users can describe their arguments.
Bias Calculation: The script counts the number of non-empty bullish and bearish arguments and determines the overall bias. The bias is displayed in the table with a dynamically changing color to indicate whether the market sentiment is bullish, bearish, or neutral.
Customizable Table: The table is positioned on the chart according to the user's preference (top-left, top-right, bottom-left, bottom-right) and can be customized in terms of background color and text color.
How to Use:
Add the Indicator: Add the Bearish vs Bullish Arguments Indicator to your chart.
Input Arguments: Enter up to five bullish and five bearish arguments in the provided input fields in the script settings.
Customize Appearance: Adjust the table's background color, text color, and position on the chart to fit your preferences.
Example Use Case:
A trader might use this indicator to visually balance their arguments for and against a particular trade setup. By entering their reasons for a bullish outlook in the bullish argument fields and their reasons for a bearish outlook in the bearish argument fields, they can quickly see which side has more supporting points and make a more informed trading decision.
This script was inspired by Arjoio's concepts
Multi-Frame Market Sentiment DashboardOverview
This Pine Script™ code generates a  "Market Sentiment Dashboard"  on TradingView, providing a visual summary of market sentiment across multiple timeframes. This tool aids traders in making informed decisions by displaying real-time sentiment analysis based on Exponential Moving Averages (EMA).
Key Features
 Panel Positioning: 
 
 Custom Placement:  Traders can position the dashboard at the top, middle, or bottom of the chart and align it to the left, center, or right, ensuring optimal integration with other chart elements.
 
 Customizable Colors: 
 
 Sentiment Colors:  Users can define colors for bullish, bearish, and neutral market conditions, enhancing the dashboard's readability.
 Text Color:  Customizable text color ensures clarity against various background colors.
 
 Label Size: 
 
 Scalable Labels:  Adjustable label sizes (from very small to very large) ensure readability across different screen sizes and resolutions.
 
 Market Sentiment Calculation: 
 
 EMA-Based Sentiment:  The dashboard calculates sentiment using a 9-period EMA. If the EMA is higher than two bars ago, the sentiment is bullish; if lower, it's bearish; otherwise, it's neutral.
 Multiple Timeframes:  Sentiment is calculated for several timeframes: 1 minute, 3 minutes, 5 minutes, 15 minutes, 30 minutes, 1 hour, 4 hours, and 1 day. This broad analysis provides a comprehensive view of market conditions.
 
 Dynamic Table: 
 
 Structured Display:  The dashboard uses a table to organize and display sentiment data clearly.
 Real-Time Updates:  The table updates in real-time, providing traders with up-to-date market information.
 
How It Works
 EMA Calculation:  The script requests EMA(9) values for each specified timeframe and compares the current EMA with the EMA from two bars ago to determine market sentiment.
 Color Coding:  Depending on the sentiment (Bullish, Bearish, or Neutral), the corresponding cell in the table is color-coded using predefined colors.
 Table Display:  The table displays the timeframe and corresponding sentiment, allowing traders to quickly assess market trends.
Benefits to Traders
 
 Quick Assessment:  Traders can quickly evaluate market sentiment across multiple timeframes without switching charts or manually calculating indicators.
 Enhanced Visualization:  The color-coded sentiment display makes it easy to identify trends at a glance.
 Multi-Timeframe Analysis:  Provides a broad view of short-term and long-term market trends, helping traders confirm trends and avoid false signals.
 
This dashboard enhances the overall trading experience by providing a comprehensive, customizable, and easy-to-read summary of market sentiment.
Usage Instructions
 Add the Script to Your Chart:  Apply the "Market Sentiment Dashboard" indicator to your TradingView chart.
 Customize Settings:  Adjust the panel position, colors, and label sizes to fit your preferences.
 Interpret Sentiment:  Use the color-coded table to quickly understand the market sentiment across different timeframes and make informed trading decisions.
Nadaraya-Watson Probability [Yosiet]The script calculates and displays probability bands around price movements, offering insights into potential market trends.
 Setting Up the Script 
 
 Window Size: Determines the length of the window for the Nadaraya-Watson estimation. A larger window smooths the data more but might lag current market conditions.
 Bandwidth: Controls the bandwidth for the kernel regression, affecting the smoothness of the probability bands.
 
 Reading the Data Table 
The script dynamically updates a table positioned at the bottom right of your chart, providing real-time insights into market probabilities. Here's how to interpret the table:
Table Columns: The table is organized into three columns:
Up: Indicates the probability or relative change percentage for the upper band.
Down: Indicates the probability or relative change percentage for the lower band.
Table Rows: There are two main rows of interest:
P%: Shows the price change percentage difference between the bands and the closing price. A positive value in the "Up" column suggests the upper band is above the current close, indicating potential upward momentum. Conversely, a negative value in the "Down" column suggests downward momentum.
R%: Displays the relative inner change percentage difference between the bands, offering a measure of the market's volatility or stability within the bands.
 Utilizing the Insights 
Market Trends: A widening gap between the "Up" and "Down" percentages in the "P%" row might indicate increasing market volatility. Traders can use this information to adjust their risk management strategies accordingly.
Entry and Exit Points: The "R%" row provides insights into the relative position of the current price within the probability bands. Traders might consider positions closer to the lower band as potential entry points and positions near the upper band as exit points or take-profit levels.
 Conclusion 
The Nadaraya-Watson Probability script offers a sophisticated tool for traders looking to incorporate statistical analysis into their trading strategy. By understanding and utilizing the data presented in the script's table, traders can gain insights into market trends and volatility, aiding in decision-making processes. Remember, no indicator is foolproof; always consider multiple data sources and analyses when making trading decisions.
dashboard MTF,EMA User Guide: Dashboard MTF EMA
Script Installation:
Copy the script code.
Go to the script window (Pine Editor) on TradingView.
Paste the code into the script window.
Save the script.
Adding the Script to the Chart:
Return to your chart on TradingView.
Look for the script in the list of available scripts.
Add the script to the chart.
Interpreting the Table:
On the right side of the chart, you will see a table labeled "EMA" with arrows.
The rows correspond to different timeframes: 5 minutes (5M), 15 minutes (15M), 1 hour (1H), 4 hours (4H), and 1 day (1D).
Understanding the Arrows:
Each row of the table has two columns: "EMA" and an arrow.
"EMA" indicates the trend of the Exponential Moving Average (EMA) for the specified period.
The arrow indicates the direction of the trend: ▲ for bullish, ▼ for bearish.
Table Colors:
The colors of the table reflect the current trend based on the comparison between fast and slow EMAs.
Blue (▲) indicates a bullish trend.
Red (▼) indicates a bearish trend.
Table Theme:
The table has a dark (Dark) or light (Light) theme according to your preference.
The background, frame, and colors are adjusted based on the selected theme.
Usage:
Use the table as a quick indicator of trends on different timeframes.
The arrows help you quickly identify trends without navigating between different time units.
Designed to simplify analysis and avoid cluttering the chart with multiple indicators.
Dividend Calendar (Zeiierman)█  Overview 
The  Dividend Calendar  is a financial tool designed for investors and analysts in the stock market. Its primary function is to provide a schedule of expected dividend payouts from various companies. 
   
Dividends, which are portions of a company's earnings distributed to shareholders, represent a return on their investment. This calendar is particularly crucial for investors who prioritize dividend income, as it enables them to plan and manage their investment strategies with greater effectiveness. By offering a comprehensive overview of when dividends are due, the Dividend Calendar aids in informed decision-making, allowing investors to time their purchases and sales of stocks to optimize their dividend income. Additionally, it can be a valuable tool for forecasting cash flow and assessing the financial health and dividend-paying consistency of different companies.
  
█  How to Use 
 Dividend Yield Analysis:  
By tracking dividend growth and payouts, traders can identify stocks with attractive dividend yields. This is particularly useful for income-focused investors who prioritize steady cash flow from their investments.
 Income Planning: 
For those relying on dividends as a source of income, the calendar helps in forecasting income.
 Trend Identification:  
Analyzing the growth rates of dividends helps in identifying long-term trends in a company's financial health. Consistently increasing dividends can be a sign of a company's strong financial position, while decreasing dividends might signal potential issues.
 Portfolio Diversification:  
The tool can assist in diversifying a portfolio by identifying a range of dividend-paying stocks across different sectors. This can help mitigate risk as different sectors may react differently to market conditions.
 Timing Investments: 
For those who follow a dividend capture strategy, this indicator can be invaluable. It can help in timing the buying and selling of stocks around their ex-dividend dates to maximize dividend income.
  
█  How it Works 
This script is a comprehensive tool for tracking and analyzing stock dividend data. It calculates growth rates, monthly and yearly totals, and allows for custom date handling. Structured to be visually informative, it provides tables and alerts for the easy monitoring of dividend-paying stocks.
 
   Data Retrieval and Estimation:  It fetches dividend payout times and amounts for a list of stocks. The script also estimates future values based on historical data.
   Growth Analysis:  It calculates the average growth rate of dividend payments for each stock, providing insights into dividend consistency and growth over time.
   Summation and Aggregation:  The script sums up dividends on a monthly and yearly basis, allowing for a clear view of total payouts.
   Customization and Alerts:  Users can input custom months for dividend tracking. The script also generates alerts for upcoming or current dividend payouts.
   Visualization:  It produces various tables and visual representations, including full calendar views and income tables, to display the dividend data in an easily understandable format.
 
█  Settings 
 Overview: 
 Currency: 
 
  Description: This setting allows the user to specify the currency in which dividend values are displayed. By default, it's set to USD, but users can change it to their local currency.
  Impact: Changing this value alters the currency denomination for all dividend values displayed by the script.
 
 Ex-Date or Pay-Date: 
 
  Description: Users can select whether to show the Ex-dividend day or the Actual Payout day.
  Impact: This changes the reference date for dividend data, affecting the timing of when dividends are shown as due or paid.
 
 Estimate Forward: 
 
  Description: Enables traders to predict future dividends based on historical data.
  Impact: When enabled, the script estimates future dividend payments, providing a forward-looking view of potential income.
 
 Dividend Table Design: 
 
  Description: Choose between viewing the full dividend calendar, just the cumulative monthly dividend, or a summary view.
  Impact: This alters the format and extent of the dividend data displayed, catering to different levels of detail a user might require.
 
 Show Dividend Growth: 
 
  Description: Users can enable dividend growth tracking over a specified number of years.
  Impact: When enabled, the script displays the growth rate of dividends over the selected number of years, providing insight into dividend trends.
 
 Customize Stocks & User Inputs: 
 
  This setting allows users to customize the stocks they track, the number of shares they hold, the dividend payout amount, and the payout months.
  Impact: Users can tailor the script to their specific portfolio, making the dividend data more relevant and personalized to their investments.
 
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Buy/Sell EMA CandleThis indicator is designed to display various technical indicators, candle patterns, and trend directions on a price chart. Let's break down the code and explain its different sections:
Exponential Moving Averages (EMA):
The code calculates and plots five EMAs of different lengths (13, 21, 55, 90, and 200) on the price chart. These EMAs are used to identify trends and potential crossovers.
Engulfing Candle Patterns:
The code identifies and highlights potential bullish and bearish engulfing candle patterns. It checks if the current candle's body size is larger than the combined body sizes of the previous and subsequent four candles. If this condition is met, it marks the pattern on the chart.
 s3.tradingview.com 
EMA Crossovers:
The code identifies and highlights points where the shorter EMA (ema1) crosses above or below the longer EMA (ema2). It plots circles to indicate these crossover points.
Candle Direction and RSI Trend:
The code determines the trend direction of the last candle based on whether it closed higher or lower than its open price. It also calculates the RSI (Relative Strength Index) and determines its trend direction (overbought, oversold, or neutral) based on predefined thresholds.
 s3.tradingview.com 
Table Display:
The code creates a table displaying trend directions for different timeframes (monthly, weekly, daily, 4-hour, and 1-hour) for candle direction and RSI trends. The trends are labeled with "L" for long, "S" for short, and "N/A" for not applicable.
High Volume Bars (HVB):
The code identifies and colors bars with above-average volume as either bullish or bearish based on whether the price closed higher or lower than it opened. The color and conditions for high volume bars can be customized.
 s3.tradingview.com 
Doji Candle Pattern:
The code identifies and marks doji candle patterns, where the open and close prices are very close to each other within a certain percentage of the candle's high-low range.
RSI-Based Candle Coloring:
The code adjusts the color of the candles based on the RSI value. If the RSI value is above the overbought threshold or below the oversold threshold, the candles are colored yellow.
Usage and Interpretation:
Traders can use this indicator to identify potential trend changes based on EMA crossovers and candle patterns like engulfing and doji.
The RSI trend direction can provide additional insight into potential overbought or oversold conditions.
High volume bars can indicate potential price reversals or continuation patterns.
The table provides an overview of trend directions on different timeframes for both candle direction and RSI trends.
Keep in mind that this is a complex indicator with multiple features. Users should carefully evaluate its performance and consider combining it with other indicators and analysis methods for more accurate trading decisions.
The table is designed to provide a consolidated view of trend directions and other indicators across multiple timeframes. It is displayed on the chart and organized into rows and columns. Each row corresponds to a specific aspect of analysis, and each column corresponds to a different timeframe.
Here's a breakdown of the components of the table:
Row 1: Separation.
Row 2 (Header Row): This row contains the headers for the columns. The headers represent the different timeframes being analyzed, such as Monthly (M), Weekly (W), Daily (D), 4-hour (4h), and 1-hour (1h).
Row 3 (Content Row): This row contains labels indicating the types of information being displayed in the columns. The labels include "T" for Trend, "C" for Current Candle, and "R" for RSI Trend.
Row 4 and Onwards: These rows display the actual data for each aspect of analysis across different timeframes.
For each aspect of analysis (Trend, Current Candle, RSI Trend), the corresponding rows display the following information:
Monthly (M): The trend direction for the given aspect on the monthly timeframe.
Weekly (W): The trend direction for the given aspect on the weekly timeframe.
Daily (D): The trend direction for the given aspect on the daily timeframe.
4-hour (4h): The trend direction for the given aspect on the 4-hour timeframe.
1-hour (1h): The trend direction for the given aspect on the 1-hour timeframe.
The trend directions are represented by labels such as "L" for Long, "S" for Short, or "N/A" for Not Applicable.
The table's purpose is to provide a quick overview of trend directions and related information across multiple timeframes, aiding traders in making informed decisions based on the analysis of trend changes and other indicators.
LYGLibraryLibrary   "LYGLibrary" 
A collection of custom tools & utility functions commonly used with my scripts
 getDecimals() 
  Calculates how many decimals are on the quote price of the current market
  Returns: The current decimal places on the market quote price
 truncate(number, decimalPlaces) 
  Truncates (cuts) excess decimal places
  Parameters:
     number (float) 
     decimalPlaces (simple float) 
  Returns: The given number truncated to the given decimalPlaces
 toWhole(number) 
  Converts pips into whole numbers
  Parameters:
     number (float) 
  Returns: The converted number
 toPips(number) 
  Converts whole numbers back into pips
  Parameters:
     number (float) 
  Returns: The converted number
 getPctChange(value1, value2, lookback) 
  Gets the percentage change between 2 float values over a given lookback period
  Parameters:
     value1 (float) 
     value2 (float) 
     lookback (int) 
 av_getPositionSize(balance, risk, stopPoints, conversionRate) 
  Calculates OANDA forex position size for AutoView based on the given parameters
  Parameters:
     balance (float) 
     risk (float) 
     stopPoints (float) 
     conversionRate (float) 
  Returns: The calculated position size (in units - only compatible with OANDA)
 bullFib(priceLow, priceHigh, fibRatio) 
  Calculates a bullish fibonacci value
  Parameters:
     priceLow (float) : The lowest price point
     priceHigh (float) : The highest price point
     fibRatio (float) : The fibonacci % ratio to calculate
  Returns: The fibonacci value of the given ratio between the two price points
 bearFib(priceLow, priceHigh, fibRatio) 
  Calculates a bearish fibonacci value
  Parameters:
     priceLow (float) : The lowest price point
     priceHigh (float) : The highest price point
     fibRatio (float) : The fibonacci % ratio to calculate
  Returns: The fibonacci value of the given ratio between the two price points
 getMA(length, maType) 
  Gets a Moving Average based on type (MUST BE CALLED ON EVERY CALCULATION)
  Parameters:
     length (simple int) 
     maType (string) 
  Returns: A moving average with the given parameters
 getEAP(atr) 
  Performs EAP stop loss size calculation (eg. ATR >= 20.0 and ATR < 30, returns 20)
  Parameters:
     atr (float) 
  Returns: The EAP SL converted ATR size
 getEAP2(atr) 
  Performs secondary EAP stop loss size calculation (eg. ATR < 40, add 5 pips, ATR between 40-50, add 10 pips etc)
  Parameters:
     atr (float) 
  Returns: The EAP SL converted ATR size
 barsAboveMA(lookback, ma) 
  Counts how many candles are above the MA
  Parameters:
     lookback (int) 
     ma (float) 
  Returns: The bar count of how many recent bars are above the MA
 barsBelowMA(lookback, ma) 
  Counts how many candles are below the MA
  Parameters:
     lookback (int) 
     ma (float) 
  Returns: The bar count of how many recent bars are below the EMA
 barsCrossedMA(lookback, ma) 
  Counts how many times the EMA was crossed recently
  Parameters:
     lookback (int) 
     ma (float) 
  Returns: The bar count of how many times price recently crossed the EMA
 getPullbackBarCount(lookback, direction) 
  Counts how many green & red bars have printed recently (ie. pullback count)
  Parameters:
     lookback (int) 
     direction (int) 
  Returns: The bar count of how many candles have retraced over the given lookback & direction
 getBodySize() 
  Gets the current candle's body size (in POINTS, divide by 10 to get pips)
  Returns: The current candle's body size in POINTS
 getTopWickSize() 
  Gets the current candle's top wick size (in POINTS, divide by 10 to get pips)
  Returns: The current candle's top wick size in POINTS
 getBottomWickSize() 
  Gets the current candle's bottom wick size (in POINTS, divide by 10 to get pips)
  Returns: The current candle's bottom wick size in POINTS
 getBodyPercent() 
  Gets the current candle's body size as a percentage of its entire size including its wicks
  Returns: The current candle's body size percentage
 isHammer(fib, colorMatch) 
  Checks if the current bar is a hammer candle based on the given parameters
  Parameters:
     fib (float) 
     colorMatch (bool) 
  Returns: A boolean - true if the current bar matches the requirements of a hammer candle
 isStar(fib, colorMatch) 
  Checks if the current bar is a shooting star candle based on the given parameters
  Parameters:
     fib (float) 
     colorMatch (bool) 
  Returns: A boolean - true if the current bar matches the requirements of a shooting star candle
 isDoji(wickSize, bodySize) 
  Checks if the current bar is a doji candle based on the given parameters
  Parameters:
     wickSize (float) 
     bodySize (float) 
  Returns: A boolean - true if the current bar matches the requirements of a doji candle
 isBullishEC(allowance, rejectionWickSize, engulfWick) 
  Checks if the current bar is a bullish engulfing candle
  Parameters:
     allowance (float) 
     rejectionWickSize (float) 
     engulfWick (bool) 
  Returns: A boolean - true if the current bar matches the requirements of a bullish engulfing candle
 isBearishEC(allowance, rejectionWickSize, engulfWick) 
  Checks if the current bar is a bearish engulfing candle
  Parameters:
     allowance (float) 
     rejectionWickSize (float) 
     engulfWick (bool) 
  Returns: A boolean - true if the current bar matches the requirements of a bearish engulfing candle
 isInsideBar() 
  Detects inside bars
  Returns: Returns true if the current bar is an inside bar
 isOutsideBar() 
  Detects outside bars
  Returns: Returns true if the current bar is an outside bar
 barInSession(sess, useFilter) 
  Determines if the current price bar falls inside the specified session
  Parameters:
     sess (simple string) 
     useFilter (bool) 
  Returns: A boolean - true if the current bar falls within the given time session
 barOutSession(sess, useFilter) 
  Determines if the current price bar falls outside the specified session
  Parameters:
     sess (simple string) 
     useFilter (bool) 
  Returns: A boolean - true if the current bar falls outside the given time session
 dateFilter(startTime, endTime) 
  Determines if this bar's time falls within date filter range
  Parameters:
     startTime (int) 
     endTime (int) 
  Returns: A boolean - true if the current bar falls within the given dates
 dayFilter(monday, tuesday, wednesday, thursday, friday, saturday, sunday) 
  Checks if the current bar's day is in the list of given days to analyze
  Parameters:
     monday (bool) 
     tuesday (bool) 
     wednesday (bool) 
     thursday (bool) 
     friday (bool) 
     saturday (bool) 
     sunday (bool) 
  Returns: A boolean - true if the current bar's day is one of the given days
 atrFilter(atrValue, maxSize) 
  Parameters:
     atrValue (float) 
     maxSize (float) 
 fillCell(tableID, column, row, title, value, bgcolor, txtcolor) 
  This updates the given table's cell with the given values
  Parameters:
     tableID (table) 
     column (int) 
     row (int) 
     title (string) 
     value (string) 
     bgcolor (color) 
     txtcolor (color) 
  Returns: A boolean - true if the current bar falls within the given dates
Market Structure & Liquidity: CHoCHs+Nested Pivots+FVGs+Sweeps//Purpose:
This indicator combines several tools to help traders track and interpret price action/market structure; It can be divided into 4 parts; 
1. CHoCHs, 2. Nested Pivot highs & lows, 3. Grade sweeps, 4. FVGs.
This gives the trader a toolkit for determining market structure and shifts in market structure to help determine a bull or bear bias, whether it be short-term, med-term or long-term.
This indicator also helps traders in determining liquidity targets: wether they be voids/gaps (FVGS) or old highs/lows+ typical sweep distances.
Finally, the incorporation of HTF CHoCH levels printing on your LTF chart helps keep the bigger picture in mind and tells traders at a glance if they're above of below Custom HTF CHoCH up or CHoCH down (these HTF CHoCHs can be anything from Hourly up to Monthly).
//Nomenclature:
CHoCH = Change of Character
STH/STL = short-term high or low 
MTH/MTL = medium-term high or low   
LTH/LTL = long-term high or low 
FVG = Fair value gap 
CE = consequent encroachement (the midline of a FVG)
 ~~~ The Four components of this indicator ~~~ 
    1. CHoCHs: 
•Best demonstrated in the below charts. This was a method taught to me by @Icecold_crypto. Once a 3 bar fractal pivot gets broken, we count backwards the consecutive higher lows or lower highs, then identify the CHoCH as the opposite end of the candle which ended the consecutive backwards count. This CHoCH (UP or DOWN) then becomes a level to watch, if price passes through it in earnest a trader would consider shifting their bias as market structure is deemed to have shifted.
•HTF CHoCHs: Option to print Higher time frame chochs (default on) of user input HTF. This prints only the last UP choch and only the last DOWN choch from the input HTF. Solid line by default so as to distinguish from local/chart-time CHoCHs. Can be any Higher timeframe you like.
•Show on table: toggle on  show table(above/below)  option to show in table cells (top right): is price above the latest HTF UP choch, or is price below HTF DOWN choch (or is it sat between the two, in a state of 'uncertainty').
•Most recent CHoCHs which have not been met by price will extend 10 bars into the future. 
• USER INPUTS:  overall setting:  SHOW CHOCHS  | Set  bars lookback  number to limit historical Chochs. Set  Live CHoCHs  number to control the number of active recent chochs unmet by price. Toggle  shrink chochs once hit  to declutter chart and minimize old chochs to their origin bars. Set  Multi-timeframe color override : to make Color choices  auto-set to your preference color for each of 1m, 5m, 15m, H, 4H, D, W, M (where up and down are same color, but 'up' icon for up chochs and down icon for down chochs remain printing as normal)
    2. Nested Pivot Highs & Lows; aka 'Pivot Highs & Lows (ST/MT/LT)' 
•Based on a seperate, longer lookback/lookforward pivot calculation. Identifies Pivot highs and lows with a 'spikeyness' filter (filtering out weak/rounded/unimpressive Pivot highs/lows)
•by 'nested' I mean that the pivot highs are graded based on whether a pivot high sits between two lower pivot highs or vice versa.
--for example: STH = normal pivot. MTH is pivot high with a lower STH on either side. LTH is a pivot high with a lower MTH on either side. Same applies to pivot lows (STL/MTL/LTL)
•This is a useful way to measure the significance of a high or low. Both in terms of how much it might be typically swept by (see later) and what it would imply for HTF bias were we to break through it in earnest (more than just a sweep).
• USER INPUTS:  overall setting:  show pivot highs & lows  |  Bars lookback  (historical pivots to show) |  Pivots: lookback/lookforward  length (determines the scale of your pivot highs/lows) | toggle on/off  Apply 'Spikeyness' filter  (filters out smooth/unimpressive pivot highs/lows). Set  Spikeyness index  (determines the strength of this filter if turned on) | Individually toggle on each of STH, MTH, LTH, STL, MTL, LTL along with their  label text type , and  size . Toggle on/off  line  for each of these Pivot highs/lows. | Set  label spacer  (atr multiples above / below) | set  line style  and  line width 
    3. Grade Sweeps: 
•These are directly related to the nested pivots described above. Most assets will have a typical sweep distance. I've added some of my expected sweeps for various assets in the indicator tooltips.
--i.e. Eur/Usd 10-20-30 pips is a typical 'grade' sweep. S&P  HKEX:5 - HKEX:10  is a typical grade sweep. 
•Each of the ST/MT/LT pivot highs and lows have optional user defined grade sweep boxes which paint above until filled (or user option for historical filled boxes to remain).
•Numbers entered into sweep input boxes are auto converted into appropriate units (i.e. pips for FX, $ or 'handles' for indices, $ for Crypto. Very low $ units can be input for low unit value crypto altcoins.
• USER INPUTS:  overall setting:  Show sweep boxes   | individually select  colors  of each of STH, MTH, LTH, STL, MTL, LTL sweep boxes. | Set  Grade sweep ($/pips)  number for each of ST, MT, LT. This auto converts between pips and $ (i.e. FX vs Indices/Crypto). Can be a float as small or large as you like ($0.000001 to  HKEX:1000 ). | Set box  text position  (horizontal & vertical) and  size , and  color . | Set  Box width (bars)  (for non extended/ non-auto-terminating at price boxes). | toggle on/off  Extend boxes/lines right . | Toggle on/off  Shrink Grade sweeps on fill  (they will disappear in realtime when filled/passed through)
    4. FVGs:  
•Fair Value gaps. Represent 'naked' candle bodies where the wicks to either side do not meet, forming a 'gap' of sorts which has a tendency to fill, or at least to fill to midline (CE).
•These are ICT concepts. 'UP' FVGS are known as BISIs (Buyside imbalance, sellside inefficiency); 'DOWN' FVGs are known as SIBIs (Sellside imbalance, buyside inefficiency). 
• USER INPUTS:  overall setting:  show FVGs  |  Bars lookback  (history). | Choose to display:  'UP' FVGs (BISI)  and/or  'DOWN FVGs (SIBI) . Choose to display the midline:  CE , the  color  and the line  style .  Choose threshold:  use CE (as opposed to Full Fill)  |toggle on/off  Shrink FVG on fill (CE hit or Full fill)  (declutter chart/see backtesting history)
////••Alerts (general notes & cautionary notes):: 
•Alerts are optional for most of the levels printed by this indicator. Set them via the three dots on indicator status line. 
•Due to dynamic repainting of levels, alerts should be used with caution. Best use these alerts either for Higher time frame levels, or when closely monitoring price.
--E.g. You may set an alert for down-fill of the latest FVG below; but price will keep marching up; form a newer/higher FVG, and the alert will trigger on THAT FVG being down-filled (not the original)
•Available Alerts: 
-FVG(BISI) cross above threshold(CE or full-fill; user choice). Same with FVG(SIBI).
-HTF last CHoCH down, cross below | HTF last CHoCH up, cross above.
-last CHoCH down, cross below |  last CHoCH up, cross above.
-LTH cross above, MTH cross above, STH cross above | LTL cross below, MTL cross below, STL cross below.
////••Formatting (general)::
•all table text color is set from the 'Pivot highs & Lows (ST, MT, LT)' section (for those of you who prefer black backgrounds).
•User choice of Line-style, line color, line width. Same with Boxes. Icon choice for chochs. Char or label text choices for ST/MT/LT pivot highs & lows.
////••User Inputs (general):
•Each of the 4 components of this indicator can be easily toggled on/off independently.
•Quite a lot of options and toggle boxes, as described in full above. Please take your time and read through all the tooltips (hover over '!' icon) to get an idea of formatting options.
•Several Lookback periods defined in bars to control how much history is shown for each of the 4 components of this indicator.
•'Shrink on fill' settings on FVGs and CHoCHs: Basically a way to declutter chart; toggle on/off depending on if you're backtesting or reading live price action.
•Table Display: applies to ST/MT/LT pivot highs and to HTF CHoCHs; Toggle table on or off (in part or in full)
////••Credits:
•Credit to ICT (Inner Circle Trader) for some of the concepts used in this indicator (FVGS & CEs; Grade sweeps).
•Credit to @Icecold_crypto for the specific and novel concept of identifying CHoCHs in a simple, objective and effective manner (as demonstrated in the 1st chart below).
 CHoCH demo page 1: shifting tweak; arrow diagrams to demonstrate how CHoCHs are defined: 
  
 CHoCH demo page 2: Simplified view; short lookback history; few CHoCHs, demo of 'latest' choch being extended into the future by 10 bars: 
  
 USAGE: Bitcoin Hourly using HTF daily CHoCHs: 
  
 USAGE-2: Cotton Futures (CT1!) 2hr. Painting a rather bullish picture. Above HTF UP CHoCH, Local CHoCHs show bullish order flow, Nice targets above (MTH/LTH + grade sweeps): 
  
 Full Demo; 5min chart; CHoCHs, Short term pivot highs/lows, grade sweeps, FVGs: 
   
 Full Demo, Eur/Usd 15m: STH, MTH, LTH grade sweeps, CHoCHs, Usage for finding bias (part A): 
  
 Full Demo, Eur/Usd 15m: STH, MTH, LTH grade sweeps, CHoCHs, Usage for finding bias, 3hrs later (part B): 
  
 Realtime Vs Backtesting(A): btc/usd 15m; FVGs and CHoCHs: shrink on fill, once filled they repaint discreetly on their origin bar only. Realtime (Shrink on fill, declutter chart): 
  
 Realtime Vs Backtesting(B): btc/usd 15m; FVGs and CHoCHs: DON'T shrink on fill; they extend to the point where price crosses them, and fix/paint there. Backtesting (seeing historical behaviour): 
 
Nasdaq 100 ScreenerNasdaq 100 screener is comprehensive table displaying the following parameters :
Op		= 		Open Price of the Day.
LaP		=		Last Price.
O-L		=		Open Price of the Day - Last Price.
ROC		=		Rate of Change .
SMA20	=		Simple Moving Average 20 period.
S20d		=  		Last Price - SMA 20.
SMA50	= 		Simple Moving Average 50 period.
S50d		=  		Last Price - SMA 50.
SMA200	=		Simple Moving Average 200 period.
S200d	=  		Last Price - SMA 200.
ADX(14)	=		Average Directional Index.
RSI(14)	=		Relative Strength Index.
CCI(20)	=		Commodity Channel Index.
ATR(14)	=		Average True Range.
MOM(10)	=		Momentum.
AcDis(K)	=		Accumulation/Distribution.
CMF(20)	=		Chaikin Money Flow.
MACD	=		Moving Average Convergence Divergence.
Sig		=		MACD signal.
Nasdaq 100 stocks are divided into following alphabetical grouping for input access purpose  under “Options” in “Settings”  menu.
A to B 	21    stocks “Input symbols” are listed under the “Options” in		“Input A to B”
C to E	18    stocks “Input symbols” are listed under the head “Options” in	“Input C to E”
F to L	19    stocks “Input symbols” are listed under the head  “Options” in	“Input F to L”
M to P	22    stocks “Input symbols” are listed under the head  “Options” in	“Input M to P”
R to Z 	20    stocks “Input symbols” are listed under the head “Options” in	“Input R to Z”
A to Z	100  stocks “Input symbols” are listed under the head “Options” in	“Input A to Z”
User after visiting the “Settings” menu simply is required to select the “input symbol” from the stock listed under respective alphabetical Input lists to which the particular stock belongs. The resultant data is tabulated under respective row in Table .At a time User can see 5 different stocks i.e one each in  different alphabetical lists in respective alphabetical order rows stated in the Table. User can scroll in  each list to access and shift to any other stock in the list. In addition a Master list of all 100 stocks is  given under “ Input A to Z “ at the last row of table.
Nasdaq 100 screener is a simple table , which facilitate to view 6 different stocks at a time (inclusive one from Master list of “Input A to Z”  with a display of   19  parameters. 
 
Zendog V2 backtest DCA bot 3commasHi everyone,
After a few iterations and additional implemented features this version of the Backtester is now open source.
The Strategy is a Backtester for 3commas DCA bots. The main usage scenario is to plugin your external indicator, and backtest it using different DCA settings.
Before using this script please make sure you read these explanations and make sure you understand how it works.
Features:
- Because of Tradingview limitations on how orders are grouped into Trades, this Strategy statistics are calculated by the script, so please ignore the Strategy Tester statistics completely
Statistics Table explained:
    - Status: either all deals are closed or there is a deal still running, in which case additional info
    is provided below, as when the deal started, current PnL, current SO
    - Finished deals: Total number of closed deals both Winning and Losing.
    A deal is comprised as the Base Order (BO) + all Safety Orders (SO) related to that deal, so this number
    will be different than the Strategy Tester List of Trades
    - Winning Deals: Deal ended in profit
    - Losing deals: Deals ended with loss due to Stop Loss. In the future I might add a Deal Stop condition to
    the script, so that will count towards this number as well.
    - Total days ( Max / Avg days in Deal ):
    Total Days in the Backtest given by either Tradingview limitation on the number of candles or by the
    config of the script regarding "Limit Date Range".
    Max Days spent in a deal + which period this happened.
    Avg days spent in a deal.
    - Required capital: This is the total capital required to run the Backtester and it is automatically calculated by
    the script taking into consideration BO size, SO size, SO volume scale. This should be the same as 3commas.
    This number overwrites strategy.initial_capital and is used to calculate Profit and other stats, so you don't need
    to update strategy.initial_capital every time you change BO/SO settings
    - Profit after commission
    - Buy and Hold return: The PnL that could have been obtained by buying at the close of the first candle of the
    backtester and selling at the last.
    - Covered deviation: The % of price move from initial BO order covered by SO settings
    - Max Deviation: Biggest market % price move vs BO price, in the other direction (for long
    is down, for short it is up)
    - Max Drawdown: Biggest market % price move vs Avg price of the whole Trade (BO + any SO), in the other
    direction (for long price goes down, for short it goes up)
    This is calculated for the whole Trade so it is different than List of Trades
    - Max / Avg bars in deal
    - Total volume / Commission calculated by the strategy. For correct commission please set Commission in the
    Inputs Tab and you may ignore Properties Tab
    - Close stats for deals: This is a list of how many Trades were closed at each step, including Stop Loss (if
    configured), together with covered deviation for that step, the number of deals, and the percentage of this
    number from all the deals
    TODO: Might add deal avg value for each step
- Settings Table that can be enabled / disabled just to have an overview of your configs on the chart, this is a
drawn on bottom left
- Steps Table similar to 3commas, this is also drawn on bottom left, so please disable Settings table if you want
to see this one
TODO: Might add extra stats here
- Deal start condition: built in RSI-7 or plugin any external indicator and compare with any value the indicator plots
(main purpose of this strategy is to connect your own studies, so using external indicator is recommended)
- Base order and safety orders configs similar to 3commas (order size, percent deviation, safety orders,
percent scale and volume scale)
- Long and Short
- Stop Loss
- Support for Take profit from base order or from Total volume of the deal
- Configs help (besides self explanatory):
    - Chart theme: Adjust according to the theme you run on. There is no way to detect theme at the moment.
    This adjust different colors
    - Deal Start Type: Either a builtin RSI7 or "External indicator"
    - Indicator Source an value: If using External Indicator then select source, comparison and value.
    For example you could start a deal when Volume is greater than xxxx, or code a custom indicator that plots
    different values based on your conditions and test those values
    - Visuals / Decimals for display: Adjust according to your symbol
    - BO Entry Price for steps table: This is the BO start deal price used to calculate the steps in the table
Custom Bollinger Band Squeeze Screener [Pineify]Custom Bollinger Band Squeeze Screener 
 Key Features 
 
 Multi-symbol scanning: Analyze up to 6 tickers simultaneously.
 Multi-timeframe flexibility: Screen across four selectable timeframes for each symbol.
 Bollinger Band Squeeze algorithm: Detect volatility contraction and imminent breakouts.
 Advanced ATR integration: Measure expansion and squeeze states with custom multipliers.
 Customizable indicator parameters: Fine-tune Bollinger and ATR settings for tailored detection.
 Visual table interface: Rapidly compare squeeze and expansion signals across all instruments.
 
 How It Works 
 At the core, this screener leverages a unique blend of Bollinger Bands and Average True Range (ATR) to quantify volatility states for multiple assets and timeframes at once. For each symbol and every selected timeframe, the indicator calculates Bollinger Band width and compares it against ATR levels, offering real-time squeeze (consolidation) and expansion (breakout) signals. 
 
 Bollinger Band width is computed using standard deviations around a SMA basis.
 ATR is calculated to gauge market volatility independent of price direction.
 Squeeze: Triggered when BB width contracts below a multiple of ATR, forecasting lower volatility and set-up for a move.
 Expansion: Triggered when BB width expands above a higher ATR multiple, signaling a high-volatility breakout.
 Display: Results shown in an intuitive table, marking each status per ticker and TF.
 
 Trading Ideas and Insights 
 
 Spot assets poised for volatility-driven breakouts.
 Compare squeeze presence across timeframes for optimal entry timing.
 Integrate screener results with price action or volume for high-confidence setups.
 Use squeeze signals to avoid choppy or non-trending conditions.
 Expand and diversify watchlists with multi-symbol coverage.
 
 How Multiple Indicators Work Together 
This script seamlessly merges Bollinger Bands and ATR with customized multipliers:
 
 Bollinger Bands identify price consolidation and volatility squeeze zones.
 ATR tailors the definition of squeeze and expansion, making signals adaptive to volatility regime changes.
 By layering these with multi-symbol/multi-timeframe data, traders access a high-precision view of market readiness for trend acceleration or reversal.
 The real synergy is in the screener's ability to visualize volatility states for a diverse asset selection, transforming traditional single-chart analysis into a broad market view.
 
 Unique Aspects 
 
 Original implementation: Not a simple trend or scalping indicator; utilizes advanced volatility logic.
 Fully multi-symbol and multi-timeframe support uncommon in most screeners.
 Custom ATR multipliers for both squeeze and expansion allow traders to match their risk profile and market dynamics.
 Visual clarity: Table structure promotes actionable insights and reduces decision fatigue.
 
 How to Use 
 
 Add the indicator to your TradingView chart (supports any asset class including crypto, forex, stocks).
 Select up to six symbols (tickers) and set your preferred timeframes.
 Adjust Bollinger Band Length/Deviation and ATR multipliers to refine squeeze/expansion criteria.
 Review the screener table: Look for "SQZ" (squeeze) or "EXP" (expansion) cells for entry/exit ideas.
 Combine screener information with other technical or fundamental signals for trade confirmation.
 
 Customization 
 
 Symbols: Choose any tickers for scanning.
 Timeframes: Select short- to long-term intervals to match your trading style.
 Bollinger Band parameters: Modify length and deviation for sensitivity.
 ATR multipliers: Set low or high values to adjust squeeze/expansion triggers.
 Table size and layout: Adapt display for optimal workflow.
 
 Conclusion 
The Bollinger Band Squeeze Screener Pineify delivers an innovative, SEO-friendly multi-asset solution for volatility and trend detection. Harness its original algorithmic design to uncover powerful breakout opportunities and optimize your portfolio. Whether you trade crypto with dynamic volatility or scan stocks for momentum, this tool supercharges your TradingView workflow.
RSI Divergence Screener [Pineify]RSI Divergence Screener  
 Key Features 
 
 Multi-symbol and multi-timeframe support for advanced market screening.
 Real-time detection and visualization of bullish and bearish RSI divergences.
 Seamless integration with core technical indicators and custom divergences.
 Highly customizable parameters for precise adaptation to personal trading strategies.
 Comprehensive screener table for swift asset comparison and analysis.
 
 How It Works 
 The RSI Divergence Screener leverages the power of Relative Strength Index (RSI) to systematically track momentum shifts across cryptocurrencies and their respective timeframes. By monitoring both fast and slow RSI calculations, the screener isolates divergence signals—key reversal points that often precede major price moves. 
 
 The indicator calculates two RSI values for each selected asset: one with a short lookback (Fast RSI) and another with a longer period (Slow RSI).
 It runs a comparative algorithm to find divergences—whenever Fast RSI deviates significantly from Slow RSI, it flags the signal as bullish or bearish.
 All detected divergences are dynamically presented in a table view, allowing traders to scan symbols and timeframes for optimal trading setups.
 
 Trading Ideas and Insights 
 
 Spot early momentum reversals and preempt major price swings via divergence signals.
 Combine multiple symbols and timeframes for cross-market trending opportunities.
 Identify high-probability scalping and swing trading setups informed by RSI divergence logic.
 Quickly compare crypto asset strength and trend exhaustion across short and long-term horizons.
 
 How Multiple Indicators Work Together 
 This screener’s edge lies in its synergistic use of multi-setting RSI calculations and customizable input groups. 
 
 The dual-RSI approach (Fast vs. Slow) isolates subtle trend shifts missed by traditional single-period RSI.
 Safe and reliable divergences arise only when the mathematical difference between Fast RSI and Slow RSI meets predefined thresholds, minimizing false positives.
 Divergences are contextualized using tailored color codes and backgrounds, rendering insights immediately actionable.
 You can expand analysis with additional moving average filters or overlays for further confirmation.
 
 Unique Aspects 
 
 First-of-its-kind screener dedicated solely to RSI divergence, designed especially for crypto volatility.
 Efficient screening of up to eight assets and multiple timeframes in one compact dashboard.
 Intuitive iconography, color logic, and table layouts optimized for rapid decision-making.
 Advanced input group design for fine-tuning indicator settings per symbol, timeframe, and source.
 
 How to Use 
 
 Select up to eight cryptocurrency symbols to screen for divergence signals.
 Assign individual timeframes and source prices for each asset to customize analysis.
 Set Fast RSI and Slow RSI lengths according to your preferred strategy (e.g., scalping, swing, or trend following).
 Review the screener table: colored cells highlight actionable bullish (green) and bearish (red) divergences.
 Confirm trade setups with additional indicators or price action for robust risk management.
 
 Customization 
 
 Symbols: Choose any crypto pair or ticker for dynamic divergence tracking.
 Timeframes: Scan across 1m, 5m, 10m, 30m, and more for full market coverage.
 RSI lengths: Configure Fast and Slow RSI periods based on volatility and trading style.
 Visuals: Tailor table colors, fonts, and alert backgrounds per your preference.
 
 Conclusion 
 The RSI Divergence Screener is a versatile, original TradingView indicator that empowers traders to scan, compare, and act on divergence signals with speed and precision. Its multi-symbol design, robust logic, and extensive customization options set a new standard for market screening tools. Integrate it into your crypto trading process to capture actionable opportunities ahead of the crowd and optimize your technical analysis workflow. 
Seasonality Heatmap [QuantAlgo]🟢 Overview 
The  Seasonality Heatmap  analyzes years of historical data to reveal which months and weekdays have consistently produced gains or losses, displaying results through color-coded tables with statistical metrics like consistency scores (1-10 rating) and positive occurrence rates. By calculating average returns for each calendar month and day-of-week combination, it identifies recognizable seasonal patterns (such as which months or weekdays tend to rally versus decline) and synthesizes this into actionable buy low/sell high timing possibilities for strategic entries and exits. This helps traders and investors spot high-probability seasonal windows where assets have historically shown strength or weakness, enabling them to align positions with recurring bull and bear market patterns.
  
 🟢 How It Works 
 1. Monthly Heatmap 
  
 How % Return is Calculated: 
 
 The indicator fetches monthly closing prices (or Open/High/Low based on user selection) and calculates the percentage change from the previous month:
 (Current Month Price - Previous Month Price) / Previous Month Price × 100 
 Each cell in the heatmap represents one month's return in a specific year, creating a multi-year historical view
 Colors indicate performance intensity: greener/brighter shades for higher positive returns, redder/brighter shades for larger negative returns
 
 What Averages Mean: 
  
 
 The "Avg %" row displays the arithmetic mean of all historical returns for each calendar month (e.g., averaging all Januaries together, all Februaries together, etc.)
 This metric identifies historically recurring patterns by showing which months have tended to rise or fall on average
 Positive averages indicate months that have typically trended upward; negative averages indicate historically weaker months
 Example: If April shows +18.56% average, it means April has averaged a 18.56% gain across all years analyzed
 
 What Months Up % Mean: 
  
 
 Shows the percentage of historical occurrences where that month had a positive return (closed higher than the previous month)
 Calculated as:
 (Number of Months with Positive Returns / Total Months) × 100 
 Values above 50% indicate the month has been positive more often than negative; below 50% indicates more frequent negative months
 Example: If October shows "64%", then 64% of all historical Octobers had positive returns
 
 What Consistency Score Means: 
  
 
 A 1-10 rating that measures how predictable and stable a month's returns have been
 Calculated using the coefficient of variation (standard deviation / mean) - lower variation = higher consistency
 High scores (8-10, green): The month has shown relatively stable behavior with similar outcomes year-to-year
 Medium scores (5-7, gray): Moderate consistency with some variability
 Low scores (1-4, red): High variability with unpredictable behavior across different years
 Example: A consistency score of 8/10 indicates the month has exhibited recognizable patterns with relatively low deviation
 
 What Best Means: 
  
 
 Shows the highest percentage return achieved for that specific month, along with the year it occurred
 Reveals the maximum observed upside and identifies outlier years with exceptional performance
 Useful for understanding the range of possible outcomes beyond the average
 Example: "Best: 2016: +131.90%" means the strongest January in the dataset was in 2016 with an 131.90% gain
 
 What Worst Means: 
  
 
 Shows the most negative percentage return for that specific month, along with the year it occurred
 Reveals maximum observed downside and helps understand the range of historical outcomes
 Important for risk assessment even in months with positive averages
 Example: "Worst: 2022: -26.86%" means the weakest January in the dataset was in 2022 with a 26.86% loss
 
 2. Day-of-Week Heatmap 
  
 How % Return is Calculated: 
 
 Calculates the percentage change from the previous day's close to the current day's price (based on user's price source selection)
 Returns are aggregated by day of the week within each calendar month (e.g., all Mondays in January, all Tuesdays in January, etc.)
 Each cell shows the average performance for that specific day-month combination across all historical data
 Formula:
 (Current Day Price - Previous Day Close) / Previous Day Close × 100 
 
 What Averages Mean: 
  
 
 The "Avg %" row at the bottom aggregates all months together to show the overall average return for each weekday
 Identifies broad weekly patterns across the entire dataset
 Calculated by summing all daily returns for that weekday across all months and dividing by total observations
 Example: If Monday shows +0.04%, Mondays have averaged a 0.04% change across all months in the dataset
 
 What Days Up % Mean: 
  
 
 Shows the percentage of historical occurrences where that weekday had a positive return
 Calculated as:
 (Number of Positive Days / Total Days Observed) × 100 
 Values above 50% indicate the day has been positive more often than negative; below 50% indicates more frequent negative days
 Example: If Fridays show "54%", then 54% of all Fridays in the dataset had positive returns
 
 What Consistency Score Means: 
  
 
 A 1-10 rating measuring how stable that weekday's performance has been across different months
 Based on the coefficient of variation of daily returns for that weekday across all 12 months
 High scores (8-10, green): The weekday has shown relatively consistent behavior month-to-month
 Medium scores (5-7, gray): Moderate consistency with some month-to-month variation
 Low scores (1-4, red): High variability across months, with behavior differing significantly by calendar month
 Example: A consistency score of 7/10 for Wednesdays means they have performed with moderate consistency throughout the year
 
 What Best Means: 
  
 
 Shows which calendar month had the strongest average performance for that specific weekday
 Identifies favorable day-month combinations based on historical data
 Format shows the month abbreviation and the average return achieved
 Example: "Best: Oct: +0.20%" means Mondays averaged +0.20% during October months in the dataset
 
 What Worst Means: 
  
 
 Shows which calendar month had the weakest average performance for that specific weekday
 Identifies historically challenging day-month combinations
 Useful for understanding which month-weekday pairings have shown weaker performance
 Example: "Worst: Sep: -0.35%" means Tuesdays averaged -0.35% during September months in the dataset
 
 3. Optimal Timing Table/Summary Table 
  
 → Best Month to BUY:  Identifies the month with the lowest average return (most negative or least positive historically), representing periods where prices have historically been relatively lower
 
 Based on the observation that buying during historically weaker months may position for subsequent recovery
 Shows the month name, its average return, and color-coded performance
 Example: If May shows -0.86% as "Best Month to BUY", it means May has historically averaged -0.86% in the analyzed period
 
 → Best Month to SELL:  Identifies the month with the highest average return (most positive historically), representing periods where prices have historically been relatively higher
 
 Based on historical strength patterns in that month
 Example: If July shows +1.42% as "Best Month to SELL", it means July has historically averaged +1.42% gains
 
 → 2nd Best Month to BUY:  The second-lowest performing month based on average returns
 
 Provides an alternative timing option based on historical patterns
 Offers flexibility for staged entries or when the primary month doesn't align with strategy
 Example: Identifies the next-most favorable historical buying period
 
 → 2nd Best Month to SELL:  The second-highest performing month based on average returns
 
 Provides an alternative exit timing based on historical data
 Useful for staged profit-taking or multiple exit opportunities
 Identifies the secondary historical strength period
 
 Note:  The same logic applies to "Best Day to BUY/SELL" and "2nd Best Day to BUY/SELL" rows, which identify weekdays based on average daily performance across all months. Days with lowest averages are marked as buying opportunities (historically weaker days), while days with highest averages are marked for selling (historically stronger days).
 🟢 Examples 
 
 Example 1:  NVIDIA  NASDAQ:NVDA  - Strong May Pattern with High Consistency
 
  
Analyzing NVIDIA from 2015 onwards, the Monthly Heatmap reveals May averaging +15.84% with 82% of months being positive and a consistency score of 8/10 (green). December shows -1.69% average with only 40% of months positive and a low 1/10 consistency score (red). The Optimal Timing table identifies December as "Best Month to BUY" and May as "Best Month to SELL." A trader recognizes this high-probability May strength pattern and considers entering positions in late December when prices have historically been weaker, then taking profits in May when the seasonal tailwind typically peaks. The high consistency score in May (8/10) provides additional confidence that this pattern has been relatively stable year-over-year.
 
 Example 2:  Crypto Market Cap  CRYPTOCAP:TOTALES  - October Rally Pattern
 
  
An investor examining total crypto market capitalization notices September averaging -2.42% with 45% of months positive and 5/10 consistency, while October shows a dramatic shift with +16.69% average, 90% of months positive, and an exceptional 9/10 consistency score (blue). The Day-of-Week heatmap reveals Mondays averaging +0.40% with 54% positive days and 9/10 consistency (blue), while Thursdays show only +0.08% with 1/10 consistency (yellow). The investor uses this multi-layered analysis to develop a strategy: enter crypto positions on Thursdays during late September (combining the historically weak month with the less consistent weekday), then hold through October's historically strong period, considering exits on Mondays when intraweek strength has been most consistent.
 
 Example 3:  Solana  BINANCE:SOLUSDT  - Extreme January Seasonality
 
  
A cryptocurrency trader analyzing Solana observes an extraordinary January pattern: +59.57% average return with 60% of months positive and 8/10 consistency (teal), while May shows -9.75% average with only 33% of months positive and 6/10 consistency. August also displays strength at +59.50% average with 7/10 consistency. The Optimal Timing table confirms May as "Best Month to BUY" and January as "Best Month to SELL." The Day-of-Week data shows Sundays averaging +0.77% with 8/10 consistency (teal). The trader develops a seasonal rotation strategy: accumulate SOL positions during May weakness, hold through the historically strong January period (which has shown this extreme pattern with reasonable consistency), and specifically target Sunday exits when the weekday data shows the most recognizable strength pattern.
VWMA True Range | Lyro RSVWMA True Range | Lyro RS 
This script is a hybrid technical analysis tool designed to identify trends and spot potential reversals. It employs a consensus-based system that uses multiple smoothed, Volume-Weighted Moving Averages (VWMA) to generate both trend-following and counter-trend signals.
 Understanding the Indicator's Components 
The indicator plots a main line on a separate pane and provides visual alerts directly on the chart.
The Main Line: This line represents a smoothed average of momentum scores derived from multiple VWMAs. Its direction and value are the foundation of the analysis.
  
 Signal Generation:  The tool provides two distinct types of signals:
Trend Signals: These trend-following signals ("⬆️Long" / "⬇️Short") activate when the indicator's consensus reaches a pre-set strength threshold, indicating sustained momentum in one direction.
Reversal Signals: These counter-trend alerts ("📈Oversold" / "📉Overbought") trigger when the main line breaks a previous period's level, hinting at exhaustion and a potential short-term reversal.
  
 Visual Alerts: 
Colored Background: The indicator's background highlights during strong trend signals for added visual emphasis.
Chart Shapes: Small circles appear on the main chart to mark where potential reversals are detected.
Colored Candles: You can choose to color the price candles to reflect the current trend signal.
Information Table: A compact table provides an at-a-glance summary of all currently active signals.
  
 Suggested Use and Interpretation 
Here are a few ways to incorporate this indicator into your analysis:
Following the Trend: Use the "Long" or "Short" trend signals to align your trades with the prevailing market momentum.
Spotting Reversals: Watch for "Oversold" or "Overbought" reversal signals, often accompanied by chart shapes, to identify potential market turning points.
Combining Signals: Use the primary trend signal for context and look for reversal signals that may indicate a pullback within the larger trend, potentially offering favorable entry points.
 Customization Options: 
You can tailor the indicator's behavior and appearance through several settings:
Core Settings: Adjust the Calculation Period and Smooth Length to make the main line more or less responsive to price movements.
Signal Thresholds: Fine-tune the Long threshold and Short threshold to control how easily trend signals are triggered.
Visual Settings: Toggle various visual elements like the indicator band, candle coloring, and the information table on or off.
Table Settings: Customize where the information table appears and its size to suit your chart layout.
 ⚠️Disclaimer
This indicator is a tool for technical analysis and does not guarantee future results. It should be used as part of a comprehensive trading strategy that includes other analysis techniques and strict risk management. The creators are not responsible for any financial decisions made based on its signals.
Market Structure ICT Screener [TradingFinder] BoS ChoCh🔵 Introduction 
Market Structure is the foundation of every Smart Money and ICT based trading model. It describes how price moves through a sequence of highs and lows, forming clear phases of expansion, retracement and reversal. Understanding this structure allows traders to read institutional order flow and align their positions with the true direction of liquidity.
Two of the most critical components in Market Structure are the Break of Structure (BOS) and Change of Character (CHOCH). A BOS represents trend continuation, confirming strength within the current direction. In contrast, CHOCH also known as a Market Structure Shift (MSS) signals the first sign of a trend reversal or liquidity shift where order flow begins to change from bullish to bearish or vice versa.
Because the market is fractal, structure can exist at multiple levels known as Major (External) and Minor (Internal). Major structure defines the overall trend on higher timeframes while minor or internal structure reveals short term swings and early reversals within that larger move. 
  
🔵 How to Use 
Understanding Market Structure starts with identifying how price interacts with previous swing highs and swing lows. Every trend in the market, whether bullish or bearish, is built from a sequence of impulsive and corrective moves. Impulsive legs show strong displacement in the direction of liquidity flow, while corrective legs represent temporary pullbacks as the market rebalances before the next expansion. Recognizing these sequences is essential for reading the story of price and anticipating what may happen next.
A Break of Structure (BOS) occurs when price decisively moves beyond a previous structural point by breaking above the last high in an uptrend or falling below the last low in a downtrend. This event confirms that the current trend remains intact and that liquidity has been successfully taken from one side of the market. A BOS acts as confirmation of continuation and reflects strength within the existing directional bias.
A Change of Character (CHOCH) appears when price violates structure in the opposite direction of the prevailing trend. This is the first signal that market sentiment and order flow may be shifting. For example, during a downtrend if price breaks above a previous high, it indicates that sellers are losing control and a potential bullish reversal may be developing. In an uptrend, when price drops below a recent low, it suggests a possible bearish transition.
  
Because the market is fractal, structure exists across multiple layers. Major structure reflects the dominant movement visible on higher timeframes and defines the broader directional bias. Minor or internal structure represents smaller swings within that move and helps identify early transitions before they appear on the higher timeframe. When internal and external structures align, they offer a high probability signal for trend continuation or reversal.
By observing BOS and CHOCH across both internal and external structures, traders can clearly visualize when the market is expanding, contracting or preparing to shift direction. This structured understanding of price movement forms the foundation for precise trend analysis and high quality decision making in any Smart Money or ICT based trading approach.
  
🔵 Settings 
🟣 Display Settings 
 Table on Chart : Allows users to choose the position of the signal dashboard either directly on the chart or below it, depending on their layout preference.
  
  
 Number of Symbols : Enables users to control how many symbols are displayed in the screener table, from 10 to 20, adjustable in increments of 2 symbols for flexible screening depth.
 Table Mode : This setting offers two layout styles for the signal table :
 
 Basic : Mode displays symbols in a single column, using more vertical space.
 Extended : Mode arranges symbols in pairs side-by-side, optimizing screen space with a more compact view.
 
  
  
 Table Size : Lets you adjust the table’s visual size with options such as: auto, tiny, small, normal, large, huge.
 Table Position : Sets the screen location of the table. Choose from 9 possible positions, combining vertical (top, middle, bottom) and horizontal (left, center, right) alignments.
🟣 Symbol Settings 
 Each of the 20 symbol slots comes with a full set of customizable parameters :
 
 Symbol : Define or select the asset (e.g., XAUUSD, BTCUSD, EURUSD, etc.).
 Timeframe : Set your desired timeframe for each symbol (e.g., 15, 60, 240, 1D).
 Pivot Period : Set the length used to detect swing highs and lows. Shorter values increase sensitivity, longer ones focus on major structures.
 
🔵 Conclusion 
Mastering Market Structure and understanding the relationship between BOS and CHOCH allows traders to see the market with greater clarity and confidence. These two elements reveal how liquidity moves through different phases of expansion and retracement and how institutional order flow shifts between accumulation and distribution.
By analyzing both internal and external structures, traders can align short term and long term perspectives and anticipate where price is most likely to react. The ability to read these structural shifts helps identify continuation points, reversals and areas where liquidity is engineered or collected.
Incorporating Market Structure into a consistent trading process transforms the way a trader views the chart. Instead of reacting to random movements, each swing, break and shift becomes part of a logical framework that reflects the true behavior of the market. Understanding BOS and CHOCH is not just a concept but a complete language of price that guides every professional decision in Smart Money and ICT based trading.
RenKagi Fusion: Aura & SMA Clash IndicatorRenKagi Fusion: Aura & SMA Clash Indicator
Welcome to the RenKagi Fusion Indicator – a powerful, customizable tool that blends the strengths of Renko and Kagi charts to provide noise-filtered trend insights, enhanced with visual Aura effects and SMA (Simple Moving Average) crossover signals. Designed for traders seeking a unique edge in trend detection and reversal identification, this indicator combines traditional charting techniques with modern visualizations to help you navigate markets more effectively. Whether you're trading stocks, forex, or crypto, RenKagi Fusion offers a clean, actionable overview of market dynamics.
Key Features
RenKagi Line (Weighted Fusion of Renko and Kagi): The core of the indicator is the RenKagi line, a weighted average of Renko (brick-based trend filtering) and Kagi (reversal-focused line charts). Users can adjust the weight (default: 60% Renko, 40% Kagi) to prioritize stability or sensitivity. This fusion reduces market noise while highlighting key price movements.
Trend Scoring System: Calculates strength scores for Renko, Kagi, and RenKagi (capped at 20 points, converted to percentages). Scores increase with trend continuation and reset on reversals, giving a quantitative measure of momentum.
Aura Effects (Optional): Visual "glow" around lines based on score percentage – higher scores mean more opaque and thicker auras, adding a dynamic layer to trend visualization.
SMA Clash (Crossover Detection): Monitors daily SMA50, SMA100, and SMA200 for golden/death crosses (SMA50 crossing above/below longer SMAs) and RenKagi-SMA crossovers. These are displayed in a persistent info table for quick reference.
Customizable Visuals: Toggle lines, boxes, shapes, auras, and labels. Background coloring based on selected source (Renko, Kagi, or RenKagi) for intuitive trend bias.
Info Table: A configurable table (position and colors adjustable) summarizing scores, directions, cross states, brick size (with type), Kagi reversal (with type), and weights. No clutter – all in one place.
Alert Conditions: Built-in alerts for direction changes (Renko, Kagi, RenKagi), SMA crossovers, and golden/death crosses – perfect for real-time notifications.
How It Works
Renko Logic: Builds bricks based on user-selected type (Traditional fixed size, ATR dynamic, or Percentage). Scores build as trends persist, resetting on reversals.
Kagi Logic: Line reverses on thresholds (Traditional, ATR, or Percentage), scoring continuous moves.
RenKagi Calculation: Weighted average: (renkoPrice * renkoWeight + kagiLine * (100 - renkoWeight)) / 100. Score is a blend of individual scores.
SMA Integration: Daily timeframe SMAs for reliable long-term signals. Crossovers trigger alerts and update table states persistently until reversed.
Advantages for Traders
Noise Reduction: By fusing Renko's block structure with Kagi's reversal focus, it filters out minor fluctuations, helping identify strong trends early.
Versatility: Fully customizable – adjust weights, types, and visuals to fit any market or timeframe. Ideal for swing trading, trend following, or scalping.
Visual Clarity: Aura and background coloring provide at-a-glance insights, while the table consolidates data without overwhelming the chart.
Actionable Signals: Golden/Death crosses and direction changes offer clear entry/exit points, backed by alerts for timely execution.
Performance Optimization: Limits on lines/labels/boxes (500 each) ensure smooth operation on large datasets.
Usage Tips
Start with default settings for balanced performance.
Use in higher timeframes for trend confirmation or lower for intraday signals.
Combine with your favorite strategies – e.g., buy on RenKagi upward cross with SMA50 and golden cross confirmation.
Test on historical data to optimize weights and thresholds.
Note: This indicator is for educational and informational purposes only. Past performance is not indicative of future results. Always conduct your own analysis and use risk management. No financial advice is provided.
If you find this useful, please like, comment, or share your feedback!






















