Market Crashes & Recessions (1907-Present)Included Recession Periods:
Panic of 1907 (1907–1908)
Post-WWI Recession (1918–1919)
Great Depression (1929–1933)
1937–1938 Recession
1953, 1957, & 1973 Oil Crises Recessions
Early 1980s Recession (1980–1982)
Early 1990s Recession (1990–1991)
Dot-com Bubble (2000–2002)
Global Financial Crisis (2007–2009)
COVID-19 Recession (2020)
2022 Market Correction
Multitimeframe
52W CP/H & H/L with percentage % differences52 Week High/Low Indicator with percentage difference between High/Low & High/Current Price
A simple indicator that can be used on any timeframe to display the 52 week High/Low values along with percentage differences (rounded) between High/Low & High/Current Price to get an idea of the strength in the instruments current price to it's 52 week journey.
Features
* Works on any timeframe.
* Simple horizontal lines showing only the current 52 week values.
* Allows the user to select whether to calculate the 52-week values from candle close values or the respective highs/lows.
* Allows users to toggle percentages label on/off
This script is open source for users to refine as per their needs. Additionally I would appreciate any constructive feedback. Thank you
VWAP Balance Zones - SessionsVWAP Balance Zones Sessions Version is an alternate take on the Original VWAP Balance Zones indicator. The Sessions version allows users to select a specific session to view the VWAP Balance Zones at while still utilizing the full ETH Data.
The Session version provides a better focused display while still maintaining the core functions of the original script with mindful optimizations.
Author's Note: "VBZ Sessions was made with logistics in mind, for the users who only trade within certain times of the day. While it displays the same core concepts, it is not as "Raw" of a display as the Original. For this reason, some users may prefer the Original VWAP Balance Zones, which is why I have opted to release this alternate version instead of updating the original."
> What are VWAP Balance Zones?
"VWAP Balance Zones" is an original concept aimed at identifying the equilibrium area between market participants within the current trend by averaging the Daily Extremes and the Daily VWAP.
Refer to the illustration below for a better understanding of exactly how VWAP Balance Zones are formed:
These zones are displayed for the Daily, Weekly, and Monthly VWAPs, with the most interactive timeframe being the Daily.
> Features
1. The Session Version uses ETH data at all times, and does not solely rely on the chart's data to create the VWAPs or Zones.
This allows the user to focus on a specific trading session, while not losing out on the full VBZ Calculation, with the notable benefit of a cleaner display.
The Original VBZ starts drawing at the beginning of the chart's "Day", and would produce different results when using an RTH chart vs an ETH chart. Along with creating a bird's nest of unusable data at the beginning of the day.
2. Session Start and End lines are displayed for easier identification of the designated trading session.
3. The extreme "Close" Lines are no longer displayed to reduce noise and redundancy.
4. Additionally, the interior VWAP lines are no longer displayed. Ultimately, this was to reduce noise and focus the script on the 50% zones.
5. Weekly and Monthly Zones are now displayed due to the reduced noise!
6. As with the original, the weekly display will yield to the daily, and the monthly display will yield to the weekly.
In the screenshot below, you can observe this behavior.
Enjoy!
Opening Lines (M15, H1 & H4) with Wickless Candle DetectorTailored for day traders, this technical analysis indicator serves as a multi-timeframe opening price visualization tool, displaying real-time and historical opening price levels across three distinct time intervals to enhance pattern identification and strategic decision-making. Additionally, the tool incorporates a ‘Wickless Candle Detector’ feature, which annotates candles that open without upper or lower wicks. Empirical observations suggest these wickless candles often act as future price magnets, particularly in index futures such as the Nasdaq and S&P500, making them critical reference points for market analysis.
Key Features:
1) Multi-Timeframe Opening Price Visualization:
◦ Plots horizontal reference lines for opening prices across:
✓ 15-minute (M15)
✓ 1-hour (H1)
✓ 4-hour (H4) timeframes
◦ Lines dynamically extend throughout their respective periods or can be configured to a fixed bar offset
2) Wickless Candle Detection:
◦ Automatically marks wickless candles with a discrete symbol at their opening price level
◦ Symbols are removed upon either:
✓ Price breaching the opening level by ≥1 tick
✓ A 24-hour expiration period (whichever occurs first)
3) Customization and Flexibility:
◦ Toggle visibility for individual timeframes, historical opening lines, and the Wickless Candle Detector
◦ Full customization of visual elements (colors, line styles, symbols) to align with user preferences or trading platform themes
HTF Trend Tracker [BigBeluga]HTF Trend Tracker is a higher timeframe (HTF) trend tracking indicator designed to help traders identify significant trends, key levels, and market sentiment. The indicator dynamically adapts to the current price action, using HTF highs and lows to display trend direction and strength with detailed visuals.
🔵 Key Features:
Dynamic Trend Detection:
Uptrend is identified when the price closes above the HTF high.
Downtrend is detected when the price closes below the HTF low.
Midline changes color dynamically based on the trend direction:
Bullish Green: Indicates an uptrend.
Bearish Red: Indicates a downtrend.
Historical and Active HTF Levels:
Historic HTF highs and lows are displayed as dotted lines.
Current active HTF high and low levels are shown as solid lines.
Timeframe labels (e.g., "1D High" or "1D Low") mark the active levels for clarity.
Trend Change Signals:
A green checkmark (✓) is plotted when an uptrend starts.
A red cross (✕) appears when a downtrend begins.
Trend-Based Candle Coloring:
Candle colors change dynamically based on the trend and the price's distance from the midline:
Intense Bullish Green: Price is far above the midline during an uptrend.
Intense Bearish Red: Price is far below the midline during a downtrend.
Neutral Gray: Price is near the midline.
Users can customize the colors to suit their preferences.
🔵 Usage:
Identify uptrends and downtrends using the midline's color and the position of the close relative to the HTF levels.
Use solid lines and timeframe labels to track current HTF high and low levels.
Observe dotted lines for historical HTF levels to understand past price behavior.
Watch for checkmark (✓) and cross (✕) signals to spot trend changes and key market shifts.
Monitor candle colors to gauge trend intensity and proximity to the midline:
Intense colors signal strong trends, while neutral gray indicates consolidation near the midline.
HTF Trend Tracker is an essential tool for traders aiming to follow higher timeframe trends, identify key levels, and make data-driven decisions based on price dynamics and trend strength. Its customizable features allow for flexible integration into any trading strategy.
OrangeCandle 4EMA 55 + Fib Bands + SignalsThe script is a TradingView indicator that combines three popular technical analysis tools: Exponential Moving Averages (EMAs), Fibonacci bands, and buy/sell signals based on these indicators. Here’s a breakdown of its features:
1. EMA Settings and Calculation:
The script calculates and plots several Exponential Moving Averages (EMAs) on the chart with different lengths:
Short-term EMAs: EMA 9, EMA 13, EMA 21, and EMA 55 (used for tracking short-term price trends).
Long-term EMAs: EMA 100 and EMA 200 (used to analyze longer-term trends).
These EMAs are plotted with different colors to visually distinguish between the short-term and long-term trends.
2. Fibonacci Bands:
The script calculates Fibonacci Bands based on the Average True Range (ATR) and a Simple Moving Average (SMA).
Fibonacci factors (1.618, 2.618, 4.236, 6.854, and 11.090) are used to determine the upper and lower bounds of five Fibonacci bands.
Upper Fibonacci Bands (e.g., fib1u, fib2u) represent resistance levels.
Lower Fibonacci Bands (e.g., fib1l, fib2l) represent support levels.
These bands are plotted with different colors for each level, helping traders identify potential price reversal zones.
3. Buy and Sell Signals:
Long Condition: A buy signal occurs when the price crosses above the EMA 55 (long-term trend indicator) and is above the lower Fibonacci band (support zone).
Short Condition: A sell signal occurs when the price crosses below the EMA 55 and is below the upper Fibonacci band (resistance zone).
These conditions trigger visual signals on the chart (green arrow for long, red arrow for short).
4. Alerts:
The script includes alert conditions to notify the trader when a long or short signal is triggered based on the crossover of price and EMA 55 near the Fibonacci support or resistance levels.
Long Entry Alert: Triggers when the price crosses above the EMA 55 and is near a Fibonacci support level.
Short Entry Alert: Triggers when the price crosses below the EMA 55 and is near a Fibonacci resistance level.
5. Visualization:
EMAs are plotted with distinct colors:
EMA 9 is aqua,
EMA 13 is purple,
EMA 21 is orange,
EMA 55 is blue (with thicker line width for emphasis),
EMA 100 is gray,
EMA 200 is black.
Fibonacci bands are plotted with different colors for each level:
Fib Band 1 (upper and lower) in white,
Fib Band 2 in green (upper) and red (lower),
Fib Band 3 in green (upper) and red (lower),
Fib Band 4 in blue (upper) and orange (lower),
Fib Band 5 in purple (upper) and yellow (lower).
Summary:
This script provides a comprehensive strategy for analyzing the market with multiple EMAs for trend detection, Fibonacci bands for support/resistance, and signals based on price action in relation to these indicators. The combination of these tools can assist traders in making more informed decisions by providing potential entry and exit points on the chart.
Fibonacci-Only Strategy V2Fibonacci-Only Strategy V2
This strategy combines Fibonacci retracement levels with pattern recognition and statistical confirmation to identify high-probability trading opportunities across multiple timeframes.
Core Strategy Components:
Fibonacci Levels: Uses key Fibonacci retracement levels (19% and 82.56%) to identify potential reversal zones
Pattern Recognition: Analyzes recent price patterns to find similar historical formations
Statistical Confirmation: Incorporates statistical analysis to validate entry signals
Risk Management: Includes customizable stop loss (fixed or ATR-based) and trailing stop features
Entry Signals:
Long entries occur when price touches or breaks the 19% Fibonacci level with bullish confirmation
Short entries require Fibonacci level interaction, bearish confirmation, and statistical validation
All signals are visually displayed with color-coded markers and dashboard
Trading Method:
When a triangle signal appears, open a position on the next candle
Alternatively, after seeing a signal on a higher timeframe, you can switch to a lower timeframe to find a more precise entry point
Entry signals are clearly marked with visual indicators for easy identification
Risk Management Features:
Adjustable stop loss (percentage-based or ATR-based)
Optional trailing stops for protecting profits
Multiple take-profit levels for strategic position exit
Customization Options:
Timeframe selection (1m to Daily)
Pattern length and similarity threshold adjustment
Statistical period and weight configuration
Risk parameters including stop loss and trailing stop settings
This strategy is particularly well-suited for cryptocurrency markets due to their tendency to respect Fibonacci levels and technical patterns. Crypto's volatility is effectively managed through the customizable stop-loss and trailing-stop mechanisms, making it an ideal tool for traders in digital asset markets.
For optimal performance, this strategy works best on higher timeframes (30m, 1h and above) and is not recommended for low timeframe scalping. The Fibonacci pattern recognition requires sufficient price movement to generate reliable signals, which is more consistently available in medium to higher timeframes.
Users should avoid trading during sideways market conditions, as the strategy performs best during trending markets with clear directional movement. The statistical confirmation component helps filter out some sideways market signals, but it's recommended to manually avoid ranging markets for best results.
Multi-Timeframe Trend Table - DOTANMulti Timeframe Trend Signal table - Wizord_KS
"Multi-Timeframe Trend Table"
This Pine Script indicator displays a table on the TradingView chart that shows the trend direction (Bullish/Bearish) across multiple timeframes. The trend is determined using a Simple Moving Average (SMA).
🔹 Key Features of the Script
Calculates trend direction based on SMA for:
The current timeframe.
10 different user-defined timeframes.
Determines a "Main Signal" based on trend strength:
Counts the number of bullish and bearish trends across all timeframes.
Uses this count to generate an overall market sentiment (Bullish, Bearish, or Neutral).
The strength of the main signal determines its background transparency.
Displays a table in the top-right corner of the chart showing:
The main trend signal (aggregated from multiple timeframes).
The trend for the current timeframe.
The trend for each of the 10 selected timeframes.
MTF Fractals [RunRox]🔽 MTF Fractals is a powerful indicator designed to visualize fractals from multiple timeframes directly on your chart, highlight liquidity sweeps at these fractal levels, and provide several additional features we’ll cover in detail below.
We created this indicator because we couldn’t find a suitable tool that met our specific needs on TradingView. Therefore, we decided to develop a valuable indicator for the entire TradingView community, combining simplicity and versatility.
⁉️ WHAT IS A FRACTALS?
In trading, a fractal is a technical analysis pattern composed of five consecutive candles, typically highlighting local market turning points. Specifically, a fractal high is formed when a candle’s high is higher than the highs of the two candles on either side, whereas a fractal low occurs when a candle’s low is lower than the lows of the two adjacent candles on both sides.
Traders use fractals as reference points for identifying significant support and resistance levels, potential reversal areas, and liquidity zones within price action analysis. Below is a screenshot illustrating clearly formed fractals on the chart.
📙 FRACTAL FORMATION
Here’s how fractals form depending on your chosen setting (3, 5, 7, or 9):
▶️ 3-bar fractal – forms when the central candle is higher (for highs) or lower (for lows) than one candle on each side.
▶️ 5-bar fractal – forms when the central candle is higher or lower than two candles on both sides.
▶️ 7-bar fractal – forms when the central candle is higher or lower compared to the three candles on each side.
▶️ 9-bar fractal – forms similarly but requires four candles on each side, making the fractal significantly more reliable and robust.
A higher number of bars ensures stronger fractal levels, highlighting more significant potential reversal points on the chart.
Now that we’ve covered the theory behind fractal formation, let’s explore the indicator’s functionality in more detail.
Below, I’ll explain each feature clearly and illustrate how you can effectively utilize this indicator in your trading.
🕐 MULTI-TIMEFRAME FRACTALS
We realized that displaying fractals only from the current timeframe isn’t always convenient, so we’ve introduced Multi-Timeframe Fractals into this indicator.
Now you can easily display fractals from higher timeframes directly on your current chart, providing you with broader market context and clearer trading signals.
Fractals from Current Timeframe – Fractals identified directly on the chart’s current timeframe.
Fractals from Higher Timeframes – Fractals sourced from higher timeframes and displayed clearly on your current chart for enhanced market perspective.
📈 FRACTAL LINES
Since fractals represent areas of high liquidity, we’ve added an option to extend fractal levels horizontally as Fractal Lines across your chart.
This feature allows you to clearly visualize critical liquidity areas from higher timeframes, directly on your current timeframe chart, as demonstrated in the screenshot below.
With this approach, you can clearly visualize significant fractal levels from higher timeframes directly on your current chart - for example, projecting fractals from the 1-hour (1H) timeframe onto a 3-minute (3m) chart. ✅ This helps you easily identify critical liquidity areas and potential reversal zones without the need to switch between multiple timeframes.
💰 LIQUDITY SWEEP (LIQUDITY GRAB)
To enhance your trading experience, we’ve introduced a feature that clearly identifies liquidity sweeps of fractal levels.
A Liquidity Sweep occurs when a candle closes beyond a fractal line, leaving a wick that pierces through it, signaling that liquidity has been collected at this level.
Below, you’ll find two examples illustrating this functionality:
▶️ Fractal lines from the current timeframe
▶️ Fractal lines projected from higher timeframes
The first example illustrates liquidity being swept from fractals on the current timeframe .
Here, the candle clearly closes beyond the fractal line, leaving a wick through it. This indicates a liquidity sweep at the fractal level, visually highlighting a potential reversal or continuation opportunity directly on your chart.
In the second example, fractals from the higher timeframe are projected onto your current chart.
When a candle on your current timeframe closes beyond an HTF fractal line - leaving a wick through this level - the indicator highlights it clearly. This signals to traders a potential reversal zone, indicating that liquidity has been swept, and price may reverse or significantly react from this area.
You can also enable the display of additional labels on the chart. These labels clearly mark liquidity sweeps at fractal levels, making it easier to visually identify potential reversal points directly on your chart.
⚙️ SETTINGS
Below are the indicator settings with detailed explanations for each parameter.
🔷 Bars in Fractal – Number of candles to the right and left required to form a fractal.
🔷 Fractal Timeframe – Select the timeframe from which you want to display fractals on the current chart.
🔷 Max Age, bars – Number of bars during which the fractal will remain active.
🔷 Show Fractal Line – Display or hide fractal lines.
🔷 Line Style – Choose the style of the line displayed on the chart.
🔷 Line Width – Thickness of the fractal line.
🔷 High Fractal – Style and color of bearish fractals.
🔷 Low Fractal – Style and color of bullish fractals.
🔷 Fractal Label Size – Select the size of fractal labels.
🔷 Show Sweep Labels – Option to display labels when a liquidity sweep occurs.
🔷 Label Color – Color and transparency of the area marked on the chart during a sweep.
🔷 Shade Sweep Area – Show or hide the sweep area shading.
🔷 Area Color – Color and transparency settings for the sweep area.
🔶 We’d love to hear your feedback and any suggestions for additional features you’d like to see in this indicator. We’ll be happy to consider your ideas and continue improving the indicator!
Long-Only MTF EMA Cloud StrategyOverview:
The Long-Only EMA Cloud Strategy is a powerful trend-following strategy designed to help traders identify and capitalize on bullish market conditions. By utilizing an Exponential Moving Average (EMA) Cloud, this strategy provides clear and reliable signals for entering long positions when the market trend is favorable. The EMA cloud acts as a visual representation of the trend, making it easier for traders to make informed decisions. This strategy is ideal for traders who prefer to trade in the direction of the trend and focus exclusively on long positions.
Key Features:
EMA Cloud:
The strategy uses two EMAs (short and long) to create a dynamic cloud.
The cloud is bullish when the short EMA is above the long EMA, indicating a strong upward trend.
The cloud is bearish when the short EMA is below the long EMA, indicating a downward trend or consolidation.
Long Entry Signals:
A long position is opened when the EMA cloud turns bullish, which occurs when the short EMA crosses above the long EMA.
This crossover signals a potential shift in market sentiment from bearish to bullish, providing an opportunity to enter a long trade.
Adjustable Timeframe:
The EMA cloud can be calculated on the same timeframe as the chart or on a higher/lower timeframe for multi-timeframe analysis.
This flexibility allows traders to adapt the strategy to their preferred trading style and time horizon.
Risk Management:
The strategy includes adjustable stop loss and take profit levels to help traders manage risk and lock in profits.
Stop loss and take profit levels are calculated as a percentage of the entry price, ensuring consistency across different assets and market conditions.
Alerts:
Built-in alerts notify you when a long entry signal is generated, ensuring you never miss a trading opportunity.
Alerts can be customized to suit your preferences, providing real-time notifications for potential trades.
Visualization:
The EMA cloud is plotted on the chart, providing a clear visual representation of the trend.
Buy signals are marked with a green label below the price bar, making it easy to identify entry points.
How to Use:
Add the Script:
Add the script to your chart in TradingView.
Set EMA Lengths:
Adjust the Short EMA Length and Long EMA Length in the settings to suit your trading style.
For example, you might use a shorter EMA (e.g., 21) for more responsive signals or a longer EMA (e.g., 50) for smoother signals.
Choose EMA Cloud Resolution:
Select the EMA Cloud Resolution (timeframe) for the cloud calculation.
You can choose the same timeframe as the chart or a different timeframe (higher or lower) for multi-timeframe analysis.
Adjust Risk Management:
Set the Stop Loss (%) and Take Profit (%) levels according to your risk tolerance and trading goals.
For example, you might use a 1% stop loss and a 2% take profit for a 1:2 risk-reward ratio.
Enable Alerts:
Enable alerts to receive notifications for long entry signals.
Alerts can be configured to send notifications via email, SMS, or other preferred methods.
Monitor and Trade:
Monitor the chart for buy signals and execute trades accordingly.
Use the EMA cloud as a visual guide to confirm the trend direction before entering a trade.
Ideal For:
Trend-Following Traders: This strategy is perfect for traders who prefer to trade in the direction of the trend and capitalize on sustained price movements.
Long-Only Traders: If you prefer to focus exclusively on long positions, this strategy provides a clear and systematic approach to identifying bullish opportunities.
Multi-Timeframe Analysts: The adjustable EMA cloud resolution allows you to analyze trends across different timeframes, making it suitable for both short-term and long-term traders.
Risk-Averse Traders: The inclusion of stop loss and take profit levels helps manage risk and protect your capital.
Essa - Yearly High, Low & MidYearly High, Low & Midpoint Indicator
This TradingView indicator helps traders track key yearly price levels by plotting the high, low, and midpoint values for each year within a user-specified range.
Features & Functionality:
Automatic Yearly Calculation: Determines the highest and lowest price for each year and computes the midpoint as their average.
Clear & Customisable Visuals:
The Yearly High is plotted as a solid green line.
The Yearly Low appears as a solid red line.
The Midpoint is displayed as a blue dashed line for easy distinction
Detailed Labels:
Each level is labeled at the far right of the chart, showing the year, level type (High, Low, or Mid), and price (e.g., 2016 High - 1.20000).
Labels are right-aligned in white, ensuring clear visibility against any background.
This indicator is perfect for traders who rely on long-term technical analysis, providing a quick and structured way to visualise significant yearly price levels.
Nimu Market on Paper
Multi-Timeframe Analysis Tool is a powerful visual aid for identifying trends, reversals, and key price movements across multiple timeframes — particularly useful for intraday traders and those using technical analysis strategies
Timeframes & Data Collection:
The script tracks multiple timeframes (1m, 5m, 15m, 30m, 1H, 2H, 4H, 8H), storing their open, high, low, and close prices in arrays (trdh, trdc, trdo, trdl).
It uses request.security() to fetch these values for the current symbol and specified timeframes
.
User Inputs:
Base Timeframe: Chooses the primary timeframe for analysis.
Bar Count: Determines how many bars to display.
Border Thickness: Sets the visual thickness of box borders.
Colors: Configurable for bullish, bearish, background, and borders
Visual Elements:
Dynamic Boxes: Drawn using box.new(), these illustrate the range between high and low prices with the percentage change displayed inside.
Candlestick Plots: Rendered for each tracked timeframe using plotcandle(), colored according to bullish or bearish price action and styled based on timeframe scaling.
Regression Line: A linear regression line plotted over the selected timeframe’s close prices to capture trend direction.
Logic & Presentation:
Determines the right timeframe index based on user input (base).
Calculates percentage change from high to low and visualizes it with shaded boxes.
Automatically deletes older boxes to maintain clarity.
Customizes candle appearance based on timeframe granularity.
Time Box Breakout IndicatorPlots Boxes with breakout signals on whatever timeframe the user selects.
Allows for users to see higher timeframe ranges on lower timeframes.
Useful for scalpers taking advantage of momentum, combined with support and resistance on higher timeframes.
Aids in visualizing risk, ranges and trends.
Candle Close CountdownA simple indicator that counts down major candle closes.
This is especially useful if you're trading on low time frames but want to know when higher time frame candles close for volatility / reversal points.
It can also be useful to use it as a visual reminder to actually go check how a candle has closed.
- There are alerts for when a candle is going to close you can enable
- The text turns red 15% of the time BEFORE the candle closes
Daily separator, Open, HTF candlesScript Overview
This TradingView script is designed to enhance market structure analysis by providing a clear visual representation of key trading elements. It integrates multiple technical features that help traders assess price action, trend direction, and potential trade setups efficiently.
Main Features & Functionality
1. Daily Separator
• A vertical line is plotted to clearly mark the start of each trading day.
• Helps traders visually differentiate daily sessions, making it easier to analyze price action over different periods.
2. Exponential Moving Average (EMA) with EMA Continuity Table
• The script calculates an EMA of choice and displays whether the price is above or below it across five customizable timeframes.
• Use Case:
• Identifies if the price is in a retracement or a trend continuation phase.
• Helps determine trend strength—if price is consistently above the EMA across multiple timeframes, the trend is bullish; if below, it’s bearish.
• Aids in making trading decisions such as whether to go long or short.
3. Higher Timeframe (HTF) Candles
• Plots candles from a higher timeframe (HTF) onto the current chart.
• Use Case:
• Provides a macro view of price action while trading on a lower timeframe.
• Helps traders see if the price is interacting with HTF support/resistance levels.
• Useful for confirming entries/exits based on the HTF trend.
4. Opening Line
• Draws a daily opening price level, allowing traders to track price movement relative to the open.
• Use Case:
• Useful for intraday traders who analyze whether price is holding above or below the daily open.
• Helps in identifying key price behaviors, such as breakouts, fakeouts, or potential reversals.
Additional Considerations
• Customization: The script allows traders to adjust key parameters such as the EMA length, timeframes for EMA continuity, and HTF candle settings.
• Market Structure & Decision Making: By combining EMAs, HTF analysis, and the daily open, the script assists traders in determining whether price action aligns with their trade thesis.
• Potential Enhancements:
• Adding alerts for EMA crossovers or when price crosses the daily open.
• Incorporating color coding for the EMA table to improve readability.
Use Case Summary
This script is particularly beneficial for trend-following traders, intraday traders, and swing traders who want to:
1. Confirm market direction with EMA-based trend analysis.
2. Monitor HTF price action while trading on lower timeframes.
3. Track intraday price movement relative to the daily open.
4. Differentiate trading sessions for better structure analysis.
Date Display with Bar Counter and EMA===== ENGLISH DESCRIPTION =====
OVERVIEW:
This is a multi-function indicator that combines three useful tools in one script:
1. Date Display - Shows current date and symbol information in a customizable table
2. Bar Counter - Displays sequential bar numbers at specified intervals
3. EMA (Exponential Moving Average) - Plots an EMA line with customizable settings
FEATURES:
1. DATE DISPLAY:
- Shows date in full format (e.g., "Mon ∙ January 1, 2023") or short format (e.g., "Mon ∙ 01.01.23")
- Option to show/hide day of week
- Option to show/hide symbol and timeframe information
- Customizable table position (top/middle/bottom, left/center/right)
- Automatic color adjustment based on chart background
2. BAR COUNTER:
- Displays sequential bar numbers below price bars
- Customizable display frequency (every X bars)
- Special handling for Hong Kong futures (resets at market open)
- Different reset logic based on timeframe (daily, weekly, monthly)
- Customizable text size and color
3. EMA INDICATOR:
- Customizable period length (default: 20)
- Option to use different timeframe for calculation
- Option to wait for timeframe close for more stable signals
- Customizable line color
USAGE INSTRUCTIONS:
- After adding the indicator to your chart, customize settings in the "Format" panel
- The Date Display table will appear at your chosen position on the chart
- Bar numbers will appear below price bars at your specified frequency
- The EMA line will be plotted on the chart with your chosen settings
- Colors automatically adjust to light/dark chart themes
===== 中文说明 =====
概述:
这是一个多功能指标,将三个实用工具合并为一个脚本:
1. 日期显示 - 在可自定义的表格中显示当前日期和交易品种信息
2. K线计数器 - 按指定间隔显示K线序号
3. EMA指数移动平均线 - 绘制可自定义设置的EMA线
功能特点:
1. 日期显示:
- 支持完整格式(如"Mon ∙ January 1, 2023")或简短格式(如"Mon ∙ 01.01.23")
- 可选择显示/隐藏星期几
- 可选择显示/隐藏交易品种和时间周期信息
- 可自定义表格位置(顶部/中部/底部,左侧/中间/右侧)
- 根据图表背景自动调整颜色
2. K线计数器:
- 在价格K线下方显示序号
- 可自定义显示频率(每X根K线)
- 对香港期货有特殊处理(在开市时重置)
- 根据时间周期(日线、周线、月线)使用不同的重置逻辑
- 可自定义文字大小和颜色
3. EMA指标:
- 可自定义周期长度(默认:20)
- 可选择使用不同的时间周期进行计算
- 可选择等待时间周期结束以获得更稳定的信号
- 可自定义线条颜色
使用说明:
- 将指标添加到图表后,在"格式"面板中自定义设置
- 日期显示表格将出现在您选择的图表位置
- K线序号将按您指定的频率显示在价格K线下方
- EMA线将根据您选择的设置绘制在图表上
- 颜色会根据浅色/深色图表主题自动调整
*/
Order Blocks-[B.Balaei]Order Blocks -
**Description:**
The Order Blocks - indicator is a powerful tool designed to identify and visualize Order Blocks on your chart. Order Blocks are key levels where significant buying or selling activity has occurred, often acting as support or resistance zones. This indicator supports multiple timeframes (MTF), allowing you to analyze Order Blocks from higher timeframes directly on your current chart.
**Key Features:**
1. **Multi-Timeframe Support**: Choose any timeframe (e.g., Daily, Weekly) to display Order Blocks from higher timeframes.
2. **Customizable Sensitivity**: Adjust the sensitivity to detect more or fewer Order Blocks based on market conditions.
3. **Bullish & Bearish Order Blocks**: Clearly distinguishes between bullish (green) and bearish (red) Order Blocks.
4. **Alerts**: Get notified when price enters a Bullish or Bearish Order Block zone.
5. **Customizable Colors**: Personalize the appearance of Order Blocks to match your chart style.
**How to Use:**
1. Add the indicator to your chart.
2. Select your desired timeframe from the "Multi-Timeframe" settings.
3. Adjust the sensitivity and colors as needed.
4. Watch for Order Blocks to form and use them as potential support/resistance levels.
**Ideal For:**
- Swing traders and position traders looking for key levels.
- Traders who use multi-timeframe analysis.
- Anyone interested in understanding market structure through Order Blocks.
**Note:**
This indicator is for educational and informational purposes only. Always conduct your own analysis before making trading decisions.
**Enjoy trading with Order Blocks - !**
Price AltimeterThis indicator should help visualize the price, inspired by a Digital Altimeter in a Pilots HUD.
It's by default calibrated to Bitcoin, with the small levels showing every $100 and the larger levels setup to display on every $1000. But you can change this to whatever you want by changing the settings for: Small and Large Level Increments.
The default colors are grey, but can be changed to whatever you want, and there are two cause if you want they work as a gradient.
There are options to fade as the values go away from the current price action.
There are options for Forward and Backward Offsets, 0 is the current price and each value represents a candle on whatever time frame your currently on.
Other Options include the Fade Ratio, the Line Width and Style, which are all self explanatory.
Hope you Enjoy!
Backtest it in fast mode to see it in action a little better...
Known Issues:
For some reason it bug's out when either or are displaying more than 19 lines, unsure why so its limited to that for now.
Extra Note on what this may be useful for: I always wanted to make this, but didn't realize how to put things in front of the price action... Offset! Duh! Anyways, I thought of this one because I often it's hard on these charts to really get an idea for absolute price amounts across different time frames, this in an intuitive, at a glance way to see it because the regular price thing on the right always adds values between values when you zoom in and you can sometimes get lost figuring out the proportions of things.
Could also be useful for Scalping?
Weekly MA SuiteThe Weekly MA Suite is a multi-layered moving average indicator designed for traders and investors who analyze market trends across weekly and long-term timeframes. It combines three critical trend layers—short-term (1W EMA/VWMA), mid-term (30W EMA/VWMA), and long-term (200W HMA)—providing clear insights into market momentum, structure, and cycle trends.
This indicator is ideal for:
✅ Swing traders looking for weekly momentum shifts
✅ Position traders tracking multi-week to multi-month trends
✅ Long-term investors monitoring macro market cycles
Each layer has customizable colors, transparency, and visibility toggles, ensuring traders can tailor the indicator to their specific needs.
📊 Breakdown of Components
🔹 Short-Term Trend (1W EMA/VWMA Ribbon – Top Layer)
Purpose: Captures weekly momentum and volume dynamics
• 1W EMA (Exponential Moving Average) reacts quickly to price changes
• 1W VWMA (Volume-Weighted Moving Average) accounts for volume to confirm trend strength
• Ribbon fill highlights the divergence between price-based momentum (EMA) and volume-weighted trends (VWMA), making trend shifts easier to spot
Usage:
• If the 1W EMA is above the 1W VWMA, momentum is strong and price is trending higher with support from volume
• If the EMA crosses below the VWMA, it may indicate weakening trend strength or distribution
• A widening ribbon suggests increasing momentum, while a narrowing ribbon signals potential consolidation or reversal
🔸 Mid-Term Trend (30W EMA/VWMA Ribbon – Middle Layer)
Purpose: Provides insight into the broader market structure over multiple months
• 30W EMA represents the dominant trend direction over roughly half a year
• 30W VWMA smooths this trend while weighting price by trading volume
• Ribbon fill allows for a visual representation of how volume impacts trend direction
Usage:
• A bullish trend is confirmed when price remains above the 30W EMA, with the ribbon widening in an uptrend
• A bearish shift occurs when the 30W EMA crosses below the 30W VWMA, signaling weakening demand
• If the ribbon narrows or twists frequently, the market may be in a choppy, range-bound phase
🔻 Long-Term Trend (200W HMA – Background Layer)
Purpose: Identifies major market cycles and deep trend shifts
• The 200W Hull Moving Average (HMA) is a long-term smoothing tool that reduces lag while maintaining trend clarity
• Unlike traditional moving averages, the HMA reacts faster to trend changes without excessive noise
Usage:
• When price is above the 200W HMA, the broader trend remains bullish, even during short-term corrections
• A cross below the 200W HMA may indicate a macro downtrend or deep market cycle shift
• Long-term investors can use this as a dynamic support or resistance zone
🎯 How to Use the Weekly MA Suite for Trading
📅 Identifying Market Phases
• In strong uptrends, the 1W EMA and 30W EMA will be aligned above their VWMA counterparts, with price well above the 200W HMA
• In sideways markets, the ribbons will frequently narrow or cross, signaling indecision
• In bear markets, price will typically trade below the 30W EMA, with the 200W HMA acting as a long-term resistance
📈 Entry and Exit Strategies
• A bullish trade setup occurs when the 1W EMA crosses above the 1W VWMA while the 30W EMA holds above the 30W VWMA, confirming multi-timeframe momentum
• A bearish setup is confirmed when the 1W EMA crosses below the 1W VWMA and price is also trending below the 30W EMA
• The 200W HMA can be used as a trend filter—staying long when price is above it and avoiding longs when price is below
🚦 Customizing for Your Trading Style
• Scalpers can focus on the 1W ribbon for faster trend shifts
• Swing traders can use the 30W ribbon for trend-following entries and exits
• Long-term investors should watch price action relative to the 200W HMA for market cycle positioning
🔧 Final Thoughts
The Weekly MA Suite simplifies multi-timeframe analysis by layering key moving averages in an intuitive and structured format. By combining short, medium, and long-term trend indicators, traders can confidently navigate market conditions and improve decision-making. Whether trading weekly trends or monitoring multi-year cycles, this tool provides a clear visual framework to enhance market insights.
MTF Sentiment ProMTF Sentiment Pro - Advanced Multi-Timeframe Analysis
Purpose & Methodology
MTF Sentiment Pro provides traders with comprehensive market sentiment analysis across multiple timeframes. This indicator's unique innovation is its weighted scoring system that evaluates both technical indicators and volume metrics to determine market sentiment across customizable timeframes.
Unlike simple indicator overlays or basic multi-timeframe tools, this indicator:
1. Calculates sentiment using a proprietary weighted formula across 7 different timeframes
2. Incorporates volume confirmation to validate price movements (a critical element often overlooked)
3. Provides clear visualization of sentiment alignment between lower and higher timeframes
4. Uses majority-rule algorithms for overall sentiment determination (2/3 rule for LTF, 3/4 rule for HTF)
Technical Components & Integration
Each timeframe's sentiment score is derived from a combination of:
- **EMA**: Evaluates trend direction and price position relative to moving average
- **RSI**: Measures momentum with sensitivity to the 50-level for trend determination
- **MACD**: Assesses trend strength and momentum through histogram analysis
- **Bollinger Bands**: Determines price volatility and position relative to the mean
- **VWAP**: Provides volume-adjusted price reference
- **OBV**: Confirms price moves with cumulative volume analysis
What makes this combination powerful is how these components are integrated:
- Each indicator contributes a weighted value to the overall sentiment score
- User-definable weights allow customization based on strategy preferences
- Volume confirmation adds a critical dimension beyond basic price-only indicators
- Multi-timeframe analysis helps identify alignment/divergence across time horizons
Trading Applications & Limitations
This indicator works best for:
- Trend confirmation across multiple timeframes
- Identifying potential reversal zones where LTF and HTF sentiments diverge
- Entry/exit timing when paired with your primary strategy rules
- Market structure analysis across different time horizons
Note: While this indicator provides comprehensive sentiment analysis, it should be used as part of a complete trading strategy with proper risk management. No indicator can predict market movements with certainty.
Usage Instructions
1. Select appropriate timeframes for your trading style or use one of the included presets
2. Adjust indicator weights to match your analytical preferences
3. Look for timeframe alignment/divergence to identify potential opportunities
4. Use the overall LTF and HTF sentiment readings for broader market context
This indicator was developed to solve the challenge of efficiently analyzing sentiment across multiple timeframes while incorporating volume confirmation - something that would otherwise require multiple indicators and manual correlation.
is_strategyCorrection-Adaptive Trend Strategy (Open-Source)
Core Advantage: Designed specifically for the is_correction indicator, with full transparency and customization options.
Key Features:
Open-Source Code:
✅ Full access to the strategy logic – study how every trade signal is generated.
✅ Freedom to customize – modify entry/exit rules, risk parameters, or add new indicators.
✅ No black boxes – understand and trust every decision the strategy makes.
Built for is_correction:
Filters out false signals during market noise.
Works only in confirmed trends (is_correction = false).
Adaptable for Your Needs:
Change Take Profit/Stop Loss ratios directly in the code.
Add alerts, notifications, or integrate with other tools (e.g., Volume Profile).
For Developers/Traders:
Use the code as a template for your own strategies.
Test modifications risk-free on historical data.
How the Strategy Works:
Main Goal:
Automatically buys when the price starts rising and sells when it starts falling, but only during confirmed trends (ignoring temporary pullbacks).
What You See on the Chart:
📈 Up arrows ▼ (below the candle) = Buy signal.
📉 Down arrows ▲ (above the candle) = Sell signal.
Gray background = Market is in a correction (no trades).
Key Mechanics:
Buy Condition:
Price closes higher than the previous candle + is_correction confirms the main trend (not a pullback).
Example: Red candle → green candle → ▼ arrow → buy.
Sell Condition:
Price closes lower than the previous candle + is_correction confirms the trend (optional: turn off short-selling in settings).
Exit Rules:
Closes trades automatically at:
+0.5% profit (adjustable in settings).
-0.5% loss (adjustable).
Or if a reverse signal appears (e.g., sell signal after a buy).
User-Friendly Settings:
Sell – On (default: ON):
ON → Allows short-selling (selling when price falls).
OFF → Strategy only buys and closes positions.
Revers (default: OFF):
ON → Inverts signals (▼ = sell, ▲ = buy).
%Profit & %Loss:
Adjust these values (0-30%) to increase/decrease profit targets and risk.
Example Scenario:
Buy Signal:
Price rises for 3 days → green ▼ arrow → strategy buys.
Stop loss set 0.5% below entry price.
If price keeps rising → trade closes at +0.5% profit.
Correction Phase:
After a rally, price drops for 1 day → gray background → strategy ignores the drop (no action).
Stop Loss Trigger:
If price drops 0.5% from entry → trade closes automatically.
Key Features:
Correction Filter (is_correction):
Acts as a “noise filter” → avoids trades during temporary pullbacks.
Flexibility:
Disable short-selling, flip signals, or tweak profit/loss levels in seconds.
Transparency:
Open-source code → see exactly how every signal is generated (click “Source” in TradingView).
Tips for Beginners:
Test First:
Run the strategy on historical data (click the “Chart” icon in TradingView).
See how it performed in the past.
Customize It:
Increase %Profit to 2-3% for volatile assets like crypto.
Turn off Sell – On if short-selling confuses you.
Trust the Stop Loss:
Even if you think the price will rebound, the strategy will close at -0.5% to protect your capital.
Where to Find Settings:
Click the strategy name on the top-left of your chart → adjust sliders/toggles in the menu.
Русская Версия
Трендовая стратегия с открытым кодом
Главное преимущество: Полная прозрачность логики и адаптация под ваши нужды.
Особенности:
Открытый исходный код:
✅ Видите всю «кухню» стратегии – как формируются сигналы, когда открываются сделки.
✅ Меняйте правила – корректируйте тейк-профит, стоп-лосс или добавляйте новые условия.
✅ Никаких секретов – вы контролируете каждое правило.
Заточка под is_correction:
Игнорирует ложные сигналы в коррекциях.
Работает только в сильных трендах (is_correction = false).
Гибкая настройка:
Подстройте параметры под свой риск-менеджмент.
Добавьте свои индикаторы или условия для входа.
Для трейдеров и разработчиков:
Используйте код как основу для своих стратегий.
Тестируйте изменения на истории перед реальной торговлей.
Простыми словами:
Почему это удобно:
Открытый код = полный контроль. Вы можете:
Увидеть, как именно стратегия решает купить или продать.
Изменить правила закрытия сделок (например, поставить TP=2% вместо 1.5%).
Добавить новые условия (например, торговать только при высоком объёме).
Примеры кастомизации:
Новички: Меняйте только TP/SL в настройках (без кодинга).
Продвинутые: Добавьте RSI-фильтр, чтобы избегать перекупленности.
Разработчики: Встройте стратегию в свою торговую систему.
Как начать:
Скачайте код из TradingView.
Изучите логику в разделе strategy.entry/exit.
Меняйте параметры в блоке input.* (безопасно!).
Тестируйте изменения и оптимизируйте под свои цели.
Как работает стратегия:
Главная задача:
Автоматически покупает, когда цена начинает расти, и продаёт, когда падает. Но делает это «умно» — только когда рынок в основном тренде, а не во временном откате (коррекции).
Что видно на графике:
📈 Стрелки вверх ▼ (под свечой) — сигнал на покупку.
📉 Стрелки вниз ▲ (над свечой) — сигнал на продажу.
Серый фон — рынок в коррекции (не торгуем).
Как это работает:
Когда покупаем:
Если цена закрылась выше предыдущей и индикатор is_correction показывает «основной тренд» (не коррекция).
Пример: Была красная свеча → стала зелёная → появилась стрелка ▼ → покупаем.
Когда продаём:
Если цена закрылась ниже предыдущей и is_correction подтверждает тренд (опционально, можно отключить в настройках).
Когда закрываем сделку:
Автоматически при достижении:
+0.5% прибыли (можно изменить в настройках).
-0.5% убытка (можно изменить).
Или если появился противоположный сигнал (например, после покупки пришла стрелка продажи).
Настройки для чайников:
«Sell – On» (включено по умолчанию):
Если включено → стратегия будет продавать в шорт.
Если выключено → только покупки и закрытие позиций.
«Revers» (выключено по умолчанию):
Если включить → стратегия будет работать наоборот (стрелки ▼ = продажа, ▲ = покупка).
«%Profit» и «%Loss»:
Меняйте эти цифры (от 0 до 30), чтобы увеличить/уменьшить прибыль и риски.
Пример работы:
Сигнал на покупку:
Цена 3 дня растет → появляется зелёная стрелка ▼ → стратегия покупает.
Стоп-лосс ставится на 0.5% ниже цены входа.
Если цена продолжает расти → сделка закрывается при +0.5% прибыли.
Коррекция:
После роста цена падает на 1 день → фон становится серым → стратегия игнорирует это падение (не закрывает сделку).
Стоп-лосс:
Если цена упала на 0.5% от точки входа → сделка закрывается автоматически.
Важные особенности:
Фильтр коррекций (is_correction):
Это «защита от шума» — стратегия не реагирует на мелкие откаты, работая только в сильных трендах.
Гибкие настройки:
Можно запретить шорты, перевернуть сигналы или изменить уровни прибыли/убытка за 2 клика.
Прозрачность:
Весь код открыт → вы можете увидеть, как формируется каждый сигнал (меню «Исходник» в TradingView).
Советы для новичков:
Начните с теста:
Запустите стратегию на исторических данных (кнопка «Свеча» в окне TradingView).
Посмотрите, как она работала в прошлом.
Настройте под себя:
Увеличьте %Profit до 2-3%, если торгуете валюты.
Отключите «Sell – On», если не понимаете шорты.
Доверяйте стоп-лоссу:
Даже если кажется, что цена развернётся — стратегия закроет сделку при -0.5%, защитив ваш депозит.
Где найти настройки:
Кликните на название стратегии в верхнем левом углу графика → откроется меню с ползунками и переключателями.
Важно: Стратегия предоставляет «рыбу» – чтобы она стала «уловистой», адаптируйте её под свой стиль торговли!
Moving Average and Pearson LevelsMoving Average and Pearson Levels Indicator
This Pine Script indicator combines a customizable moving average (MA) with Pearson correlation analysis to provide traders with deeper insights into trends and key reference levels. It overlays a Pearson-adjusted moving average on price charts and highlights levels based on correlation for potential trading opportunities. With flexible parameters, it adapts to various trading styles.
Key Features
Pearson-Adjusted Moving Average
Combines a basic MA (SMA, EMA, WMA, or VWMA) with a Pearson correlation adjustment to reflect trend strength.
Adjustable: MA length, price source, smoothing, and line thickness.
Optional color changes based on trends (positive/negative).
Pearson Correlation Levels
Plots smoothed Pearson correlation with upper/lower thresholds to signal strong or weak trends.
Marks entry levels with price labels and dynamic colors when thresholds are crossed.
Customizable: Pearson length, smoothing, thresholds, and colors.
Reference Levels and Alerts
Optional dotted lines for upper, lower, and zero correlation thresholds.
Alerts for bullish MA signals (crossing the lower threshold) and bearish signals (crossing below the upper threshold).
How It Works
Moving Average: Calculates a standard moving average enhanced by a Pearson adjustment based on price trends over a given period.
Pearson Levels: Computes the strength of correlation, smoothed for better readability, and plots price lines at threshold crossings.
Visualization: Displays the MA and levels with trend-reactive colors and optional reference lines.
Usage
Ideal for traders who combine traditional MAs with statistical trend analysis.
Adjust the MA type and Pearson length for short-term or long-term strategies.
Use correlation levels for reversal signals or trend confirmation.
Customization Options
MA Parameters: Select the type, length, and smoothing of the MA; toggle visibility and color changes.
Pearson Levels: Adjust thresholds, line thickness, and label colors.
Display Options: Show/hide reference lines and the standard MA for comparison purposes.
Example Settings
MA Length: 20
Type: EMA
Pearson Length: 15
Thresholds: 0.7/-0.7
Colors: Positive (black), Negative (green), Levels (gray)
Notes
Optimize based on your preferred timeframe.
Adjust smoothing to balance responsiveness and clarity.
Try it out, customize it to your needs, and enhance your trading setup! Feedback and suggestions are welcome.
MTF Moving Averages (only EMA)MTF Moving Averages (only EMA)
This script provides a Multi-Timeframe (MTF) Exponential Moving Average (EMA) indicator for traders to visualize multiple EMAs across different timeframes directly on a single chart.
The indicator dynamically calculates and plots up to four EMAs per timeframe (15-minute, 30-minute, 1-hour, and Daily) with user-defined lengths, offering valuable insight into price trends and potential entry or exit points.
Key Features:
Multiple Timeframe Support: The script allows you to view EMAs from different timeframes simultaneously. This is especially useful for traders who follow trends across different timeframes to make more informed decisions.
Customizable Lengths: For each timeframe, the lengths of the EMAs are fully customizable. You can adjust the length of up to four EMAs per timeframe to suit your strategy.
EMA Calculation: The Exponential Moving Average (EMA) is used, which gives more weight to recent prices and reacts faster to price changes compared to the simple moving average (SMA).
Timeframe Flexibility: The indicator supports the following timeframes:
15-minute: Ideal for short-term traders and scalpers.
30-minute: For intraday trading with a slightly longer perspective.
1-hour: Suitable for swing traders and those who prefer a more medium-term view.
Daily: Great for longer-term trend-following strategies.
Interactive and User-Friendly: You can toggle the visibility of each EMA on each timeframe, allowing you to choose exactly which EMAs you wish to display, depending on your trading strategy.
Color-Coded for Clarity: The script uses distinct colors for each EMA on the chart:
Blue: EMA1
Green: EMA2
Red: EMA3
Purple: EMA4
Line Width Customization: Each plotted EMA line has a customizable width for better visual clarity.
Use Case:
Traders who use multiple timeframes for analysis (e.g., those using the "multi-timeframe analysis" technique) will find this script particularly useful. For example, a trader may look at the 15-minute chart to catch short-term movements, the 30-minute chart for intraday trends, the 1-hour chart for swing positions, and the Daily chart for identifying the overarching market trend. The script enables them to view the EMAs for all these timeframes in one glance without having to manually switch between them.
By observing the relationships between EMAs across multiple timeframes, traders can gain valuable insights into market conditions such as:
Crossovers: When a shorter-term EMA crosses above or below a longer-term EMA, it can signal a potential trend reversal or continuation.
Trend Strength: Multiple EMAs in alignment across different timeframes can indicate strong trend strength.
Support and Resistance: EMAs can act as dynamic support and resistance levels, guiding traders on price action levels to watch for potential price reversals.
Instructions:
Enable/Disable EMAs: Toggle on or off the EMAs for each timeframe (15-min, 30-min, 1-hour, Daily) using the script’s settings.
Adjust EMA Lengths: Change the default lengths for each EMA to match your preferred settings for different timeframes.
Monitor Key Levels: Watch how price interacts with the plotted EMAs to spot potential trading signals based on your strategy.
This indicator is designed to enhance your multi-timeframe analysis and help make more informed, data-driven trading decisions.